Skip to content

[BugFix][Test] Cover skip_tokenizer_init dump e2e with text-only Qwen3 - #142

Merged
cursor[bot] merged 1 commit into
mrv2-extract-hidden-states-5b6afrom
cursor/fix-extract-hs-skip-tokenizer-ci-ffaa
Sep 9, 2026
Merged

cursor[bot] merged 1 commit into
mrv2-extract-hidden-states-5b6afrom
cursor/fix-extract-hs-skip-tokenizer-ci-ffaa

Conversation

@yjyang62

@yjyang62 yjyang62 commented Sep 9, 2026

Copy link
Copy Markdown
Owner

What this PR does / why we need it?

PR vllm-project#14699 CI failed on a2-1 card-(part 2-5):

  • test_extract_hidden_states[hybrid_dummy_token_in_token_out]
  • test_extract_hidden_states[hybrid_dummy_token_in_token_out_mrv2]

Both set skip_tokenizer_init=True on multimodal Qwen/Qwen3.5-0.8B. LLM() then builds Qwen3VLProcessor with tokenizer=None, and transformers crashes:

AttributeError: 'NoneType' object has no attribute 'convert_tokens_to_ids'

This is not an MRV2 bug (V1 fails the same way, before the runner starts). Keep the token-in/token-out dump path (skip_tokenizer_init + TokensPrompt), but run it on dummy text-only Qwen/Qwen3-8B instead of the hybrid VL model.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

  • Diagnosed from the failed job log artifact (selected-test-logs-...-a2-1card-2-5).
  • ruff check / ruff format on the edited e2e file.
  • Did not re-run the NPU e2e in this environment (no Ascend device).
Open in Web Open in Cursor 

Qwen3.5-0.8B is multimodal, so skip_tokenizer_init leaves tokenizer=None
and Qwen3VLProcessor crashes during LLM init. Keep the token-in/token-out
path, but cover it with dummy Qwen3-8B instead of the hybrid VL model.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: yjyang62 <yjyang62@users.noreply.github.com>
@cursor
cursor Bot merged commit 04668ae into mrv2-extract-hidden-states-5b6a Sep 9, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants