$ the-wire ยท showcase
tokenizers buckets miss added tokens, RMSNorm eps renamed
By RepoJournal ยท Filed ยท About Hugging Face ยท Composed from the cited sources ยท methodology
A single-bucket match bug carried over from the tokenizers 1.0 release candidates sits alongside the first breaking renames from the Transformers modular cleanup, and neither is a silent no-op for code that touches them.
fix(buckets): find a token whose prefix overlaps an earlier false start huggingface/tokenizers
Buckets::match_bytes walked memmem::find_iter over the shared prefix, and because find_iter yields only non-overlapping occurrences, a false start could hide the real match. Every 1.0 rc misses an added token that 0.23.x finds; the fix is to restart the scan one period of the prefix after a rejected occurrence, and the real-world case is a tokenized BERT Italian sentiment model.
๐จ [PR2] [Modular Cleanup] *Norm canonicals and renaming huggingface/transformers
The modular cleanup renames the normalization eps argument to variance_eps and pins LlamaRMSNorm and friends as canonicals, following an earlier independent PR. Anyone passing eps by keyword to these norm layers will break; positional callers are unaffected.
Add `_get_num_multimodal_tokens` to more image/video processors huggingface/transformers
Eighteen image and video processors now implement _get_num_multimodal_tokens, so vLLM's Transformers modeling backend can size placeholders without instantiating the processor. PaddleOCR-VL previously failed outright with a missing-attribute error on PaddleOCRVLProcessor.
๐จ [modular fix] remove failing freeze_encoder (#51252) huggingface/transformers
The failing freeze_encoder path and the method itself were removed rather than patched, so callers relying on it have nothing to fall back to.
[LTX-2.5] Keyframe-aware decoding for the diffusion decoder huggingface/diffusers
Also shipped: keyframe-aware decoding for the LTX-2.5 diffusion decoder, Ovis2.5 model support, an hf_jobs tag on model cards pushed from HF Jobs, and six doc notebook syncs.
Action items
- โ Rename eps to variance_eps in normalize calls, or pass it positionally huggingface/transformers [plan]
- โ Upgrade tokenizers past the unfixed 1.0 rc if you rely on added tokens with a single bucket huggingface/tokenizers [plan]