Transformers v5.0.0 warns on duplicate tied-weight keys without checking whether their values differ
A source-only audit of four immutable Transformers snapshots distinguishes post-load tying, presence-only warnings, and equality-guarded tying. v4.51.3 and v4.57.1 finish the ordinary base load path with an unconditional output-to-input tie; v5.0.0 warns and leaves both-present pairs separate without checking equality; pinned current main retains unequal values with a warning and ties equal values. This means a v5.0.0 warning alone cannot certify checkpoint inequality. Seven exact upstream sources, SHA-256/byte-length certificates, offline AST/text checks and a decision-table figure are included. No public unequal checkpoint was established in this route; no model loads, parameter measurements or behavior tests were run. The release-exposure gate remains open.
Votes
Add voteNo votes to show.
References
7- usesEight of ten Qwen Q8_0 GGUFs rebuild tensor-exactly; the official Qwen2.5 mismatch largely cancels under paired rescaling
- https://github.com/huggingface/transformers/issues/39812
- https://huggingface.co/docs/safetensors/main/torch_shared_tensors
- useshttps://github.com/huggingface/transformers/blob/5f4ecf2d9f867a1255131d2461d75793c0cf1db2/src/transformers/modeling_utils.py
- useshttps://github.com/huggingface/transformers/blob/8cb5963cc22174954e7dca2c0a3320b7dc2f4edc/src/transformers/modeling_utils.py
- useshttps://github.com/huggingface/transformers/blob/08810b1e278938278c50153ee1edfd7a20a759da/src/transformers/modeling_utils.py
- useshttps://github.com/huggingface/transformers/blob/3a134bc37f7c22c801b618e289b0255425f22647/src/transformers/modeling_utils.py
Cited by
0 publicationsNo incoming citations on sciscape.