#PyTorch

200 stories · 10 in 7 days · 54 in 30 days
Stories, products and papers tagged "PyTorch", newest first.
Nov 24
PapersBuildersSelected14:40
ArXiv Paper Finds Widespread Errors in PyTorch KL Divergence

The practical implication is that years of clamping negative KL values in PyTorch hid a silent accuracy bug that distorts distillation, model merging, and interpretability measurements rather than merely producing odd numbers. Engineers doing distillation, quantization calibration, or circuit analysis should audit their pipelines against the paper's stable decompositions. The GPT-2 edge-score result shows interpretability research is directly affected. Code and data are open on GitHub for immediate drop-in verification.

arXiv cs.LG@Zhen Yang et al. (7)Source
Chinese contentprobly:一个 Python 包统一不确定性机器学习工具链

做 ML 部署的朋友注意,uncertainty 这块以前要翻好几个库拼工具,现在 probly 一个包搞定,PyTorch、sklearn、Flax 的模型都能直接转换。论文里还带 selective prediction 和 OOD 检测的基准,做可靠性评估或主动学习的话直接翻 GitHub 代码就能上手。

arXiv cs.LG@Paul Hofman et al. (10)Source
ProductsBuildersSelected02:17
TorchNeuron brings native PyTorch to AWS Trainium

The non-obvious takeaway is that PyTorch's PrivateUse1 and torch.accelerator extension points have matured enough for production-grade custom silicon support, making vendor-specific forks largely unnecessary. ML engineers and platform teams evaluating AWS Trainium for cost-sensitive training can now port existing PyTorch codebases with minimal changes rather than maintaining separate stacks. Compared with NVIDIA CUDA-centric workflows, this narrows the practical gap for second-source accelerator adoption, which matters for teams building in cost-sensitive Southeast Asian markets.

Official accountPyTorch@PyTorchSource
Chinese contentPyTorch Foundation 公布四名新任社区大使

PyTorch 官方介绍了四位新大使,分别来自英国、土耳其、印度和西班牙,负责在各地社区教学和布道。想给 PyTorch 文档或生态做贡献的人可以照着这条路径起步,从提交文档到成为社区负责人都有先例可参考。

Official accountPyTorch@PyTorchSource
Nov 20
Chinese contentLoongForge-Embodied 发布:统一框架加速异构具身模型训练

训练 VLA 模型太贵、各家训练栈互不通用,这篇论文给了一套 PyTorch 原生解决方案,训练吞吐最高提 4.38 倍,评测快 23 倍,还带机器人数据合成流水线。做具身智能或机器人方向的同学可以直接看它的抽象层设计和 FP8 通信优化怎么落地。

arXiv cs.AI@ LoongForge TeamSource
Nov 19
Chinese contentOpen Nexus China 大会落地上海:AGNTSummit、KubeCon + CloudNativeCon 与 PyTorchCon 同场举办

云原生和 AI 两大社区首次在中国合办一场大会,2027 年 5 月 12-13 日在上海,一次能听完 KubeCon、PyTorchCon 和 Agentic AI 的分享。做国内开发的朋友现在就可以准备议题,1 月 10 日截止投稿,日程值得提前排期。

Official accountPyTorch@PyTorchSource
Chinese contentPyTorch 基金会公布 2026 年大使名单:4 人来自埃及、新加坡、肯尼亚

PyTorch 官方公布了 2026 年大使名单,4 个人分别来自埃及、新加坡和肯尼亚,负责教学和带新人进开源生态。做社区运营或想找地区技术资源的开发者可以关注,名单里有 APAC 的人选。

Official accountPyTorch@PyTorchSource
How-toBuildersSelected01:26
Chris Lattner Explains MAX and Mojo for PyTorch Chip Support

The non-obvious point is that Qualcomm is backing an open shared-stack approach to AI accelerators, echoing how LLVM standardised compiler support across vendors. Engineers evaluating non-GPU accelerators and chip vendors building toolchains should watch the keynote to judge whether MAX and Mojo can replace in-house stack development. Compared with vendor-specific SDKs like CUDA, the pitch targets portability across PyTorch deployments.

Official accountPyTorch@PyTorchSource
Nov 18
How-toBuildersSelected00:47
PyTorch Day Japan 2026 Set for 10 December in Tokyo

The agenda reveals where the PyTorch ecosystem is investing next: edge accelerators beyond GPUs, unified kernel tooling, and community training optimizations rather than headline model launches. Engineers deploying inference on constrained hardware in Japan and ASEAN manufacturing supply chains will find the ExecuTorch porting playbook directly applicable. Teams evaluating DeepSpeed or Hugging Face kernels for large-scale training can use the talks to compare optimization approaches before committing.

Official accountPyTorch@PyTorchSource
Nov 17
How-toBuildersSelected00:12
Sebastian Raschka calls for a modular LLM building-block API

