You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[TEST] moe_reload_meta_e2e_4400 fixture saves a checkpoint without tokenizer files (rejected since #6386) #6556
tests/test_moe_reload_meta_e2e_4400.py::test_meta_expert_shell_reloads_bitwise_identically fails on origin/main (c649fcb):
ValueError: Tokenizer files are missing from `.../dense`: expected `tokenizer.json`, `tokenizer_config.json`, or `vocab.json` ...
Cause (stale fixture)
#6386 made GPTQModel.load reject checkpoints that ship no tokenizer files, instead of letting Transformers 5 build a one-token tokenizer. It updated the synthetic fixtures it found with tests/tiny_tokenizer.write_tiny_tokenizer, but this GPU-only test saves a bare OlmoeForCausalLM without a tokenizer, so the guard (correctly) rejects it.
Fix
Write the tiny tokenizer next to the synthetic dense checkpoint: write_tiny_tokenizer(dense, vocab_size=config.vocab_size).
Activity