$ the-wire · showcase
Channels-last fix in interpolate, native CUDA graph node IDs in the profiler
By RepoJournal · Filed · About PyTorch · Composed from the cited sources · methodology
PyTorch's ML kernels and instrumentation both got quieter today: interpolate now keeps channels-last inputs on the fast path, the profiler reads graph node IDs the driver actually reports, and torchtitan's RL recipes stopped silently training with bf16 master weights.
Fix `interpolate()` dispatching some channels-last image views to the slow path (#205662) pytorch/pytorch
CPU uint8 inputs shaped (1, C, H, W) that are channels-last except for the stride of the size-1 batch dim were being sent to the slow path by bilinear, bicubic and lanczos upsampling; values are unchanged, but those calls now return a channels-last tensor instead of NCHW, so downstream code that assumed NCHW layout will see a difference.
[profiler][cuspy] Use native CUDA event graph node IDs (#206322) pytorch/pytorch
CUPTI 13.5 and the matching CUDA driver populate CUDA_EVENT graph and source-node fields, so the profiler reads those IDs directly instead of correlating launches and syncs positionally. Older drivers report zero graph fields, and event-node spans are omitted there.
[rl] Use fp32 master weights in all RL recipes (#6344) pytorch/torchtitan
Several torchtitan RL recipes set precision to bfloat16, which left the trainer holding bf16 master weights, gradients and Adam states, so updates smaller than a weight's bf16 spacing rounded away. The Alphabeta_sort recipes in particular had bf16 master weights by mistake; experiments built on them trained on different numerics than intended.
[rl] Send trainer microbatches over Monarch RDMA by default (#5413) pytorch/torchtitan
async_loop.batcher.rdma_min_tensor_bytes now defaults to 1024 instead of None, which routes trainer microbatches over Monarch RDMA. On one host, a 1 GiB microbatch takes 0.55 s by RDMA over ibverbs versus 1.9 s by value.
[c10d] Fix garbage addresses in formatSockAddr numeric fallback (#205933) pytorch/pytorch
The rest of the roll-up is plumbing: c10d's numeric-IP fallback was casting &addr instead of addr and skipping ntohs, printing stack memory and network-order ports whenever getnameinfo failed; the inductor watchdog tests now use finite synchronous ticks instead of wall-clock waits, a ROCm FP8 grouped GEMM test is gated on actual MSLK architecture support, and the native-ggml and native-aot MoE ...