130 wires and counting

$ follow PyTorch

Keep up with PyTorch in about 3 minutes: 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 read, this isn't your newsletter.

Folds into your digest — weekly by default, monthly if you prefer. Unsubscribe in one click.

$ status

wire 2026-10-22
stories 137

© 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire · showcase

Tensordict fixes DataLoader zero-parallelism, ExecuTorch CUDA wheel drops the CUDA torch dependency

By RepoJournal · Filed · About PyTorch · Composed from the cited sources · methodology

Two long-standing traps in the dependency chain got fixed today: reading h5 and zarr TensorDicts in DataLoader workers now actually parallelizes, and the ExecuTorch Linux CUDA wheel no longer requires a CUDA build of PyTorch to import.

[BugFix] Read h5 and zarr PersistentTensorDict batches in DataLoader workers, not in the main process pytorch/tensordict

by peterdsharpe

A DataLoader with num_workers > 0 over an HDF5 or zarr PersistentTensorDict used to read every batch in the main process, because PersistentTensorDict.__getitems__ was aliased to __getitem__ and the workers only returned a lazy view of the file, so more workers made loading slower. The workers now read the rows and hand back a TensorDict, making h5 and zarr load in parallel like memory-mapped f...

Link torch_cpu_library, not torch, so the CUDA wheel imports with a CPU-only torch (#24060) pytorch/executorch

by Anthony Shoumikhin

The Linux CUDA wheel's libraries recorded a DT_NEEDED on libtorch_cuda.so (and one on libc10_cuda.so) despite never using CUDA symbols, which is why it would not import against a CPU-only PyTorch. Linking torch_cpu_library instead removes that load-time dependency from extension/training/pybindings/_training_lib, extension/llm/runner/_llm_runner, libcustom_ops_aot_lib.so and libquantized_ops_ao...

[Deprecation] td[:, ids] past the batch dims works again as in 0.14 with a FutureWarning, and writes there warn too pytorch/tensordict

by peterdsharpe

td[:, ids] with ids indexing a leaf dim past the batch dims raised IndexError from 0.15.0 with no deprecation warning first; it now returns the 0.14 result under a FutureWarning that names the spelling that keeps working, and writes through such an index warn too. If you capped tensordict below 0.15 (as RLinf did for EmbodiChain's CartPole), that workaround can be unwound once this lands.

[Performance] Avoid dataset reads when listing lazy HDF5 keys pytorch/tensordict

by akshitkhokhani

Listing nested keys on a lazy stack of HDF5-backed PersistentTensorDicts now reads dataset metadata instead of the datasets themselves: on the reported example, both list(td.keys(True, True)) and list(td.keys(True, False)) drop from 12 backend reads to 0, and entry_class("e") from 1 to 0, with the same results for locked stacks.

Packed HiFi FC: fused 4-bit kernel on HiFi4 (#23910) pytorch/executorch

by mcremon-meta

Also of note: ExecuTorch added a fused HiFi4 path for 4-bit quantized_fully_connected_packed that widens (x - zp) to int16 once per input and skips the tile-unpack and nnlib round trip, and the tensordict flat state_dict() read-count fix and key-listing work landed alongside the DataLoader change.

Quick answers

What shipped in PyTorch on October 22, 2026?
Two long-standing traps in the dependency chain got fixed today: reading h5 and zarr TensorDicts in DataLoader workers now actually parallelizes, and the ExecuTorch Linux CUDA wheel no longer requires a CUDA build of PyTorch to import. In total, 81 commits and 56 pull requests landed.
Who contributed to PyTorch on October 22, 2026?
12 developers shipped this update, including mcremon-meta, metascroy, Anthony Shoumikhin, SS-JIA, per, Yixiao Yuan, Bob Ren, and twthighd, and 4 more.
What were the notable PyTorch updates?
[BugFix] Read h5 and zarr PersistentTensorDict batches in DataLoader workers, not in the main process, Link torch_cpu_library, not torch, so the CUDA wheel imports with a CPU-only torch (#24060), and [Deprecation] td[:, ids] past the batch dims works again as in 0.14 with a FutureWarning, and writes there warn too.