Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

PyTorch

AI overview

Sign in and the AI will write an overview from our coverage.

Headlines · 114

  1. AWS walkthrough: training Qwen3 on Trainium with torchtitan

    An AWS Machine Learning Blog post walks through training Qwen3 on a single trn2.48xlarge Trainium instance using torchtitan, saying TorchNeuron registers Trainium as a native PyTorch device so torchtitan can use it through standard PyTorch interfaces. The post describes three configurations that share the same torchrun launch pattern and config structure: Hugging Face Transformers v5 as a modeling backend running Hub models through AutoModelForCausalLM with published safetensors, torchtitan's native Qwen3 selected by changing config.model_spec, and an NKI mixture-of-experts path using kernels from the torchtitan-neuron recipes attached via torchtitan's override registry. AWS says the setups support both pre-training from random initialization and fine-tuning published weights, and pins versions including torch 2.14.0, torch_neuronx 2.14.3, transformers 5.16.0 and torchtitan-neuron release-2.33.

    AWS Machine Learning Blog · 🔥 0
  2. TorchTitan Adds New Model Support, TitanRL and Scaling Improvements

    PyTorch reports that TorchTitan, a PyTorch-native platform for generative AI pretraining and post-training, now supports Muse Spark Open, Muse Glimmer, Qwen3-VL, Qwen3.5, Kimi K2.7, Kimi K3 and DeepSeek-V4 through full training-stack integrations. The update adds the TitanRL reinforcement-learning stack, asynchronous rollouts, FlexShard and Dist-MoE integrations, and distributed checkpointing improvements. PyTorch also reports internal benchmarks for these features, but the announcement is a single vendor source and does not provide an independent comparison with other training frameworks.

    PyTorch Blog · 🔥 0
  3. PyTorch adds FlyDSL backend support for AMD MI350 GPUs

    PyTorch Blog reports that AMD Instinct MI350-series GPU users can access FlyDSL kernels through existing PyTorch operator APIs. The backend covers dense and grouped GEMM, MXFP8 and MXFP4 scaled GEMM, attention, RMSNorm and TopK. GEMMs use the optional backend through torch.compile, eligible RMSNorm and TopK calls can dispatch automatically in eager mode, and unsupported inputs retain existing PyTorch implementations. FlyDSL attention kernels are included in AOTriton 0.14.2b or later. Official tests on MI355X reported a 1.10x geometric-mean speedup for the BF16 dense-GEMM suite, while end-to-end vLLM A/B tests reached whole-request speedups of 1.13x for BF16, 2.04x for MXFP8 and 3.01x for MXFP4. These results depend on the workload, model and concurrency, and were not independently verified in the supplied reports.

    PyTorch Blog · 🔥 0
  4. SGLang launches open-source PyTorch-native TPU serving backend

    SGLang launched SGLang-TorchTPU, an open-source native PyTorch backend that brings its serving stack to Google Cloud TPU while retaining the same core codebase used for GPUs. The project, developed by RadixArk’s SGLang team with Google and Meta, includes real-TPU CI tests and support for multiple language and diffusion models. SGLang and Meta personnel said the backend is running production inference at Meta, while Tom’s Hardware also reported the open-source release of a matching PyTorch-native vLLM version.

    LMSYS Blog · 🔥 0
  5. AMD and Intel unify PyTorch CPU acceleration through oneDNN

    AMD and Intel will consolidate their x86 CPU optimizations for PyTorch into the open-source oneDNN library, creating a single software path for AI inference across their processors. AMD is moving its downstream ZenDNN optimizations into oneDNN and joining the UXL Foundation as a steering member with a reported annual contribution of $20,000. Intel said the unified approach can also provide a route for future capabilities such as AI Compute Extensions, while Tom’s Hardware notes that oneDNN supports Arm and RISC-V as well as x86.

    Tom’s Hardware · 🔥 0
  6. Laplace 3B brings fixed-state linear attention to AWS Trainium2

    AWS Machine Learning Blog reports that i14 and AWS adapted the 3B-parameter Laplace 3B model to AWS Trainium2 using native PyTorch through TorchNeuron Native, preserving its Gated Linear Attention architecture and Muon optimizer. On one trn2.48xlarge instance, the implementation trained at about 120,000 tokens per second and served 11,544 output tokens per second across 1,280 concurrent sequences. The blog says the recurrent state remains 29.5 MB per sequence regardless of context length, while warning that fixed-state compression requires workload-specific retrieval-quality evaluation.

    AWS Machine Learning Blog · 🔥 0
  7. Nscale Joins PyTorch Foundation as Platinum Member

    Nscale has joined the PyTorch Foundation as a Platinum member, gaining a seat on the organization’s governing board. The AI cloud provider said it will continue investing in Ray following its planned acquisition of Anyscale and contribute to open-source infrastructure for distributed AI workloads.

    PyTorch Blog · 🔥 0
  8. PyTorch open-sources IBM Spyre Dataflow Scheduler v1

    According to the PyTorch Blog, version 1 of the open-source Dataflow Scheduler converts KTIR programs into dataflow pipelines and lowers them through DataflowIR into SpyreCode for IBM’s Spyre accelerator. It supports multi-core elementwise operations with broadcast and reduction dimensions and has been validated end to end on representative transformer operations. Matrix multiplication support and cost-model-driven performance optimization are still underway.

    PyTorch Blog · 🔥 0
  9. AWS open-sources TorchNeuron for one-line PyTorch migration to Trainium

    AWS released TorchNeuron on October 19, an open-source tool built on a native PyTorch backend that lets developers move PyTorch AI code from Nvidia GPUs to its own Trainium2 and Trainium3 chips by changing a single configuration line, according to 钛媒体. The tool is released under Apache 2.0 and entered public beta on October 20 at the PyTorch conference in San Jose; the report says the first version does not yet support features such as dynamic input shapes and skips roughly 22,000 PyTorch tests, while Nvidia still holds an 80% to 85% revenue share of the data center AI accelerator market. The report also says Amazon disclosed that Trainium and Graviton combined have surpassed a $25 billion annualized revenue run rate, and that Anthropic has trained and run Claude on more than one million Trainium2 chips.

    钛媒体 · 🔥 0
  10. Google and Meta Open-Source TorchTPU for PyTorch on TPUs

    Google and Meta’s PyTorch team released TorchTPU as an open-source native backend for running PyTorch workloads on Google Cloud TPUs. It supports standard PyTorch APIs, eager-mode debugging and torch.compile optimization, with integrations spanning Hugging Face Transformers and Diffusers, vLLM, SGLang, llm-d, TorchTitan and LiteRT. Google says its training setup was validated on up to 8,000 Ironwood TPUs and achieved as much as 52% model FLOPS utilization with Qwen3-8B; these figures are vendor claims.

    Hugging Face · 🔥 0
  11. PyTorch 2.15 MPS adds FP8 and faster LLM decoding on Macs

    Hugging Face's PyTorch team published a blog post on October 20, 2026 describing MPS improvements in PyTorch 2.15, including FP8 support with float8_e4m3fn storage and scaled matrix multiplication on the Mac backend. The team reports self-measured gains: MoE decoding 5–6.5× faster than 2.14, with Qwen3.6-35B-A3B rising from 9.4 to 61.3 tokens/s on an M3 Ultra, and Wan2.2 video VAE decode peak memory falling from 270 GiB to about 8 GiB. The post also says MPS now requires macOS 15 or later, PyTorch 2.15 requires Python 3.11 or later, and 2.16 will run attention entirely on Metal.

    Hugging Face · 🔥 0
  12. vLLM and SGLang launch native PyTorch backends for Google Cloud TPUs

    vLLM released vLLM TorchTPU, an out-of-tree platform plugin that lets vLLM run on Google Cloud TPUs, and Google said it also launched a native PyTorch backend for SGLang built with RadixArk. Both engines are built on Google's TorchTPU stack, reuse existing model definitions and keep upstream schedulers, KV cache managers and OpenAI-compatible servers, with TPU-specific Pallas kernels for attention, mixture-of-experts and quantized matmuls. Google says the engines are running in production with preview customers and cites SemiAnalysis InferenceX results including 2.01 cents per million tokens, while vLLM lists TPU v7x (Ironwood) as recommended hardware and v6e, v5e and v5p as experimental.

    vLLM Blog · 🔥 0
  13. Google open-sources TorchTPU, giving PyTorch a native TPU backend

    Google announced Tuesday that TorchTPU, its version of PyTorch for TPUs, is now available as an open-source project, adding a native torch.device("tpu") backend so existing PyTorch training scripts need only minimal device-initialization changes. Google and Meta co-developed TPU-native execution passes inside TorchTitan, and a TorchTitan TPU fork is published on GitHub; Google says it worked with Hugging Face, Inferact (vLLM) and RadixArk (SGLang) on tool compatibility. Google reports vendor benchmarks including about 57% MFU for Llama 3 405B from 128 to 1,024 TPU v7x chips and 32.42% MFU for Qwen3 235B on a single 1,024-chip slice, while Amazon released its own PyTorch variant, TorchNeuron, for Trainium and AWS a day earlier.

    Google Developers Blog · 🔥 0
  14. Amazon open-sources TorchNeuron, letting PyTorch code run on Trainium chips

    Amazon announced TorchNeuron, an open-source native PyTorch backend that lets PyTorch code run on its Trainium AI chips by changing a single device setting rather than rewriting the application, according to Amazon. The tool entered public beta on October 20 at the PyTorch Conference in San Jose under the Apache 2.0 licence, supporting Trainium2 and Trainium3. Amazon says the first release still has gaps — some PyTorch features such as dynamic input shapes are unsupported and around 22,000 PyTorch tests are skipped, per The Next Web's account of the PyTorch blog post — and AWS says it is working with the PyTorch community to remove code that ties the framework to specific chips.

    PyTorch Blog · 🔥 0
  15. k2-fsa releases OmniVoice, a zero-shot TTS model claiming 600+ languages

    The GitHub project k2-fsa/OmniVoice surfaced on GitHub Trending, describing itself as a massively multilingual zero-shot text-to-speech model covering more than 600 languages. According to its README, it uses a "diffusion language model-style" architecture and supports voice cloning plus voice design via speaker attributes such as gender, age, pitch, accent, dialect and whisper, along with inline tags like [laughter] and pinyin or phoneme pronunciation correction. The project also reports self-measured figures, including an RTF as low as 0.025 (about 40x faster than real time) and FlashInfer speedups over baseline on a single H100; these numbers are vendor-reported and no independent evaluation is cited.

    GitHub Trending · Python · 🔥 0
  16. Rust framework DenseCore claims bit-exact PyTorch match on nanoGPT

    A computer science student posted on r/MachineLearning about DenseCore, a small Rust deep learning framework with a PyTorch-like Python API that is roughly 2 MB versus about 580 MB for PyTorch. The author says that running Karpathy's nanoGPT unchanged against it produces identical initial weights from manual_seed, loss, gradients and updated weights bit for bit across all 50 tested steps, including with dropout enabled. Getting there required matching undocumented PyTorch behaviour such as the CPU flash attention kernel and its dropout path, rounding differences in Adam's tail loop, and clip_grad_norm_ using a reciprocal multiply; the match currently holds only on Apple Silicon Macs.

    r/MachineLearning · 🔥 0
  17. PyTorch's Zephon brings elastically deterministic data loading to TorchTitan

    A PyTorch blog post introduces Zephon, a data loader for TorchTitan that aims to produce identical global batches even when the number of GPUs changes. In experiments training a 1B-parameter model from scratch on 20B tokens across 8 to 64 GPUs, a standard loader let DCLM Core v1 scores vary by up to 0.82 points and FineWeb scores by 0.64 points — roughly four times the thresholds those benchmarks' authors used — while Zephon's spread was 0.05 and 0.011 points respectively. Zephon tokenizes, packs, shuffles and mixes data on the fly inside the training job, using lanes, single-threaded accumulators and periodic flush sentinels to reproduce state, with checkpoints of a few MiB that can be resumed on a different number of data-parallel ranks; the authors say it keeps pace with Google Grain on a vision-language pipeline.

    PyTorch Blog · 🔥 0
  18. ExecuTorch adds Cortex-M backend for PyTorch on Arm MCUs

    The PyTorch Blog announced that ExecuTorch's Cortex-M backend is available in the repository, letting PyTorch models run directly on Arm Cortex-M CPUs with Arm CMSIS-NN acceleration instead of being converted to another framework format. The backend selects the CMSIS-NN path at compile time for CPU variants from M0 to M85 and supports Scalar, DSP and MVE/Helium tiers, and it can run alongside Ethos-U NPU delegation, with non-delegated operations falling back to CPU kernels inside the same graph. The authors report benchmarking four of the five MLPerf Tiny models on the Alif Ensemble E8, each running in 21.5 ms or less and using under 90 KiB of RAM on a single Cortex-M55 core, with a core runtime under 20 KiB of flash; these figures are the project's own claims and were not independently verified.

    PyTorch Blog · 🔥 0
  19. Sipeed unveils 128GB MaixStation local-AI workstation

    Sipeed announced the MaixStation, a local-AI workstation built around Axera’s 16-core AX8860P and offered with 128GB of LPDDR5X across a 256-bit bus. Sipeed claims 273 GB/s of memory bandwidth, a 256-TOPS native-FP4 NPU, and an expected price of about $3,999 for the 128GB model. It says published Qwen tests outperform the Nvidia DGX Spark by roughly 10%, while another claimed run reports 25% faster prefill and 30% faster decode; these vendor results have not been independently validated, and the NPU toolchain and Kickstarter shipping remain pending.

    Tom’s Hardware · 🔥 0
  20. Why more domestic Chinese GPUs doesn't mean more usable compute

    InfoQ China's AI & LLM channel published an interview with Chen Wei, an early team member at Jiliu Technology, tracing how China's domestic compute challenge has shifted from simply obtaining accelerators to running them at scale: as chip models multiply, operators, collective-communication libraries, memory management and monitoring tools all need re-tuning, and matching an interface does not mean production-grade performance. Jiliu Technology, founded in February 2023, started with RoCE networking and then collective communication, releasing its VenusCL component; Chen says the library adds roughly 2%–6% MFU on top of customers' already-tuned thousand-GPU clusters, work that took nearly a year. The report also says the company's VenusNOC Megatrace feature located a single faulty GPU inside a roughly 3,800-accelerator training cluster, after which training ran stably, and it discusses scheduling and ecosystem friction when chips from multiple vendors and generations coexist.

    InfoQ 中文 AI&大模型 · 🔥 0
  21. IBM Spyre's torch.compile backend moves to PyTorch Inductor

    A PyTorch Blog post says torch-spyre, the PyTorch stack for IBM's Spyre accelerator, moved its torch.compile backend from sendnn — a compilation stack built from scratch — to backend=inductor, an open-source backend built by extending PyTorch's own Inductor. It says most of Inductor carried over untouched, with work concentrated where Spyre diverges from GPU assumptions: 128-byte stick-granularity data movement, a scratchpad-only hierarchy of 2 MB per core with no shared cache, and static core allocation. The authors say the resulting compiler is roughly 7x smaller than what it replaced, and cite a 27% drop in median kernel time for a single-core softmax and 29–69% kernel-time cuts from matmul tiling and layout.

    PyTorch Blog · 🔥 0
  22. Paper shows AI models can provably hide arbitrary capabilities in weights

    An arXiv paper accepted at NeurIPS 2026 (arXiv:2610.13928, authored by Andis Draguns and colleagues) argues that capability evaluations rest on the assumption that hidden capabilities can be elicited, and that this assumption fails under adversarial conditions. The authors embed encrypted neural networks inside a host model's weights using digital lockers, decrypting and executing them only on a secret trigger, and say the hidden circuits remain provably hard to elicit or interpret under cryptographic assumptions even with full access to the weights. They built the proof of concept in PyTorch and tested elicitation via fine-tuning, weight noising, gradient-based trigger search and latent adversarial training on a small chemical reaction prediction task used as a proxy for CBRN-relevant capabilities, reporting resistance to those methods; they say they released the models to support defense research.

    Hacker News · AI(100+ 分) · 🔥 0
  23. Hugging Face Transformers tops GitHub Trending

    Hugging Face's Transformers library appeared on GitHub Trending's daily list. The project positions itself as the model-definition framework for state-of-the-art text, vision, audio, video and multimodal models, for both inference and training, and its documentation says there are over 1M Transformers model checkpoints on the Hugging Face Hub. It says the library interoperates with training frameworks such as Axolotl, Unsloth, DeepSpeed, FSDP and PyTorch-Lightning, and with inference engines and modeling libraries including vLLM, SGLang, TGI, llama.cpp and mlx, and requires Python 3.10+ and PyTorch 2.6+.

    GitHub Trending(每日) · 🔥 0
  24. torch-spyre brings IBM Spyre in as a native PyTorch device

    IBM's torch-spyre team published a PyTorch blog post describing how it made Spyre, IBM's dataflow AI accelerator for inference, a native PyTorch device. The integration uses PrivateUse1 registration to give Spyre a device identity named "spyre", then maps PyTorch's allocator, stream, event and Inductor compiler abstractions onto Spyre runtime constraints such as ordered queues of typed operations, separate compute and data-movement pipelines, and ahead-of-time compiled programs with fixed layouts. IBM says this gives one path for eager and compiled execution, keeps tensors resident on device="spyre", and cuts launch overhead; no performance or benchmark figures are given, and the source text is truncated near the end.

    PyTorch Blog · 🔥 0

← Previous

Experience and discussion from the community

Share my PyTorch experienceAsk about PyTorch

torchtitan: A PyTorch-native platform for pretraining and post-training generative AI models at scale.

What problem it solves Training generative AI models at scale requires coordinating multiple parallelism strategies while supporting pretraining, fine-tuning, and reinforcement learning in one codebase. Large-scale training also needs reproducible configurations, checkpointing, debugging tools, and observability that can be adapted for research and model development. Key features Composable model …

github.comhttps://github.com/pytorch/torchtitan

openvino: An open-source software toolkit for optimizing and deploying deep learning models.

What problem it solves Teams deploying AI inference need to optimize models, reduce resource demands, and run them across different frameworks and hardware platforms. The toolkit addresses model conversion, compilation, and inference workflows for applications ranging from computer vision and speech recognition to generative AI and language models. Key features Inference optimization — Optimize de…

github.comhttps://github.com/openvinotoolkit/openvino

minimind: An open-source project for training a small language model from scratch and understanding its complete training pipeline.

What problem it solves Large language models can be difficult for individuals to train, deploy, or understand because of their scale and the abstractions used by many frameworks. The project addresses this by providing native PyTorch implementations, compact model structures, open datasets, and staged workflows for pretraining, fine-tuning, preference optimization, tool use, and agentic training. …

