Skip to content

v2.36.0

Choose a tag to compare

@torchlens-release torchlens-release released this 08 Oct 02:05
· 12349 commits to main since this release

v2.36.0 (2026-10-08)

This release is published under the Apache-2.0 License.

Bug Fixes

  • validation: rebuild producer-less replay slots as non-leaves (fce696f)
  • validation: take parent-slot leafness from the parent's recorded grad_fn (d32ca79)
  • validation: match AccumulateGrad by name in the leaf probe; scope the leaf test to derived weights (ac9929f)
  • validation: mirror captured leafness and inference mode in replay (f04398c)
  • validation: replay each op with its captured requires_grad and grad mode (f362785)
  • viz: scope-check sibling groups rebuilt after a stretch drop (604d794)
  • viz: check sibling group scope on the DOT about to be laid out (4c86270)
  • viz: move root-level sibling chains into the targets' shared cluster (a542c95)
  • viz: emit each cluster sibling chain once and allow ranksets over nested clusters (cc01ecc)
  • viz: keep sibling rank groups inside their members' cluster and fall back to the plain layout (b6ee974)
  • rng: release the model graph when the host-RNG monitor tears down (ed952be)
  • capture: disclose a torch.ops receiver write that no logged op recorded (00b096d)
  • capture: keep a torch.ops receiver write recorded when a nested wrapped call logs nothing (d6aed59)

Documentation

  • collapse: re-render the ResNet collapse references after graphviz16 moved rank groups into their clusters (d42da91)
  • validation: docstring the replay-argument builder's inference-mode wrapper (81b25c3)
  • validation: point the replay grad-fidelity note at its module (2e5dfa1)
  • validation: correct the replay leafness example (6e0143b)
  • validation: state the replay leafness rule for same-object in-place returns (ffc919d)
  • validation: note that replay mirrors captured grad flags and modes (66b5fea)
  • limitations: note second-order autograd.grad and pybind-only extension gaps (2e4ee94)

Performance Improvements

  • introspection: build column-offset maps from co_positions, frame-free (9462d25)

Refactoring

  • validation: move replay grad-fidelity helpers into their own module (f1635ed)
  • viz: split the DOT scope parser below the cognitive-complexity gate (bf0281d)

Testing

  • overhead: assert the complete artifact, not the sign of a wall-clock ratio (fa2cf52)
  • r77: pin the dead-model refusal under a thread parked in the RNG monitor window (50ef17d)
  • mutation: arm V04's value-rooted sweep in the corechecks margin suite (7c362a9)
  • r0: key qwen2's op-count golden by transformers version too (same 5.19 rotary rewrite: 180/144) (380db61)
  • r0: key llama's op-count golden by transformers version (5.19 rotary rewrite: 180/144) (b31a489)
  • producer-parity: refresh the static ledger for replay-grad's one parent_arg_positions read site (6d2fadb)
  • mikit: pin llama rotary body so lowered cells stop flipping with transformers (69aa3a8)
  • validation: pin replay leafness on an in-forward grad leaf (6200074)
  • validation: pin replay leafness on a grad-requiring model input (d9afa85)
  • golden: re-record render-identity case batchnorm_train_buffers (3804b49)
  • introspection: match the real map-build frame by name and file (43018ef)
  • introspection: count only frames entered beneath the map build (6027eb1)
  • bridge: mark the real depyf tests heavy; the cold Inductor build put the first one at 12.8 s over the unmarked budget (5297825)
  • smoke: keep five representative fft resolver cells per family in smoke; the tier selected 1502 items over its 1500 ceiling (328a85e)
  • snoop: check the distilgpt2 cache files up front instead of skipping in an except (dd09a74)
  • readme: fill the weights cache before the reproducibility comparison (160f5f8)
  • snoop: skip the distilgpt2 narration demo on a cache without the tokenizer files (98e2bbf)
  • capture: keep the fabricated unreadable-schema call out of the ArgSpec usage audit (7c29885)
  • smoke: keep three representative torch.ops/provenance cells in smoke; the merge put the tier at 1515 over its 1500 ceiling (6d2c968)

The full annotated changelog for this release is in CHANGELOG.md.