-
Notifications
You must be signed in to change notification settings - Fork 533
Bump torch-npu version to 2.5.1.post1.dev20250528 #1242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs/source/installation.md
Outdated
| # Install vLLM | ||
| git clone --depth 1 --branch |vllm_version| https://github.com/vllm-project/vllm | ||
| cd vllm | ||
| export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi |
This should move to vLLM Ascend
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modified
| pybind11_cmake_path = (subprocess.check_output( | ||
| [python_executable, "-m", "pybind11", | ||
| "--cmake"]).decode().strip()) | ||
| "--cmakedir"]).decode().strip()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why this change is required? How did this work before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is not modified, the following CI exception will be triggered:
https://github.com/vllm-project/vllm-ascend/actions/runs/15676188937/job/44156927753
In the update of pybind11 2.6.0 version, the support for the --cmake parameter was explicitly removed. Instead, it is recommended to use --cmakedir to obtain the CMake configuration file path.

|
LGTM. the unit test is merged just now. Please rebase and make it work as well. 69b817e |
|
BTW, we can add to |
|
Plz backport this to branch 0.9.1-dev, too |
modified |
ok |
1 similar comment
ok |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
… to 2.5.1.post1.dev20250528 (#1247) ### What this PR does / why we need it? Cherry-pick form #1235 1. Fix rank set in DP scenario. The new poc version of torch-npu support setting `ASCEND_RT_VISIBLE_DEVICES` dynamically, thus we could use the rank set in `DPEngineCoreProc` directly instead of calculating local rank across dp by hand in the patched `_init_data_parallel` Closes: #1170 2. Bump torch-npu version to 2.5.1.post1.dev20250528 Closes: #1242 Closes: #1232 ### How was this patch tested? CI passed with new added test. --------- Signed-off-by: Icey <1790571317@qq.com> Signed-off-by: MengqingCao <cmq0113@163.com> Co-authored-by: Icey <1790571317@qq.com>
…1.post1.dev20250528 (vllm-project#1235) 1. Fix rank set in DP scenario. The new poc version of torch-npu support setting `ASCEND_RT_VISIBLE_DEVICES` dynamically, thus we could use the rank set in `DPEngineCoreProc` directly instead of calculating local rank across dp by hand in the patched `_init_data_parallel` Closes: vllm-project#1170 2. Bump torch-npu version to 2.5.1.post1.dev20250528 Closes: vllm-project#1242 Closes: vllm-project#1232 CI passed with new added test. --------- Signed-off-by: MengqingCao <cmq0113@163.com> Signed-off-by: Icey <1790571317@qq.com> Co-authored-by: Icey <1790571317@qq.com>
…1.post1.dev20250528 (vllm-project#1235) ### What this PR does / why we need it? 1. Fix rank set in DP scenario. The new poc version of torch-npu support setting `ASCEND_RT_VISIBLE_DEVICES` dynamically, thus we could use the rank set in `DPEngineCoreProc` directly instead of calculating local rank across dp by hand in the patched `_init_data_parallel` Closes: vllm-project#1170 2. Bump torch-npu version to 2.5.1.post1.dev20250528 Closes: vllm-project#1242 Closes: vllm-project#1232 ### How was this patch tested? CI passed with new added test. --------- Signed-off-by: MengqingCao <cmq0113@163.com> Signed-off-by: Icey <1790571317@qq.com> Co-authored-by: Icey <1790571317@qq.com>
…1.post1.dev20250528 (vllm-project#1235) ### What this PR does / why we need it? 1. Fix rank set in DP scenario. The new poc version of torch-npu support setting `ASCEND_RT_VISIBLE_DEVICES` dynamically, thus we could use the rank set in `DPEngineCoreProc` directly instead of calculating local rank across dp by hand in the patched `_init_data_parallel` Closes: vllm-project#1170 2. Bump torch-npu version to 2.5.1.post1.dev20250528 Closes: vllm-project#1242 Closes: vllm-project#1232 ### How was this patch tested? CI passed with new added test. --------- Signed-off-by: MengqingCao <cmq0113@163.com> Signed-off-by: Icey <1790571317@qq.com> Co-authored-by: Icey <1790571317@qq.com>
What this PR does / why we need it?
Related to #1232
How was this patch tested?
CI passed with new added test.