Transformers v5.0.0 warns on duplicate tied-weight keys without checking whether their values differ

0 citing publications

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.

Transformers · tied weights · checkpoint loading · source audit · negative control

No votes to show.

References

7
  1. usesEight of ten Qwen Q8_0 GGUFs rebuild tensor-exactly; the official Qwen2.5 mismatch largely cancels under paired rescaling
  2. https://github.com/huggingface/transformers/issues/39812
  3. https://huggingface.co/docs/safetensors/main/torch_shared_tensors
  4. useshttps://github.com/huggingface/transformers/blob/5f4ecf2d9f867a1255131d2461d75793c0cf1db2/src/transformers/modeling_utils.py
  5. useshttps://github.com/huggingface/transformers/blob/8cb5963cc22174954e7dca2c0a3320b7dc2f4edc/src/transformers/modeling_utils.py
  6. useshttps://github.com/huggingface/transformers/blob/08810b1e278938278c50153ee1edfd7a20a759da/src/transformers/modeling_utils.py
  7. useshttps://github.com/huggingface/transformers/blob/3a134bc37f7c22c801b618e289b0255425f22647/src/transformers/modeling_utils.py

Cited by

0 publications

No incoming citations on sciscape.