Skip to content

【NPU】Added patch update verification for NPU CI#316

Open
yzeyu71 wants to merge 3 commits into
vllm-project:ascendfrom
yzeyu71:feat/ci-npu-patch
Open

【NPU】Added patch update verification for NPU CI#316
yzeyu71 wants to merge 3 commits into
vllm-project:ascendfrom
yzeyu71:feat/ci-npu-patch

Conversation

@yzeyu71

@yzeyu71 yzeyu71 commented Jul 2, 2026

Copy link
Copy Markdown

Summary

  1. The configuration and code updates of the NPU environment in CI will be extracted into the script for execution, which is convenient for subsequent updates.

  2. CI adds judgment, and applies to the corresponding component when there is a patch update in docker/npu-patch/

  3. pipeline-npu.yaml will execute in a separate buildkite pipeline vime NPU CI and is deleted from the VIME CI.

  4. update the image to the latest version quay.io/ascend/vime:0.3.0-a3-vllm0.22.1rc1

Test result

1、update patch apply in the docker success
image
2、Vime NPU CI

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request introduces a pre-commit lint step and a new script, update-npu-environment.sh, to manage and apply NPU environment patches dynamically within the Buildkite pipeline. While these additions improve the CI workflow, several critical issues were identified in the review. Specifically, the patch application check logic needs to be reversed to work correctly, a typo in the NPU device environment variable name must be fixed, and the script should be sourced rather than executed to persist environment variables. Additionally, leftover sleep 3600 debugging statements should be removed to prevent pipeline hangs, the new vllm_ascend_test.patch needs to be registered in the configuration, and the unused verify_all_patches function should be addressed.

Comment thread .buildkite/scripts/update-npu-environment.sh
Comment thread .buildkite/scripts/update-npu-environment.sh
Comment thread .buildkite/pipeline-npu.yaml
Comment thread .buildkite/pipeline-npu.yaml
Comment thread .buildkite/scripts/update-npu-environment.sh
Comment thread .buildkite/scripts/update-npu-environment.sh Outdated
@yzeyu71 yzeyu71 force-pushed the feat/ci-npu-patch branch 7 times, most recently from 1607c9e to fbf7230 Compare July 3, 2026 03:07
1. The NPU environment update and modification are extracted into the script for execution
2. CI adds judgment, and applies to the corresponding component when there is a patch update

Signed-off-by: yangzeyu <532183776@qq.com>
@yzeyu71 yzeyu71 force-pushed the feat/ci-npu-patch branch 12 times, most recently from f78e666 to 167ec9c Compare July 6, 2026 02:40
Signed-off-by: yangzeyu <532183776@qq.com>
@yzeyu71 yzeyu71 force-pushed the feat/ci-npu-patch branch 3 times, most recently from 9ad9168 to 8f5739a Compare July 7, 2026 09:29
Signed-off-by: yangzeyu <532183776@qq.com>
@yzeyu71 yzeyu71 force-pushed the feat/ci-npu-patch branch from 8f5739a to 374ac33 Compare July 7, 2026 09:58
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.

1 participant