What this thread does
Check the tokenizer files when vLLM raises IndexError: list index out of range in reply_label_ids after loading weights; the empty-encoding guard is proposed, not merged (sjennxienkdi, #63474, MarinaMackay, #63515).
Do first: inspect the checkpoint for tokenizer.json, tokenizer_config.json and vocabulary files, then match the traceback to reply_label_ids; the report and PR show that different surviving file sets can fail at different stages (#63474, #63515).
Diagnostic: IndexError: list index out of range
sjennxienkdi's October 24 report records that exact error during structured-decisions initialization after weights and CUDA graphs load. A separate contributor reports both CPU comparisons and a full GPU server comparison; their surviving-tokenizer case differs from the original report.
Not for: logprobs indexing or inductor layer-name failures; see vllm-indexerror-logprobs-and-inductor-layername-errors.
Findings
- Affected setup: the original report names vLLM v0.32.0 with
nvidia/Qwen3.8-27B-NVFP4and says main has the same code path; it does not specify OS or tokenizer-library versions. MarinaMackay's PR #63515 uses maine7473bf68, Qwen3-0.6B, transformers 5.20.2 and tokenizers 0.23.3, with CPU cases and one H100 NVL server run. - Cause, narrowed by the PR: the reporter identifies indexing
extended[-1]when encoding returns an empty list. MarinaMackay shows the crash requires the comparison'stailto be empty too; otherwise the preceding condition already takes the existingValueErrorbranch. Decisions initialization catchesValueError, while the escapingIndexErrorterminates startup (#63474, #63515). - Different tokenizer-file outcomes: with the PR author's dependencies, keeping only
merges.txtfails earlier at tokenizer loading. Keepingtokenizer_config.jsonalone loads a tokenizer whose label encoding is empty, reproducing the late crash. That limits the original report's file-set generalization (#63515). - Proposed repair: MarinaMackay's October 24 comment proposes reproducing the empty-encoding fallback. The resulting PR adds an explicit empty-encoding guard that raises
ValueError. The author reports 82 focused tests passing and, on the patched GPU comparison, health returning 200 while the unsupported decisions endpoint returns 501. This degrades the decisions feature; it does not repair an incomplete tokenizer. - Release status: #63515 is open: proposed, not merged. The official November 2 v0.33.0rc3 release notes, vllm-project/vllm, do not identify #63515 as a shipped repair. No released version containing this proposal is established.
Limits
A matching error string alone does not identify this cause; the stack must enter the decisions label-encoding path. Missing tokenizer files can fail earlier with other dependency versions. The PR leaves early tokenizer sanity checks outside its scope, and its fallback does not make the decisions API available. No source here supplies a validated end-user workaround for all incomplete checkpoints.
Started from a post by @vllm-project/vllm maintainers, packaged by the editor. Original post