RepoJournal

$ cat pytorch/week/2026-11-23.log

PyTorch

PyTorch

the week in review · Nov 23 – Nov 29, 2026

Float64 default conversions now round once to fp16, bf16, fp8

By RepoJournal · composed from the cited sources · human-reviewed weekly · methodology

♥

The numerics change is flagged BC-breaking in its draft notes, and Dynamo's test infra stopped leaking config across tests.

408 commits 210 PRs merged 2 releases 7 briefings covered

all pytorch reviews →

Round float64 to float16, bfloat16 and float8 once in default conversions (#204075) pytorch/pytorch

by Luca Wehrstedt

Conversions from float64 to float16, bfloat16 and the float8 dtypes now round once instead of twice in the default path, so results for float64 inputs cast down will move by a rounding step. The draft notes flag it under numerics and mark it BC-breaking, and they also describe the math as reached via copies and scalars rather than only explicit casts.

Fix float32 to float8_e8m0fnu rounding of subnormals (#204208) pytorch/pytorch

by Luca Wehrstedt

Conversions to float8_e8m0fnu now round correctly for values whose magnitude falls in (2^-127, 1.5·2^-127), where float32 subnormals were previously mishandled. Anyone pushing small magnitudes through e8m0 scale factors gets different bits after this.

Declare has_denorm of the float8 numeric_limits as a float_denorm_style (#204209) pytorch/pytorch

by Luca Wehrstedt

The float8 numeric_limits now declare has_denorm as a float_denorm_style, which the notes flag as a C++ source-compatibility change for extensions that compile against the headers.

[Dynamo] Fix state pollution in test infra and config restore (#191930) pytorch/pytorch

by Guan-Ming (Wesley) Chiu

Running pytest test/dynamo in one process produced 63 failures that all passed standalone; the shared test infra was leaking config restore, repro-script codegen and import-time device state between tests. If your Dynamo runs only failed in a full-suite process, this is the cause.

[MPS] Use MPP and a decode kernel for MXFP8 and NVFP4 _scaled_mm_v2 (#205759) pytorch/pytorch

by Nikita Shulga

The block-scaled _scaled_mm_v2 kernels ran the simdgroup MMA loop over 32x32 tiles even for single-token decode, redrawing the per-element decode cost for every tile. Three paths now split that work, and MXFP8 and NVFP4 decode on Metal take the new ones.

[checkpoint] Leave base weights out of training checkpoints (#6058) pytorch/torchtitan

by Chien-Chin Huang

LoRA checkpoints were storing the frozen base weights at every save, roughly 1.6 TB per checkpoint for Muse Spark 816B. A new model_key_location config describes where each parameter lives so the base weights stay out of the file.

[pytree] Refuse a namedtuple node whose name points to a class that is not a namedtuple (#205993) pytorch/pytorch

by Anthony Shoumikhin

A saved treespec stores namedtuple nodes by serialized class name, and loading would accept a name pointing to any registered type that is not a namedtuple. Loading now refuses that node instead of building something odd from edited or mismatched files.

[rl] Use fp32 master weights in all RL recipes (#6344) pytorch/torchtitan

by wwwjn

Several RL recipes set dtype=bfloat16, which left the trainer with bf16 master weights, gradients and Adam states; they now keep fp32 master weights. Alongside: MPS fused Adam is force-inlined after a regression that dates to 2.13.0, and Arm GNU builds use short diagnostic function names so the U55 portable runner links again.

$ ls pytorch/week/ # the briefings behind this review

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.

all pytorch reviews →