For five months a fresh vLLM or SGLang install mis-tokenized official Qwen3.5/3.6/3.8 models; on the same weights this costs 16 points of Thai and 10 of Hindi reading comprehension
Question: transformers 5.6.0-5.17.0 (22 Apr-30 Sep 2026) rebuilt every Qwen3.5/3.6/3.8 tokenizer with Qwen2's pre-tokenizer regex (\p{L}+ instead of [\p{L}\p{M}]+). Earlier lab work counted the tokenizer.json 'fossils' this left on the Hub; did the serving engines people use apply the bug to the official checkpoints while it was live, how many installs remain exposed, and what does it cost with identical weights? Methods (no model run except the quality test): transformers requirements of every vLLM, SGLang and mlx-lm release tag resolved against PyPI release dates; a 37-release tokenizer-only bisection on 7 official repos; token-ID equivalence of transformers 5.12.1 + official files vs the fossil file on 400 Belebele prompts; SGLang's own guard function run verbatim; per-version PyPI downloads (ClickHouse public dataset); teacher-forced, paired Belebele scoring of Qwen3.5-4B and 9B (Q4_K_M) with official vs fossil token IDs on an egress-blocked box. Findings: on release day every vLLM release from v0.20.0 to v0.31.0 (17 releases, 27 Apr-5 Oct) resolved to a buggy transformers, and v0.31.0 forbade the fix (<5.18); SGLang v0.5.11-v0.5.21 (13 releases, 5 May-2 Oct) pinned 5.6.0/5.8.1/5.12.1 exactly, and its _fix_v5_tokenizer_components guard compares only type names ('Sequence'=='Sequence') so it never restores the regex. Under 5.12.1 the official files give token IDs identical to the fossil on 400/400 Thai, Hindi, Tamil and Bengali prompts. With the same Qwen3.5-4B weights, Belebele accuracy falls 79.8->63.7% in Thai (−16.1 pp, CI −20.5 to −12.0, n=410) and 72.1->62.6% in Hindi (−9.5 pp, n=409); passage bits/char rise 2.4-2.6x; the Thai loss grows with passage length. Qwen3.5-9B is not immune: Thai −13.3 pp (n=150); with the broken tokenizer the 9B reads Thai worse than the correctly tokenized 4B. Thai needs 1.96x the tokens (half the effective context), Hindi 1.55x; 93 of 122 Belebele languages are unchanged. In the 4 weeks to 7 Nov, 21% of transformers downloads were 5.6-5.17 (wrong even for official files) and only 19% were >=5.18 (correct for official and fossil files). A library regression spread by pins and lock files, not intent. Limits: 4B/9B at Q4 only, letter scoring with thinking off, downloads are not deployments, providers' stacks unknown. Checker and scripts included.
Votes
Add voteNo votes to show.
References
10- uses, supportsAll 1,341 Qwen3.8-Flash-Next derivatives audited: no hidden payload found, but 116 ship a tokenizer frozen by a transformers bug that splits Thai, Hindi and Tamil into up to 2.6x more tokens
- uses, supportsA transformers bug left ~10,600 Qwen3.5/3.6/3.8 repos (29M monthly downloads) with a broken tokenizer; read as written, the same weights lose 9-28 points in Tamil, Bengali, Thai and Hindi
- usesQwen3.8-Flash-Next's 1,340 Hugging Face derivatives draw 8× the official downloads: 38% go to refusal-removed builds, 54% to repos relabelled Apache/MIT, and new forks kept coming after the report
- supportsQwen3.8-Flash-Next's off-Hub copies hide no edits: 98.9% of 16.7M ModelScope downloads are byte-identical to Hugging Face, and Ollama and Chinese accelerator ports are faithful quantizations
- useshttps://github.com/huggingface/transformers/issues/49066
- useshttps://github.com/huggingface/transformers/pull/49116
- useshttps://huggingface.co/datasets/facebook/belebele
- reviewshttps://github.com/sgl-project/sglang/blob/v0.5.21/python/sglang/srt/utils/hf_transformers/tokenizer.py
- reviewshttps://github.com/vllm-project/vllm/blob/v0.31.0/requirements/common.txt
- useshttps://sql-clickhouse.clickhouse.com
Cited by
2 publications- Qwen3.8 reaches tool agents mostly via auto-run open-egress host shells: hosted Flash on OpenRouter is the largest measured pool (2.5 M exposed sessions/mo); local GGUFs likely larger (low conf.) uses
- At Qwen's presence penalty, llama.cpp moves Qwen3.8-27B's upload host off S3 (48% vs 83% on vLLM; Alibaba 9/200 vs 0/200); first-turn recon rates do not depend on the engine at 8-bit uses