Skip to content

[CI][Test][Spec Decode] Fix CI failure of Qwen3 Omni DSpark loader mock - #56011

Merged
ywang96 merged 1 commit into
vllm-project:mainfrom
starkwj:fix/ci-test-qwen3-omni-dspark
Sep 9, 2026
Merged

ywang96 merged 1 commit into
vllm-project:mainfrom
starkwj:fix/ci-test-qwen3-omni-dspark

Conversation

@starkwj

@starkwj starkwj commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Purpose

PR #55472 changed load_dspark_model to derive the draft parallel configuration from the target vllm_config.parallel_config, but missed updating text fixture in unit test test_qwen3_omni.py.

The test uses an incomplete SimpleNamespace mock and fails with:

FAILED model_executor/test_qwen3_omni.py::test_dspark_shares_target_embedding_with_smaller_draft_vocabulary - AttributeError: 'types.SimpleNamespace' object has no attribute 'parallel_config'

This PR add the missing parallel_config.

Thanks @gau-nernst for the catch!

Test Plan

The main unit test:

  • tests/model_executor/test_qwen3_omni.py

and some related:

  • tests/v1/worker/test_eagle3_aux_hidden_states_pp.py
  • tests/v1/worker/test_spec_decode_embed_sharing_pp.py
  • tests/models/kimi_k3/test_aux_attn_res_stream.py
  • tests/v1/worker/test_pp_utils.py
  • tests/models/kimi_k3/test_eagle3.py

Test Result

All (8 + 32) passed.


Essential Elements of an Effective PR Description Checklist
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.

Signed-off-by: Jing Wang <jingwang96@qq.com>
Copilot AI lite review requested due to automatic review settings September 9, 2026 05:22

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The change is a minimal, correct test-fixture update that matches the accessed configuration fields and has no apparent behavioral risk beyond fixing the failing unit test.

Pull request overview

Fixes a unit-test fixture for the Qwen3 Omni DSpark loader by extending the SimpleNamespace-based vllm_config mock so it matches the fields now accessed by load_dspark_model.

Changes:

  • Add parallel_config to the test’s vllm_config mock to satisfy load_dspark_model’s vllm_config.parallel_config access.
  • Populate draft_parallel_config.tensor_parallel_size in the mock to satisfy speculative_config.draft_parallel_config.tensor_parallel_size access.
File summaries
File Description
tests/model_executor/test_qwen3_omni.py Updates the DSpark unit-test config mock to include required parallel_config and tensor_parallel_size fields.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@gau-nernst

Copy link
Copy Markdown
Contributor

/ci run

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

✅ Triggered Buildkite CI #87837 for commit 2777c31d93e7.

@Isotr0py
Isotr0py enabled auto-merge (squash) September 9, 2026 06:04
@github-actions github-actions Bot added the ready ONLY add when PR is ready to merge/full CI is needed label Sep 9, 2026
@ywang96
ywang96 disabled auto-merge September 9, 2026 06:06
@ywang96
ywang96 merged commit 95cf420 into vllm-project:main Sep 9, 2026
29 of 36 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Sprint - DFlash Sep 9, 2026
ItsRoy69 pushed a commit to ItsRoy69/vllm that referenced this pull request Sep 10, 2026
…ck (vllm-project#56011)

Signed-off-by: Jing Wang <jingwang96@qq.com>
Signed-off-by: Jyotirmoy Roy <jyotirmoyroy649@gmail.com>
@starkwj
starkwj deleted the fix/ci-test-qwen3-omni-dspark branch September 13, 2026 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dflash qwen Related to Qwen models ready ONLY add when PR is ready to merge/full CI is needed

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants