AI Coding Live News

AWS announces TorchNeuron: PyTorch runs natively on Trainium, open-sourcing under Apache 2.0 on October 20

On October 19 Amazon announced TorchNeuron, which uses PyTorch's standard PrivateUse1 device-backend mechanism to register Trainium as a native "neuron" device, with eager mode, torch.compile and native distributed APIs such as FSDP, DTensor and DDP on Trn2 and Trn3. Amazon says existing PyTorch code runs with a single device configuration change, and it will be open-sourced under Apache 2.0 at PyTorch Conference North America on October 20. The official docs still list it as a closed beta for now.

AWS announces TorchNeuron: PyTorch runs natively on Trainium, open-sourcing under Apache 2.0 on October 20

Key Takeaways

  • Open-source release: October 20 at PyTorch Conference North America, Apache 2.0 license (per Amazon).
  • Hardware: Trainium2 and Trainium3; registers as the neuron device via PrivateUse1, with eager mode and torch.compile(backend="neuron").
  • Migration: Amazon markets it as one configuration change with no rewrite; the docs list .to("cuda") to .to("neuron") as the minimum, and tensor parallelism also needs sharding set by NeuronCore count.
  • PyTorch 2.9 is the last PyTorch/XLA-based release; from PyTorch 2.10 Neuron moves to TorchNeuron, so older scripts need updates.
  • Quality and ecosystem: Amazon says every build is tested against hundreds of thousands of models, TorchTitan is integrated and Hugging Face tools support Trainium natively; no performance benchmarks were published.
Read full story

Ai2 ships Olmo-core 3: open trillion-scale MoE training stack; 858 TFLOP/s/GPU at 1.2T on B300

On 2026-10-01 Ai2 released Olmo-core 3, an open MoE training stack (GitHub, PyPI ai2-olmo-core). It moves from FSDP to DDP + expert parallelism; on 8×B300 a 47B MoE hits ~2.7× throughput (52k vs 19.4k tok/s/GPU). Systems benches include 1.2T on 512 GPUs at up to 858 useful-model TFLOP/s/GPU and a DeepEP v2 capacity probe at 2.38T. Report: olmocore3.

Ai2 ships Olmo-core 3: open trillion-scale MoE training stack; 858 TFLOP/s/GPU at 1.2T on B300

Key Takeaways

  • Announced 2026-10-01: allenai.org/blog/olmocore3 + HF mirror + github.com/allenai/OLMo-core
  • Stack: EP/PP/distributed optimizer; NVSHMEM rowwise EP + GPU-resident routing + grouped GEMM; optional DeepEP v2
  • Throughput: expert pool 8→128 at ~3.2B active, <5% drop; 47B MoE on 8×B300 52k vs 19.4k tok/s/GPU (~2.7×)
  • Scale: 1.2T / 58.36B active / 512 GPUs up to 858 TFLOP/s/GPU (random-routing systems ref); DeepEP v2 probe 2.38T
  • MXFP8 ~+21% vs BF16, peak active mem 103→95 GiB; topology-agnostic checkpoints; next Olmo will be MoE
Read full story
Linked Models & Agents:
⚡ olmo⚡ olmoe⚡ Olmo Core 3🌐 allenai🌐 ai2🌐 Nvidia (NIM)

Hugging Face TRL 1.14.0: chunked log-probs for DPO/KTO/GRPO, DDP all-reduce fix; up to 31% lower peak VRAM on H100

TRL v1.14.0 (2026-09-25) removes trl.losses fused-loss forks: DPO/KTO/GRPO stream via _ChunkedLogProbFunction into each trainer's own loss, fixing formula drift and plain-DDP missing all-reduce. Ships an in-tree Triton logprob+entropy kernel (~14× vs selective_log_softmax+entropy_from_logits). On 1×H100, Qwen3-0.6B, bs=4, seq 512: chunked+precompute_ref_log_probs median step 0.1971s (−12.1% vs v1.13 fused) and 4.83GB peak (−31%). Removes six low-use experimental trainers; vLLM window moves to ≤0.30.0.

Hugging Face TRL 1.14.0: chunked log-probs for DPO/KTO/GRPO, DDP all-reduce fix; up to 31% lower peak VRAM on H100

Key Takeaways

  • Shipped: GitHub v1.14.0 = PyPI trl 1.14.0; docs huggingface.co/docs/trl
  • Architecture: remove trl.losses; DPO/KTO/GRPO via _ChunkedLogProbFunction into existing losses; use_liger_kernel still enables Liger model kernels
  • Perf (official, 1×H100 / Qwen3-0.6B / bs=4 / seq512): 0.1971s (−12.1%) and 4.83GB (−31%) with chunked+precompute_ref_log_probs vs v1.13 fused
  • Kernel: in-tree Triton logprob+entropy ~14× (0.89ms vs 12.8ms) on the stated H100 shape; default on CUDA/ROCm/XPU
  • Breaking: six experimental trainers removed; plain-DDP KTO all-reduce fixed; vLLM window >=0.20.0,<=0.30.0
Read full story
Linked Models & Agents: