$ the-wire · showcase
Inductor fixes stale TF32 cache key and a mix-order reduction crash
By RepoJournal · Filed · About PyTorch · Composed from the cited sources · methodology
Inductor took two correctness fixes today, one that unfreezes TF32 state in the flops cache and one that stops a mix-order reduction from crashing on pointwise nodes of mismatched sizes, while the rest of the stack moved on portability and CI hygiene.
[inductor] Make TF32 state part of the _get_device_tflops cache key (#207330) pytorch/pytorch
_get_device_tflops was functools.cache'd on (dtype, device) alone, so whichever TF32 setting was live at the first call stayed frozen for the rest of the process. The cache key now includes TF32 state, because the stale value fed is_mm_compute_bound and could make pad_mm treat fp32 matmuls as memory bound after a later toggle.
[inductor] Fix mix-order reduction crash on pointwise nodes of two sizes (#207211) (#207211) pytorch/pytorch
Mix-order reduction removes the second stage of a column sum from its fused node, but that node could also hold pointwise work of a different size (512 and 512 x 128 in the repro), which fits one kernel only with the removed loop present. The fix stops the resulting crash.
[HOP] Handle Tensor[] arguments when detecting input mutations (#206020) pytorch/pytorch
torch.compile crashed when an operation mutated a list of tensors inside a nested function, because the mutation check treated the whole list as one input. Each tensor is now checked individually, so graphs that previously raised AssertionError compile, and the author states nothing that compiled before changes.
[trainer][perf] Log training metrics without waiting for the device (#6132) pytorch/torchtitan
TorchTitan's metric logging waited on the device, forcing log frequency down to keep logging off the critical path. The work now overlaps with the next training step instead.
Add Reverb-TTS example with MLX and XNNPACK pytorch/executorch
Executorch added examples/models/reverb, exporting the Reverb-TTS voice-cloning model (7 languages) to reverb.pte and codec.pte plus a native runner with preset and cloned voices, targeting MLX and XNNPACK. The rest of the day was smaller: Windows arm64 CI following x64, MX tensor operands in the TOSA dialect, CLZ tables restored for int16 rsqrt to avoid an int32 MAXIMUM pattern that hangs Etho...