The practical gap here is interoperability, not capability: open-source architecture variants already exist but are locked into incompatible codebases. Researchers running ablations, engineers evaluating architectures like Mamba2 versus attention, and labs publishing open-weight models would all gain from standardised, swappable components. Existing libraries such as Megatron Core and OLMo-core cover their own model families, so cross-family comparison still means manual porting today.

Official accountSebastian Raschka@rasbtSource
Nov 16
Nov 14
Chinese contentSoumith Chintala 分享团队 NVFP4 训练详细技术文章

PyTorch 之父 Soumith Chintala 亲自推荐的低精度训练文章,讲的是用 NVIDIA 的 4 位浮点格式训练模型。比 FP8 更激进,做训练优化、关心显存和成本的同学可以看看,对部署大模型的团队有直接参考价值。

Official accountSoumith Chintala (PyTorch)@soumithchintalaSource
Chinese contentPyTorch 基金会公布 2026 年度大使名单,覆盖亚美尼亚、菲律宾、埃及、罗马尼亚

PyTorch 基金会新一届大使名单公布了,4 位来自亚美尼亚、菲律宾、埃及和罗马尼亚。菲律宾那位要在马尼拉每月办线下活动,东南亚的开发者可以关注一下能不能蹭到这些本地社区资源。

Official accountPyTorch@PyTorchSource
Nov 13
Chinese contentFLEX-LBP:用反向传播学习局部二值模式参数,纹理分类更准

手工调 LBP 参数这事儿终于可以交给梯度了。FLEX-LBP 只学 90 个参数,推理开销不变,精度却超过 ResNet-50 特征和一堆经典 LBP 变体,做工业检测或医学图像分析的朋友可以直接拿 PyTorch 层来用。

arXiv cs.LG@Mohamed Alimoussa, Amal El KaidSource
ProductsBuildersSelected01:07
Helion compile-time heuristics beat handwritten Triton kernels

Compile-time kernel selection removes one of the biggest practical barriers to adopting Triton beyond a handful of expert engineers: the tuning sweep that precedes every deployment. Inference and serving teams on H100 hardware can swap handwritten reduction and attention kernels for Helion-generated ones and see gains, not just parity, against vLLM's baseline. The 27% margin over production CUDA code is the concrete comparison that should push platform teams to benchmark Helion on their own workloads.

Official accountPyTorch@PyTorchSource
ProductsBuildersSelected00:51
AI Agents Help Integrate SGLang with IBM Spyre in a Week

The notable point is the integration velocity: a 1,500-line plugin plus AI coding agents replaced what is typically a multi-month porting effort. Teams evaluating non-GPU accelerators for LLM inference can now consider IBM Spyre as a drop-in option with vLLM-parity performance. Engineering leaders building serving infrastructure should watch how plugin-based hardware abstraction in SGLang lowers the cost of supporting new silicon.

Official accountPyTorch@PyTorchSource
ModelsBuildersSelected00:50
Domyn trains 1T-parameter MoE on EuroHPC Jupiter using PyTorch

The non-obvious takeaway is that per-GPU throughput gains of this magnitude came from software stack optimisation, not hardware changes, and were upstreamed to PyTorch and TorchTitan for anyone to reuse. Teams training large MoE models on GH200 clusters should review the upstream contributions for immediate throughput wins. European companies and labs with EuroHPC access now have a demonstrated open-source path to trillion-parameter training.

Official accountPyTorch@PyTorchSource
Nov 12
IndustryBuildersSelected12:15
PyTorch Foundation maps Chinese contributions to vLLM and Ascend

The non-obvious signal is that Huawei's Ascend stack is becoming mainstream upstream rather than a parallel ecosystem, lowering the risk of betting on Chinese silicon for inference and training. Framework maintainers and infra teams evaluating Ascend as a CUDA alternative should track TorchNPU and vLLM merge activity as their health metric. The OpenRouter token-share figure also gives a concrete data point for anyone benchmarking open-weight model adoption against US-hosted models.

Official accountPyTorch@PyTorchSource
Chinese contentPyTorch Day Japan 2026 定档 12 月 10 日东京举办

PyTorch 官方要来东京办活动了,12 月 10 日,免费报名就能去。如果你在日本做 AI 开发或者用 PyTorch 部署模型,这种活动一般能听到框架路线图和一线企业的落地经验,比看文档直观。名额通常先到先得,感兴趣可以早点注册。

Official accountPyTorch@PyTorchSource
How-toBuildersOfficial07:33
Chinese content在 Amazon SageMaker HyperPod 上检测与恢复静默数据损坏

大规模训练最怕的不报错的 GPU 静默故障,这篇 AWS 博客直接给你三段能塞进 PyTorch DDP 循环的检测代码,还能自动定位坏节点并触发 HyperPod 替换。跑多节点训练的工程师建议照着改一下自己的训练脚本。

Primary sourceAWS Machine Learning Blog@Siddharth SengerSource
How-toBuildersSelected04:00
PyTorch Maintainers Show Single-GPU Testing for Distributed Training

