$ the-wire · showcase
FBGEMM 1.10.0 ships TBE and ROCm wins; kineto fixes trace flow
By RepoJournal · Filed · About PyTorch · Composed from the cited sources · methodology
FBGEMM_GPU v1.10.0 lands adaptive thread-group sizing for bounds_check_indices v2 with up to 41x speedups on the benchmarked trace shapes, while kineto repairs a trace-writing path that was silently splitting instruction flows and Inductor trims decompose-K autotuning space.
FBGEMM_GPU v1.10.0 Release Notes pytorch/FBGEMM
The release also adds a thread-per-bag kernel for large B / small L, flat thread mapping for permute and bounds_check, batched rows for adagrad backward, and binary-search row lookup in the flat sparse kernels, plus NOBAG inference TBE parallelized over row range. Speedup figures are scoped to the benchmarked trace shapes, not a general claim.
[kineto] Find instruction slices in the chrome JSON writer by instruction_phase (#207586) pytorch/pytorch
The chrome JSON writer located instruction slices by the metadata check event_type == "instruction_trace"; when a producer emits event_type as an integer the check missed, and each receive-to-dispatch flow was written as a standalone s and f event pair instead of inline bind_id/flow_out/flow_in on the two slices. The writer now matches by instruction_phase, so traces from integer-typed producer...
[Inductor] Filter decompose-K splits by output tiles and workspace (#195939) pytorch/pytorch
Large-K mm decomposed-K autotunes up to 10 split choices, most of which never win; splits are now filtered by output tile count (split * ceil(M/64) * ceil(N/64)) and FP32 workspace size (split * M * N * 4 bytes). Bounds are device-dependent: SM100+ requires enough tiles to fill one wave (half the SM count), other NVIDIA GPUs at least 8 tiles and at most 8 MiB of workspace.
Resize view, squeeze, unsqueeze and copy ops by their own shape rules (#25930) (#25930) pytorch/executorch
Flat copies guessed live output shape from numel and assumed 4-byte elements, so two dynamic dims ([S, S]) picked the wrong shape and bool views either failed to load or copied past the buffer on resize. view_copy now reads its own size list with live SymInts (-1 inferred), unsqueeze/squeeze insert or drop their dims, and copies keep their own indexing.
[rl] SGLang generator: top-k logprobs for score centering (#6379) pytorch/torchtitan
Score centering requires the generator's top-k logprobs per generated token, and the SGLangEngine-backed controller rejected it, so rl_grpo_qwen3_0_6b_varlen_sglang could not run with GRPOLoss.Config(..., score_centering=ScoreCentering.Config()). The SGLang generator now returns top-k logprobs to support it.
[Feature Refactoring] Reject unbalanced autocast dtype/enabled; cover all supported devices (#196407) pytorch/pytorch
AOTAutograd metadata collection used to snapshot autocast dtype only for CUDA and CPU; it now walks torch._C._autocast_supported_devices() and records each device's dtype and enabled state, raising when either changed before the TLS restore.
Delegate float32 Mish to XNNPACK (#25963) pytorch/executorch
Jacob Stevens reports that in TD-MPC's seeded camera policy trace, log1p, the softplus threshold comparison, and where accounted for about 129 ms of a 403 ms trace; the XNNPACK exporter now preserves float32 Mish on non-scalar tensors in the top-level graph and lowers it entirely to existing XNNPACK ops.
Keep serving HBM-cached rows while a served snapshot publishes (#6904) pytorch/FBGEMM
On MI350X with the compact SSD KV backend, every in-place full snapshot transition of model 2089608854 threw TypedPredictorOverloadException type=CAPACITY during the roughly 5 minute compact publish window; serving now keeps HBM-cached rows live while the snapshot publishes. The rest is housekeeping: FBGEMM enables -Wunreachable-code-break, -loop-increment and -return and removes dead returns a...