<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>PyTorch实践指南 - 系列 - mywebsite</title><link>https://steven-yl.github.io/mywebsite/series/pytorch%E5%AE%9E%E8%B7%B5%E6%8C%87%E5%8D%97/</link><description>PyTorch实践指南 - 系列 - mywebsite</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>steven@gmail.com (Steven)</managingEditor><webMaster>steven@gmail.com (Steven)</webMaster><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Fri, 03 Apr 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://steven-yl.github.io/mywebsite/series/pytorch%E5%AE%9E%E8%B7%B5%E6%8C%87%E5%8D%97/" rel="self" type="application/rss+xml"/><item><title>Pytorch Batch Size 与学习率缩放规则</title><link>https://steven-yl.github.io/mywebsite/batch_size_lr/</link><pubDate>Tue, 17 Mar 2026 00:00:00 +0800</pubDate><author><name>Steven</name><uri>https://github.com/steven-yl</uri></author><guid>https://steven-yl.github.io/mywebsite/batch_size_lr/</guid><description>详解分布式训练中 batch size 扩大时学习率的线性缩放、平方根缩放及线性+长 warmup 的推导依据与使用建议。</description></item><item><title>PyTorch 优化器原理</title><link>https://steven-yl.github.io/mywebsite/optim/</link><pubDate>Tue, 17 Mar 2026 00:00:00 +0800</pubDate><author><name>Steven</name><uri>https://github.com/steven-yl</uri></author><guid>https://steven-yl.github.io/mywebsite/optim/</guid><description>解析PyTorch 优化器原理、更新公式与偏差校正推导，并给出超参数建议与优缺点总结。</description></item><item><title>PyTorch 随机种子（Seed）全面解释</title><link>https://steven-yl.github.io/mywebsite/seed/</link><pubDate>Thu, 12 Mar 2026 00:00:00 +0800</pubDate><author><name>Steven</name><uri>https://github.com/steven-yl</uri></author><guid>https://steven-yl.github.io/mywebsite/seed/</guid><description>系统梳理随机种子的概念与 PyTorch 实践，包括 DataLoader worker、cuDNN、不确定性算子和常见陷阱，帮助你搭建可复现实验环境。</description></item><item><title>PyTorch lr曲线</title><link>https://steven-yl.github.io/mywebsite/lr_function/</link><pubDate>Tue, 24 Mar 2026 00:00:00 +0800</pubDate><author><name>Steven</name><uri>https://github.com/steven-yl</uri></author><guid>https://steven-yl.github.io/mywebsite/lr_function/</guid><description>lr曲线图</description></item><item><title>PyTorch 激活函数</title><link>https://steven-yl.github.io/mywebsite/active_function/</link><pubDate>Tue, 24 Mar 2026 00:00:00 +0800</pubDate><author><name>Steven</name><uri>https://github.com/steven-yl</uri></author><guid>https://steven-yl.github.io/mywebsite/active_function/</guid><description>本文汇总 Sigmoid、Tanh、ReLU、GELU、Swish 等激活函数，并提供分组图与总览图。</description></item><item><title>PyTorch 分布式训练与操作工具技术文档</title><link>https://steven-yl.github.io/mywebsite/distributed_training_guide/</link><pubDate>Thu, 12 Mar 2026 00:00:00 +0800</pubDate><author><name>Steven</name><uri>https://github.com/steven-yl</uri></author><guid>https://steven-yl.github.io/mywebsite/distributed_training_guide/</guid><description>从进程组初始化、DDP 封装、数据分片、集体通信到 Lightning 封装，全面讲解如何在单机多卡与多机多卡场景下正确使用 PyTorch 分布式训练。</description></item><item><title>PyTorch Dataset 体系技术文档</title><link>https://steven-yl.github.io/mywebsite/pytorch_dataset_guide/</link><pubDate>Thu, 12 Mar 2026 00:00:00 +0800</pubDate><author><name>Steven</name><uri>https://github.com/steven-yl</uri></author><guid>https://steven-yl.github.io/mywebsite/pytorch_dataset_guide/</guid><description>覆盖 map-style/IterableDataset、全部内置 Dataset 扩展、图数据与 HF datasets、典型项目扩展模式、padding 与 collate 职责划分，以及与 DataLoader 的衔接。</description></item><item><title>Pytorch 权重初始化方法</title><link>https://steven-yl.github.io/mywebsite/net_init/</link><pubDate>Thu, 12 Mar 2026 00:00:00 +0800</pubDate><author><name>Steven</name><uri>https://github.com/steven-yl</uri></author><guid>https://steven-yl.github.io/mywebsite/net_init/</guid><description>全面对比深度学习权重初始化方法的原理、公式推导、优缺点与适用场景，附 PyTorch 代码示例和 Transformer 架构初始化最佳实践。</description></item><item><title>PyTorch DataLoader 技术解读</title><link>https://steven-yl.github.io/mywebsite/dataloader_guide/</link><pubDate>Thu, 12 Mar 2026 00:00:00 +0800</pubDate><author><name>Steven</name><uri>https://github.com/steven-yl</uri></author><guid>https://steven-yl.github.io/mywebsite/dataloader_guide/</guid><description>从索引流、取样本、成 batch 三条线讲清 DataLoader 职责，涵盖 Sampler、collate_fn、num_workers、pin_memory 及与 Dataset 的衔接。</description></item><item><title>PyTorch 模型训练技术文档：求解器、参数配置与训练循环</title><link>https://steven-yl.github.io/mywebsite/training_solver_guide/</link><pubDate>Thu, 12 Mar 2026 00:00:00 +0800</pubDate><author><name>Steven</name><uri>https://github.com/steven-yl</uri></author><guid>https://steven-yl.github.io/mywebsite/training_solver_guide/</guid><description>从总览到各章节：Optimizer/SGD/Adam/AdamW 全解读、LRScheduler 族、param_groups、梯度累积与裁剪、损失选型及学习率与 batch 配置经验。</description></item></channel></rss>