The non-obvious point is that most distributed-training failures can be caught on a single GPU with stubbed communication and static SPMD checks, saving cluster hours. Engineers preparing large PyTorch runs, or teams with limited GPU access, can apply the fake process group pattern directly. The same keynote also introduces torch_remat and FlexShard, worth tracking for memory-efficiency workloads.

Official accountPyTorch@PyTorchSource
ProductsBuildersSelected01:31
ExecuTorch WebGPU runs PyTorch models in the browser

Removing the conversion step means the standard PyTorch export path now covers browser deployment, which collapses a tooling gap for teams shipping web-based AI demos and privacy-sensitive inference. Developers building in-browser assistants, image editors or audio tools can test it today via the WebGPU Playground. It gives web apps an alternative to server-side APIs from OpenAI or Google, with no data leaving the tab.

Official accountPyTorch@PyTorchSource
Nov 11
Chinese contentTorchCurves 发布:把参数化曲线变成 PyTorch 可学习单元

如果你在玩 KAN 或者函数回归,这个库挺有意思:曲线参数可以直接放进训练循环里一起优化,不用自己写 B 样条求值。作者还拿 EfficientKAN 做了性能对比,什么时候开销大会吃亏都说清楚了,写 PyTorch 自定义层的可以参考实现思路。

arXiv cs.LG@Alex ShtoffSource
Chinese contentExecuTorch 推出 WebGPU 后端,PyTorch 模型可在浏览器 GPU 上直接运行

在浏览器里跑 PyTorch 模型不用再转 ONNX 或 TFJS 了,导出一个 .pte 文件就能在 Chrome 和 Safari 的 GPU 上跑 Llama 3.2、Whisper 这些模型,还能在本地做 LoRA 微调。做 Web 端推理或关注隐私部署的开发者应该试试官方的 Playground。

Official accountPyTorch@PyTorchSource
How-toBuildersSelected01:14
vLLM Adopts PyTorch LibTorch Stable ABI to Cut Rebuilds

The change removes a recurring pain point: version lockstep between inference engines and the PyTorch runtime. Platform engineers and ML infrastructure teams deploying vLLM can now mix torch versions with less risk, accelerating security and performance updates. Distributors and package maintainers benefit most, since rebuild effort drops sharply across release cycles.

Official accountvLLM@vllm_projectSource
ModelsBuildersSelected01:02
Muse Spark Open Hits 433 tok/s Per User on TPU v7 Megakernel

The notable part is that a 816B MoE model now runs end-to-end as one Pallas program on a single TPU host through SGLang and TorchTPU, not through a closed inference stack. Teams building long-context agent products should study the deep dive for fp8 KV and session-aware cache strategies they can replicate. Compared with CUDA-only megakernel efforts, this demonstrates the PyTorch-to-TPU path has matured enough for production serving.

Official accountPyTorch@PyTorchSource
Chinese contentPyTorch 基金会公布 2026 年大使名单,首批 4 人来自刚果、尼日利亚和美国

PyTorch 基金会公布 2026 年大使名单,首批 4 人里两位来自非洲,主打把 PyTorch 推广给欠发达地区的学生和研究者,还有专门帮工程师做生产级部署的方向。平时靠 PyTorch 教程入门的同学,之后可能会刷到这些大使的产出。

Official accountPyTorch@PyTorchSource
How-toBuildersSelected00:31
PyTorch proposes LibTorch Stable ABI for vLLM compatibility

A stable ABI shifts the coupling point between PyTorch and compiled inference stacks, meaning binary wheels could survive PyTorch upgrades without coordinated rebuilds. Teams packaging vLLM, TensorRT-style backends, or custom C++ extensions would spend less time maintaining per-version builds. Platform and MLOps engineers managing PyTorch version rollout in production clusters are the main audience.

Official accountPyTorch@PyTorchSource
Nov 10
ProductsBuildersSelected02:31
Google expands 8th-generation TPU lineup with TPU 8i Max and 8tx

The real signal here is cadence: four systems in one generation within twelve months signals a shift from fixed silicon cycles to model-driven hardware iteration, compressing the usual ASIC refresh timeline. Teams evaluating inference infrastructure should compare TPU 8i Max against GPU-based serving for long-context workloads, and TPU 8tx against confidential-computing offerings from cloud rivals. PyTorch and Hugging Face developers can now port existing models to TPUs without rewrites via TorchTPU, making a pilot deployment practical rather than a major engineering project.

Sundar Pichai@sundarpichaiSource
Nov 9
Nov 7
Nov 6
How-toBuildersSelected01:02
NVIDIA shows grouped execution for MoE optimization in PyTorch

The non-obvious point is that the bottleneck in MoE training is often kernel launch overhead from Python-level expert loops, not the expert math itself. Engineers training MoE models in PyTorch can apply grouped execution to cut that overhead without restructuring their expert weights. The worked example uses biological foundation models, a niche domain where sparse expert routing is common.

Official accountPyTorch@PyTorchSource