69 wires and counting

$ follow PyTorch

Keep up with PyTorch in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good morning, this isn't your newsletter.

One email a day. Unsubscribe in one click.

$ status

wire 2026-08-29
stories 107

© 2026 RepoJournal Home Showcase Explore How it works Privacy

$ the-wire · showcase

TorchRL gains native GRPO training; TensorRT fixes NCCL rebind crash

By RepoJournal · Filed · About PyTorch

TorchRL shipped a native GRPOTrainer with SOTA execution pipelines, and TensorRT fixed a silent output mismatch from a lost NCCL communicator.

TorchRL's new GRPOTrainer brings native RLHF support into torchrl/trainers/algorithms, reusing the standard Trainer's data collection and hook logic, while GRPOOptimizationStepper decouples autocast, gradient accumulation, and clipping from the main loop [1]. The same repo tightened SFT loss coverage with numerical tests that verify normalization, mean/sum reductions, and the KL-to-reference term, separating MinorSFT's reference-log-probability behavior from ordinary SFT [2]. A DreamerV3 block-GRU Triton backward optimization avoids expanding projected features and accumulates weight gradients directly from BF16/FP32 operands, preserving the public API and checkpoint layout [3]. TensorRT fixed a multi-device bug where disable_profiling() and set_resource_allocation_strategy() dropped the execution context without clearing nccl_initialized, leaving collectives with no communicator and causing roughly 98% output mismatch; the lazy re-bind now fires to restore the communicator [4]. TensorRT also made engines default to no runtime cache so an implicit cache owned by TorchTensorRTModule no longer gets freed out from under a module-less engine [5]. PyTorch core cleaned up a post-local SGD checkpoint reload race where rank 0 deleted the temporary file before other ranks opened it, now serializing the checkpoint in a memory buffer [6], and collapsed ivalue::from's tag dispatch to fix a misleading ambiguous-constructor error [7].

Action items

References

  1. [1] [Trainer] Implement GRPOTrainer and SOTA execution pipelines ↗ pytorch/rl
  2. [2] [Quality] Add numerical SFT loss tests ↗ pytorch/rl
  3. [3] [Performance] Optimize DreamerV3 block-GRU Triton backward ↗ pytorch/rl
  4. [4] [fix] MD-TRT: rebind NCCL communicator after execution context invalidation ↗ pytorch/TensorRT
  5. [5] fix: engines default to no runtime cache; the module owns the implicit one ↗ pytorch/TensorRT
  6. [6] Fix post-local SGD checkpoint reload race (#194614) ↗ pytorch/pytorch
  7. [7] Collapse ivalue::from's tag dispatch into one function (#195105) ↗ pytorch/pytorch

Quick answers

What shipped in PyTorch on August 29, 2026?
TorchRL shipped a native GRPOTrainer with SOTA execution pipelines, and TensorRT fixed a silent output mismatch from a lost NCCL communicator. In total, 80 commits and 27 pull requests landed.
Who contributed to PyTorch on August 29, 2026?
15 developers shipped this update, including coder-jayp, quinnarnold, vmoens, calebmkim, MrlixiangWE, AmesingFlank, Jean Schmidt, and chunhuanMeng, and 7 more.
What were the notable PyTorch updates?
[Trainer] Implement GRPOTrainer and SOTA execution pipelines, [Quality] Add numerical SFT loss tests, and [Performance] Optimize DreamerV3 block-GRU Triton backward.