github.comhttps://github.com/jingyaogong/minimind

VieNeu-TTS: An on-device Vietnamese text-to-speech system with instant voice cloning.

What problem it solves Developers need Vietnamese speech synthesis that can run locally, produce natural reading styles, and support voice cloning without sending audio to a hosted service. They also need integration paths for SDK use, streaming applications, and an OpenAI-compatible API. Key features Instant voice cloning — Clone a voice from a short reference recording. The clipping pipeline aut…

github.comhttps://github.com/pnnbao97/VieNeu-TTS

kornia: A differentiable computer vision library for image processing and geometric vision in PyTorch workflows.

What problem it solves AI workflows need image-processing and geometric-vision routines that integrate with PyTorch while preserving differentiability. Hand-written implementations can become long or fragile, while implementations that leave the GPU can limit batched workflows. Key features Differentiable image processing — The library provides image-processing operators for filters, transformatio…

github.comhttps://github.com/kornia/kornia

timesfm: A pretrained time-series foundation model for time-series forecasting.

What problem it solves Time-series forecasting requires models that can forecast univariate and multivariate series across different context lengths. Forecasters also need to incorporate optional covariates and produce quantile forecasts without requiring per-task tuning. Key features Univariate and multivariate forecasting — Forecast individual time series or multiple target variates from NumPy a…

github.comhttps://github.com/google-research/timesfm

Model-Optimizer: A library for composing model optimization techniques and exporting optimized quantized checkpoints.

What problem it solves Deep learning models often need to be adapted for efficient deployment across different inference frameworks. Model Optimizer addresses this by providing a unified set of optimization techniques and export workflows for quantized checkpoints. Key features Post-training quantization — Compress models with quantization techniques available for Hugging Face, Megatron-Bridge, Di…

github.comhttps://github.com/NVIDIA/Model-Optimizer

TensorRT-LLM: An open-source library for optimizing LLM and Visual Gen inference on NVIDIA GPUs.

What problem it solves LLM and Visual Gen inference requires specialized kernels, efficient runtime orchestration, and flexible deployment across NVIDIA GPU configurations. Developers also need a modular framework that supports customization while integrating with established inference tooling. Key features Optimized inference kernels — Custom kernels accelerate common inference operations, includ…

github.comhttps://github.com/NVIDIA/TensorRT-LLM

annotated_deep_learning_paper_implementations: Annotated PyTorch implementations and tutorials for understanding deep learning algorithms.

What problem it solves This project provides simple PyTorch implementations of neural networks and related algorithms. These implementations are documented with explanations and rendered as side-by-side formatted notes to help readers understand the algorithms better. Key features PyTorch Implementations — The project provides implementations of neural networks and related algorithms using PyTorch…

github.comhttps://github.com/labmlai/annotated_deep_learning_paper_implementations