Repository navigation
Conversation
Add the vllm-project#23961 release fragment for the dependency upgrade and graph compatibility fixes. The fragment parses successfully and the diff has no whitespace errors. Signed-off-by: t00911734 <tangdafu@huawei.com>
|
/e2e tests/e2e/pull_request/four_card/context_parallel/pool/test_deepseek_v4_pool.py tests/e2e/pull_request/four_card/context_parallel/test_accuracy_v2.py tests/e2e/pull_request/four_card/context_parallel/test_deepseek_v4.py tests/e2e/pull_request/four_card/model_runner_v2/test_deepseek_v4.py tests/e2e/pull_request/four_card/model_runner_v2/test_qwen38_pp_mtp_prefix_cache.py tests/e2e/pull_request/one_card/_310p/test_dense_model_310p.py tests/e2e/pull_request/one_card/_310p/test_embedding_310p.py tests/e2e/pull_request/one_card/lora/test_llama32_lora.py tests/e2e/pull_request/one_card/lora/test_lora_with_spec_decode.py tests/e2e/pull_request/one_card/lora/test_olmoe_lora.py tests/e2e/pull_request/one_card/model_runner_v2/test_deepseek_mtp.py tests/e2e/pull_request/one_card/model_runner_v2/test_deepseek_v2_lite_w8a8_basic.py tests/e2e/pull_request/two_card/lora/test_qwen35_4b_multi_lora_mtp_aclgraph.py tests/e2e/pull_request/two_card/lora/test_qwen35_densemodel_lora_tp.py tests/e2e/pull_request/two_card/model_runner_v2/test_data_parallel.py tests/e2e/pull_request/two_card/model_runner_v2/test_qwen3_5_eagle3.py tests/e2e/pull_request/two_card/pooling/test_qwen3_embedding_mrv2.py tests/e2e/pull_request/two_card/ops/test_bgmv_expand.py [Bot]: e2e command triggered. See workflow run for details. |
|
👋 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 |
There was a problem hiding this comment.
Code Review
This pull request updates the pinned PyTorch and TorchNPU dependency versions to 2.13.0, along with compatible versions of torchvision, torchaudio, and memfabric/memcache-hybrid. Additionally, it refactors several custom operators (such as bgmv_expand, sgmv_expand, mla_preprocess, and dispatch_ffn_combine) to update their output tensors in-place and return void instead of returning tensors, allowing AOTAutograd to properly functionalize the writes. Corresponding meta-kernels, Python wrappers, and unit tests have been updated to match these new signatures. The fake implementation for RoPE has also been updated to return fresh contiguous tensors, cloning inputs when necessary to preserve them. I have no feedback to provide as there are no review comments to evaluate.
Coverage
More info see: Summary |
|
/e2e tests/e2e/pull_request/four_card/context_parallel/pool/test_deepseek_v4_pool.py tests/e2e/pull_request/four_card/context_parallel/test_accuracy_v2.py tests/e2e/pull_request/four_card/context_parallel/test_deepseek_v4.py tests/e2e/pull_request/four_card/model_runner_v2/test_deepseek_v4.py tests/e2e/pull_request/four_card/model_runner_v2/test_qwen38_pp_mtp_prefix_cache.py tests/e2e/pull_request/one_card/_310p/test_dense_model_310p.py tests/e2e/pull_request/one_card/_310p/test_embedding_310p.py tests/e2e/pull_request/one_card/lora/test_llama32_lora.py tests/e2e/pull_request/one_card/lora/test_lora_with_spec_decode.py tests/e2e/pull_request/one_card/lora/test_olmoe_lora.py tests/e2e/pull_request/one_card/model_runner_v2/test_deepseek_mtp.py tests/e2e/pull_request/one_card/model_runner_v2/test_deepseek_v2_lite_w8a8_basic.py tests/e2e/pull_request/two_card/lora/test_qwen35_4b_multi_lora_mtp_aclgraph.py tests/e2e/pull_request/two_card/lora/test_qwen35_densemodel_lora_tp.py tests/e2e/pull_request/two_card/model_runner_v2/test_data_parallel.py tests/e2e/pull_request/two_card/model_runner_v2/test_qwen3_5_eagle3.py tests/e2e/pull_request/two_card/pooling/test_qwen3_embedding_mrv2.py tests/e2e/pull_request/two_card/ops/test_bgmv_expand.py [Bot]: e2e command triggered. See workflow run for details. |
|
Last updated: 2026-12-04 02:33 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). Missing owner approvals. Every changed file needs one approval from its CODEOWNERS owner(s):
Unclaimed module touched (1 file). These files have no CODEOWNERS owner yet, so no approval is required for them; maintainers will handle claiming:
|
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
|
/run |
28cd096 to
2b01961
Compare
|
/run |
|
/run |
a383b4b to
52d5b68
Compare
|
/run |
|
/rerun Rerun (failed jobs only):
|
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Apply the net code, documentation and test changes from vllm-project#22603 at 2ca76fe on the rebuilt integration branch. Source release fragments are consolidated in PR 23961. Runtime and hardware validation remain for the combined CI run. Signed-off-by: t00911734 <tangdafu@huawei.com>
Apply the net code, documentation and test changes from vllm-project#24292 at e779ada on the rebuilt integration branch. Source release fragments are consolidated in PR 23961. Runtime and hardware validation remain for the combined CI run. Signed-off-by: t00911734 <tangdafu@huawei.com>
Apply the net code, documentation and test changes from vllm-project#23557 at 84e541f on the rebuilt integration branch. Source release fragments are consolidated in PR 23961. Runtime and hardware validation remain for the combined CI run. Co-authored-by: ZT-AIA <1028681969@qq.com> Co-authored-by: yanhao <1537360619@qq.com> Co-authored-by: Yaphets24 <d_mym0618@163.com> Signed-off-by: t00911734 <tangdafu@huawei.com>
Apply the net code, documentation and test changes from vllm-project#24142 at df481f8 on the rebuilt integration branch. Source release fragments are consolidated in PR 23961. Runtime and hardware validation remain for the combined CI run. Signed-off-by: t00911734 <tangdafu@huawei.com>
Keep the previously requested MemFabric 20261128, Memcache 20261201 and XLite rc7.dev213 pins. Add the existing Mega AOT registry annotation and the default 600-second scheduling estimate, and consolidate user-facing release notes under PR 23961. The rebuilt stack contains the latest net changes from PRs 22603, 24292, 23557 and 24142 plus these integration adjustments; the old extra Engram test patch is retained only in the backup branch. Validation: five isolated AOT tests passed; target mypy checks passed for Python 3.10, 3.11 and 3.12; all 23 changed Python files and the startup script parsed; complete coverage configuration and A2 routing passed with 229/229 registered E2E files. Reversing the four source patches in an isolated index exactly recovered the upstream base tree. Full format checks retain the known Windows hook limitations. NPU validation is CI only. Signed-off-by: t00911734 <tangdafu@huawei.com>
The workspace-lifetime change in PR 23557 added a // comment inside EXEC_NPU_CMD. Backslash-newline splicing occurs before comment removal, so the comment consumes the remaining macro body including its closing do/while. Device extension builds fail with expected-while and unmatched-brace errors before any E2E case starts. Use a block comment and retain the intended workspace tensor lifetime. Validated with libclang 18: the original real macro token stream lacks the closing while and the minimal C++17 probe reproduces expected-while errors; the fixed token stream includes the complete body and the probe has no syntax errors. All ten failed A3 shards in CI 46887844168 reached the same device-build failure. git diff --check and applicable lint checks pass; full local format checks retain the known Windows dependency limitations. Full NPU build validation remains for CI. Signed-off-by: t00911734 <tangdafu@huawei.com>
torch-npu 2.13.0 can allocate the first shared-expert temporary outside the graph pool when the input wait is enqueued from the auxiliary stream. Replaying the graph can then read a freed SwiGLU input. Enqueue the same event wait on the shared stream before entering its context. Check the calling stream for the input and router waits in the existing MoE regression test. The DeepSeek multistream TP2 generation test passed with dummy weights on two A3 NPUs with torch-npu 2.10.0.post7 and 2.13.0. Signed-off-by: t00911734 <tangdafu@huawei.com> (cherry picked from commit a3e52b3) Signed-off-by: t00911734 <tangdafu@huawei.com>
52d5b68 to
0576b3a
Compare
|
/run |
|
/rerun Rerun (failed jobs only):
|
What this PR does / why we need it?
Integrate the PyTorch/TorchNPU 2.13 upgrade with the current graph-operator, distributed and AOT-cache compatibility fixes so they can be validated together. The stack is rebuilt linearly on
mainat9370b515a0a6dce2b406e66b7f8db9fa24bc5f49, with one commit per source PR, one integration-metadata commit and a minimal ACLNN macro build fix.2ca76fe8eee3fc8544733a900d0363792204d097e779ada89235965ccf03ab97676a7e2301e539b484e541f9bc8929393bdf34f6ea381d2d101959c1df481f8dcaa0b11dcb68821e7122d1b0d52ef0a0Runtime/build pins are PyTorch/TorchNPU
2.13.0, TorchVision0.28.0, TorchAudio2.11.0,memcache-hybrid===1.5.0.dev20261201andmemfabric-hybrid===1.5.0.dev20261128. Development and nightly requirements both usexlite==0.2.0rc7.dev213.The ACLNN command macro uses a block comment for its workspace-lifetime note. A line comment followed by a continuation backslash otherwise consumes the rest of the macro and prevents device-extension compilation. The workspace tensor lifetime itself is unchanged.
Integration metadata adds the explicit Callable registry type required by mypy, registers the new E2E file with the existing 600-second default scheduling estimate, and consolidates release notes in
release_notes/fragments/23961.yaml. The estimate is for load balancing, not a hardware measurement. The earlier separate Engram/Gloo test modification is retained in the backup branch; this rebuild takes that file from the selected main base.The Mega AOT guard targets upstream vLLM's existing environment getter at platform startup because worker-only initialization can run after cache hashing and backend selection. It clears a cached getter, is idempotent, has process lifetime and adds no per-request work. Ordinary FX AOT caching and ACL Graph controls remain available. No new environment variable/configuration key is introduced. Remove the patch when supported upstream versions supply compiler-capability checks, complete-artifact validation and FX fallback. HCCL copy overhead, 310P wrapper copies and NPU warm-start behavior require hardware validation.
Does this PR introduce any user-facing change?
Yes. Reinstall the pinned runtime/build dependencies before rebuilding the Ascend extension, and reinstall XLite before using XliteGraph. Ascend disables
VLLM_USE_MEGA_AOT_ARTIFACTeven when explicitly set to1; existing Mega cache entries are bypassed and the next startup may recompile. The ordinary AOT cache remains supported. Release notes are consolidated inrelease_notes/fragments/23961.yaml.How was this patch tested?
52d5b68351, rebased ontomainat9370b515a0. CI 46898397717 has passed pre-commit and select-tests. Resolve source snapshot succeeded using event base9370b515a0, and all 229 E2E files passed configuration coverage. Both CPU UT variants have started; device-build/NPU results remain pending. No content conflicts remain.a383b4b925passed pre-commit but stopped in Resolve source snapshot: its event base wasdaa051092b, while main had changed the A3 CANN image/cache configuration in Revert "[Feature] Bump CANN base image timestamp to 9.3.0_20261201230000" #24283. The workflow deliberately rejected mixing those CSRC control versions. CPU UT and NPU jobs were skipped, so that run did not validate the macro fix on hardware. CODEOWNERS approvals remain independently required.git diff --checkpasses, 5 isolated Mega AOT tests pass, and coverage configuration still validates with 229/229 E2E files registered. Ran fullbash format.sh ciagain with the same Windows hook limitations; no NPU result is claimed.2b01961cd6passed pre-commit, selection and both CPU UT variants. All ten A3 two-card/four-card shards failed during device-extension installation, before tests ran, with expected-while/unmatched-brace errors from the sharedEXEC_NPU_CMDmacro. Other shards were still running when inspected.while (false)tokens were absent and the probe reproduced the syntax errors; after replacing//with a block comment, the complete macro body is present and the probe has no syntax errors. Ran fullbash format.sh ciagain: applicable checks, including clang-format, passed; the same Windows/bin/bash, ShellCheck and hook-regex limitations remain. Full NPU extension compilation is CI only.tests/ut/patch/platform/test_patch_mega_aot.pyusing an isolated Windows / Python 3.12 / PyTorch 2.13 CPU environment withpytest --noconftest -p no:cacheprovider -q. This exercises the startup override without device-dependent patch imports.--follow-imports skip --check-untyped-defs --python-version, targeting Python 3.10, 3.11 and 3.12: all passed.coverage.pyconfiguration validation and the new test's routing preview: passed, 229/229 E2E files registered, routed to a one-card A2 runner. Local Windows checks used slash-separated path strings to match Linux CI.78b6808fde: in an isolated index, reversing the four source patches in reverse order exactly recovered that upstream main tree. Verified the final 40 changed paths belong to the four PRs or the documented integration metadata; parsed all 23 changed Python files, compiled the embedded startup script, checked dependency pins, PO string syntax and release YAML, and passedgit diff --check. No merge commits or unmerged entries remain.bash format.sh ci: Ruff, formatting, codespell, typos, clang-format, Markdown lint, Actionlint and the available repository checks passed. The Windows environment still lacks/bin/bash, ShellCheck andregexin the forbidden-import hook interpreter; full local lint therefore did not pass. Linux CI and documentation builds must validate the final stack.Checklist
Testing
Boundary / edge-case coverage across the combined stack
Regression tests included from the source PRs
Startup override error/fallback behavior tested locally
Tests assert startup state, independent outputs and cache reuse
Combined full CPU UT and NPU tests
Performance impact measured
vLLM main: vllm-project/vllm@65ada0c