cd /news/machine-learning/fourteen-more-measured-notes-for-tra… · home › topics › machine-learning › article
[ARTICLE · art-179931] src=discuss.huggingface.co ↗ pub= topic=machine-learning verified=true sentiment=· neutral

Fourteen more measured notes for transformers, with runnable checks

A comparison of Hugging Face Transformers v5.24.1 (commit e68083b) and v5.25.0 (commit 100a003) found that 12 of 14 tracked issues reproduce or persist in the newer release, with only fused patch embeddings (HF-754) and an extra primary tokenizer load (HF-715) showing clear improvement. The checks, run in separate processes on Python 3.13.16, Torch 2.14.1+cu130 and tokenizers 0.23.3, flagged unresolved problems including FP16 attention producing nonfinite outputs and gradients (HF-804), GPT-OSS eager packing leaking across documents (HF-774), and beam/sampling modifying caller encoder output (HF-834). The author recommends trying 5.25.0 for loading but comparing affected saves against original weights, and checking the actual code route rather than issue status.

recommendation

When upgrading Transformers, verify the actual code route and compare affected saved weights against the originals rather than trusting issue status, since 12 of 14 checked issues still reproduce in 5.25.0.

more in playbook: Evals and testing for LLM apps
read2 min views5 publishedDec 2, 2026

I also ran some additional checks on Transformers 5.24.1 and 5.25.0:

5.25.0 improves fused patch embeddings and processor overrides. Whole-word masking also has its efficiency change, but grouping is a separate problem. Other observations still reproduce in the tested conditions.

Note 5.25.0 result in the tested scope Details
1 / HF-591 DEIMv2: DN enters main loss with aux disabled 5
2 / HF-539 BOS/EOS encoding and persistence differences remain 3
3 / HF-652 mLUKE: IDs and normalization differ 3
4 / HF-723 WWM optimization shipped; grouping problem remains 4
5 / HF-704 Audio EOS masking remains (source/local) 6
6 / HF-643 OmniASR blank fix retained (source) 6
7 / HF-715 Extra primary tokenizer load gone 2
8 / HF-733 MADLAD newline IDs still lost 3
9 / HF-754 Fusion weights, scope and saving improved 1
10 / HF-774 GPT-OSS eager packing leaks across documents 7
11 / HF-793 Lookup over budget; static-cache errors remain 8
12 / HF-804 FP16 attention function: nonfinite output/gradients 7
13 / HF-814 Positive smoothing drops router aux dependence 5
14 / HF-834 Beam/sampling modify caller encoder output 8

Try 5.25.0 for ; compare affected saves with original weights. For other cases check the actual route, not just issue status. I compared the exact source tags v5.24.1 (e68083b) and v5.25.0 (100a003) in separate processes, sharing Python 3.13.16, Torch 2.14.1+cu130, tokenizers 0.23.3, Hub 2.4.0, NumPy 2.4.6, accelerate 1.15.0, safetensors 0.8.0 and SentencePiece 0.2.2. CPU workers had CUDA hidden; FP16 attention used L4. This is not an independently resolved wheel comparison. Fusion fixtures were reused byte-for-byte; tokenizer assets pinned, other small models seeded (not all state tensors hashed).

Twelve subjects have actual-implementation measurements, two audio entries source/local only. PR status: December 2, 2026. Earlier fixed-commit tests are separate. Edited diagnostic snippets not rerun; fixtures test contracts, not production incidence or accuracy.

  1. Fused patch embeddings: weights, scope and saving (9 / HF-754) The Corrections Desk checks are useful starting points. Retain the version, actual route, input and an unaffected control: plausible final outputs need not establish the intermediate contracts above.
── more in #machine-learning 4 stories · sorted by recency
── more on @hugging face 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/fourteen-more-measur…] indexed:0 read:2min 2026-12-02 · —