$ the-wire · showcase
Stable Python object converters for Layout and MemoryFormat, Inductor autotunes TMA
By RepoJournal · Filed · About PyTorch · Composed from the cited sources · methodology
PyTorch's stable ABI grows Python-to-C++ converters for Layout, MemoryFormat and scalar types, Inductor stops switching pointwise and reduction kernels to TMA unmeasured, and torchtitan reverts a KV offload change that broke its RL CPU tests.
[stable] Add Layout conversion to/from Python objects (#205952) pytorch/pytorch
Alongside Layout, MemoryFormat and bool/int64_t/double bridges land in the stable converter stack, letting code registering through nanobind reach these types without routing every call through the dispatcher. The double path reuses the existing Scalar policies and accepts int or float Python objects, with NumPy scalar acceptance depending on runtime NumPy support.
[Inductor] Autotune TMA against pointer loads for pointwise and reduction kernels (#199818) pytorch/pytorch
`use_tensor_descriptor=True` previously forced every pointwise and reduction kernel onto TMA with no measurement, which the PR reports made them 1.4-2.2x slower than pointer loads on GB200. Inductor now autotunes between the two instead of assuming TMA wins.
Fix SymInt.__round__ for negative ndigits (#199897) pytorch/pytorch
`SymInt.__round__` ignored a negative `ndigits`, so `round(x.shape[0], -1)` vanished under `torch.compile(dynamic=True)` and compiled results diverged silently from eager. The fix expresses Python's half-to-even rounding through the existing SymInt floordiv/mod ops and adds no guards.
Revert "[RL] KV offload on vLLM 0.33: drop the Mooncake no-forward save workaround" (#6389) (#6428) pytorch/torchtitan
The move to vLLM 0.33.0 left `KVOffloadScheduler` without a `skipped_waiting` attribute, failing `test_terminal_cleanup_preserves_block_identity` on main, so this reverts it. The Mooncake no-forward save workaround comes back with it; the original change depended on vLLM behavior the revert restores.
[checkpoint] Don't purge directories at or past the saving step (#6373) pytorch/torchtitan
Cleanup used to scan past the saving step and could delete a freshly saved checkpoint or evict older valid ones; `_purge_stale_checkpoints` now only queues deletes for checkpoints before the current step. Runs resumed from an earlier step carry the same exposure, which is why the bound matters.
[cutedsl] Admit resident row grids and publish normalized rows pytorch/helion
Helion's CuTe backend gained capacity proofs for resident row grids and a B200 Flash MLA decode preset exercised in CI, with page-pipeline stages configurable via `cute_gathered_page_stages`.