Repository navigation
Conversation
Signed-off-by: Tugrahan Karakadioglu <104067096+tgrhn@users.noreply.github.com>
Signed-off-by: Tugrahan Karakadioglu <104067096+tgrhn@users.noreply.github.com>
|
👋 Hi! Thank you for contributing to the vLLM Ascend project. The following points will speed up your PR merge:
If CI fails, you can run linting and testing checks locally according Contributing and Testing. 🤖 How to trigger CI
Note Until the CI gate has run on a commit, the required Tip 💡 Consider Linking a Related Issue or RFCYour PR title contains the [BugFix] tag, indicating a bug fix or new feature. Linking a related issue or RFC in the PR description is strongly encouraged — it gives reviewers helpful context and speeds up the review. You can use any of these keywords:
🙏 Thanks for helping us keep the project well-organized! |
There was a problem hiding this comment.
Code Review
This pull request replaces version-based checks (vllm_version_is("0.34.0")) with capability-based checks using hasattr(EagleModelMixin, "aux_hidden_state_slot_keys") in both the DeepSeek-V2 patch and its unit tests. This ensures the correct relay protocol is chosen even when the pinned main checkout and the release report the same vLLM version. Feedback on the PR notes that a release notes fragment is required for this user-facing change in accordance with the repository style guide.
| if vllm_version_is("0.34.0"): | ||
| # Choose the relay protocol by capability because the pinned main checkout | ||
| # and the release can report the same vLLM version. | ||
| if not hasattr(EagleModelMixin, "aux_hidden_state_slot_keys"): |
There was a problem hiding this comment.
According to the repository style guide, every user-facing pull request must include a release notes fragment under release_notes/fragments/<PR number>.yaml following the template in release_notes/TEMPLATE.yaml. Since this PR fixes a launch failure on Qwen3.6 MXFP8 TP2, it is user-facing and requires a release notes fragment describing the user-visible symptom.
References
- Every user-facing PR must add
release_notes/fragments/<PR number>.yamlfollowingrelease_notes/TEMPLATE.yaml. (link)
|
Last updated: 2026-12-01 01:08 UTC+8 for commit ci-gate failed. Reason:
See the workflow run for full logs. This comment is updated in place on each new failure and marked as passed once the gate passes (it is kept for history, not deleted). |
Signed-off-by: Tugrahan Karakadioglu <104067096+tgrhn@users.noreply.github.com>
Signed-off-by: Tugrahan Karakadioglu <104067096+tgrhn@users.noreply.github.com>
80f5afb to
1c753ff
Compare
What this PR does / why we need it?
On the pinned vLLM main commit, a Qwen3.6 MXFP8 TP2 launch failed while eagerly importing Ascend's worker patches. The DeepSeek patch selected the legacy relay using the version label
0.34.0and tried to copyEagleModelMixin._aux_upstream_total_cached, which is absent on that core revision.Detect the runner-managed relay using
EagleModelMixin.aux_hidden_state_slot_keysand use the existing decoder subclass path when that API is available. Keep the existing mixin-member copy path for the release API. Align the DeepSeek PP relay test fixtures with the same distinction.How was this patch tested?
Reproduced the import failure on a Qwen3.6-35B-A3B MXFP8 launcher with target graphs and each MTP draft execution mode. With the patch the launch advanced past worker patch import.
tests/ut/patch/worker/test_patch_deepseek_v2.pyon the pinned core: 54 passed.vLLM main: vllm-project/vllm@c410543