可帮助昇腾用户在模型微调、评估、强化学习及部署等场景提升体验,支持类Transformer、混合专家、嵌入、多模态等大语言模型在Ascend NPU上无缝运行,是vLLM社区推荐的昇腾后端支持方式。【此简介由AI生成】
| Files | Last commit | Last update |
|---|---|---|
[Doc][Release] Add release note skill (#6824) ### What this PR does / why we need it? This PR adds the releaseing note skills: - SKILL.md: vLLM Ascend Releasing Note Writer - references/ref-past-release-notes-highlight.md: And also add a output/v0.13.0 examples which was used by https://github.com/vllm-project/vllm-ascend/commit/2da476d82f048816095794a9c0ac45126dc251af Inspired: https://github.com/simon-mo/release-notes-writing/ ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? - vLLM version: v0.15.0 - vLLM main: https://github.com/vllm-project/vllm/commit/83b47f67b1dfad505606070ae4d9f83e50ad4ebd Co-authored-by: esmeetu <jasonailu87@gmail.com> --------- Signed-off-by: Yikun Jiang <yikunkero@gmail.com> | 8 months ago | |
[Doc][Misc] Refactor skill documentation and add Claude support instructions (#6817) ### What this PR does / why we need it? This PR refactors the documentation for vLLM Ascend skills. - It renames and moves the vllm-ascend-model-adapter skill's README to serve as a new top-level README for the .agents directory. - It adds instructions on how to use the Ascend skills with Claude, including a new README in the .claude directory. - It updates .gitignore to exclude skills copied for Claude's use. - Add main2main skill This improves the documentation structure, making it more organized and providing clear instructions for developers using these skills with different tools. ### Does this PR introduce _any_ user-facing change? No, this PR contains only documentation and repository configuration changes. It does not affect any user-facing code functionality. ### How was this patch tested? These changes are documentation-only and do not require specific testing. The correctness of the instructions is being verified through this review. - vLLM version: v0.15.0 - vLLM main: https://github.com/vllm-project/vllm/commit/83b47f67b1dfad505606070ae4d9f83e50ad4ebd --------- Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com> | 8 months ago | |
[CI] update gemini styleguide (#6463) Let gemini always add pr title and commit message summary. - vLLM version: v0.14.1 - vLLM main: https://github.com/vllm-project/vllm/commit/dc917cceb877dfd13f98c538c4c96158047d98bd Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com> | 9 months ago | |
[CI] Add label and comment to run e2e test (#6927) ### What this PR does / why we need it? This PR updates the E2E-Full workflow (pr_test_full.yaml) for the vllm-ascend project. The workflow: - Provides /e2e xxx comment command and ready of lable functionality for on-demand test triggering with test categorization (single-card, multi-card 2/4, and 310P tests) - Enforces permission checks to ensure only authorized users (PR author or collaborators with write access) can trigger E2E tests via comments ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? - vLLM version: v0.16.0 - vLLM main: https://github.com/vllm-project/vllm/commit/15d76f74e2fdb12a95ea00f0ca283acf6219a2b7 --------- Signed-off-by: tfhddd <2272751277@qq.com> Signed-off-by: hfadzxy <starmoon_zhang@163.com> Co-authored-by: tfhddd <2272751277@qq.com> | 7 months ago | |
[main][Docs] Fix typos across documentation (#6728) ## Summary Fix typos and improve grammar consistency across 50 documentation files. ### Changes include: - Spelling corrections (e.g., "Facotory" → "Factory", "certainty" → "determinism") - Grammar improvements (e.g., "multi-thread" → "multi-threaded", "re-routed" → "re-run") - Punctuation fixes (semicolon consistency in filter parameters) - Code style fixes (correct flag name --num-prompts instead of --num-prompt) - Capitalization consistency (e.g., "python" → "Python", "ascend" → "Ascend") - vLLM version: v0.15.0 - vLLM main: https://github.com/vllm-project/vllm/commit/9562912cead1f11e8540fb91306c5cbda66f0007 --------- Signed-off-by: SlightwindSec <slightwindsec@gmail.com> | 8 months ago | |
[Misc] Cleanup useless file and code (#5877) Remove useless file and code - vLLM version: v0.13.0 - vLLM main: https://github.com/vllm-project/vllm/commit/bde38c11df0ea066a740efe9b77fff5418be45df Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com> | 9 months ago | |
[Feature] [310p] Add npu_causal_conv1d_310 AscendC Custom Op (#7798) ### What this PR does / why we need it? 1. New AscendC Custom Operator: Added the npu_causal_conv1d_310 custom operator specifically for Ascend 310P hardware, including host-side tiling, kernel implementation, and PyTorch binding. 2. Build System Adjustments: Updated CMakeLists.txt to conditionally compile vllm_ascend_kernels and link libraries based on the detected SOC version, specifically skipping kernel compilation for Ascend 310P. 3. Build Script Update: Modified csrc/build_aclnn.sh to enable causal_conv1d_v310 for Ascend 310P series. 4. Meta Registration Logic: Updated vllm_ascend/meta_registration.py to conditionally register meta implementations, excluding certain operators when running on Ascend 310P. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? npu_causal_conv1d_310 Op E2E Test - vLLM version: v0.18.0 - vLLM main: https://github.com/vllm-project/vllm/commit/35141a7eeda941a60ad5a4956670c60fd5a77029 --------- Signed-off-by: pu-zhe <zpuaa@outlook.com> | 7 months ago | |
[CI] fetch log from pod (#7812) ### What this PR does / why we need it? This patch provides the ability to pull logs from multi-node tests to GitHub Actions. - For most issues, the stdout pop-up logs from GitHub actions are sufficient (this log always represents the logs from the first node). - If the logs from a first node are no longer sufficient to provide effective logging information, see the summary of you jobs to download log archive for the corresponding test, which includes the framework-side logs and plog information for each node, structured as follows: ```shell . ├── node0 │ ├── root │ │ └── ascend │ │ └── log │ └── var │ └── log │ └── vllm-deepseek-v3-0f233d-0_logs.txt └── node1 ├── root │ └── ascend │ └── log └── var └── log └── vllm-deepseek-v3-0f233d-0-1_logs.txt ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? - vLLM version: v0.18.0 - vLLM main: https://github.com/vllm-project/vllm/commit/35141a7eeda941a60ad5a4956670c60fd5a77029 --------- Signed-off-by: wangli <wangli858794774@gmail.com> | 7 months ago | |
[ModelLoader][Feature] Add rfork support for fast model loading (#7392) ### What this PR does / why we need it? Support an new load format: RFORK For implementation details of this feature, please refer to #7441 ### Does this PR introduce _any_ user-facing change? add an new options for load-format: rfork e.g. bash vllm serve /workspace/models/Qwen3-8B --load-format rfork ### How was this patch tested? - vLLM version: v0.17.0 - vLLM main: https://github.com/vllm-project/vllm/commit/4034c3d32e30d01639459edd3ab486f56993876d Signed-off-by: Marck <1412354149@qq.com> | 7 months ago | |
[BugFix][Main][KV Pool]Fix KV transfer Put Logic (#7717) ### What this PR does / why we need it? Before when we do put for KV Pool, we find the first non-existing key and put all the blocks starting from that index; however, if the prefix cache blocks is from another request, and some of the blocks are evicted due to LRU, we will be putting blocks that still exist in the pool, and causing MooncakeStore printing unnecessary logs in master service. What this PR does: 1. Now we lookup all the keys and only put the ones that are missing. 2. Fix lookup_scheduler in pool_worker so it handles GQA correctly. 3. Fixes a few existing typos 4. Add UT, written by codex ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? - vLLM version: v0.18.0 - vLLM main: https://github.com/vllm-project/vllm/commit/35141a7eeda941a60ad5a4956670c60fd5a77029 --------- Signed-off-by: Pz1116 <zpbzpb123123@gmail.com> Co-authored-by: DreamerLeader <2270923832@qq.com> Co-authored-by: fems14 <1804143737@qq.com> | 7 months ago | |
[Lint]Add lint hooks for clang-format, shellcheck, forbidden imports, and boolean context manager checks (#7511) ### What this PR does / why we need it? This PR introduces several upstream vllm-aligned lint hooks into vllm-ascend and makes them part of the actual pre-commit flow. Main changes in this PR: - add check-boolean-context-manager to catch boolean expressions in with statements - add check-forbidden-imports to forbid direct re imports and disallowed direct triton imports - enable shell script linting through tools/shellcheck.sh - add root .clang-format aligned with upstream vllm, enable clang-format in pre-commit, temporarily **exclude all csrc/**** from clang-format to avoid bringing a large native code reformat into this PR This PR focuses on landing the smaller and immediately useful lint alignment first, without mixing in the larger requirements-management migration. ### Does this PR introduce _any_ user-facing change? No. This PR only updates repository lint configuration, static checks, and internal import/style enforcement. It does not change runtime behavior or public interfaces. ### How was this patch tested? Tested locally in the project virtual environment. Commands used: bash bash format.sh Verified checks passed: bash ruff check...............................................................Passed ruff format..............................................................Passed codespell................................................................Passed typos....................................................................Passed clang-format.............................................................Passed Lint GitHub Actions workflow files.......................................Passed Lint shell scripts.......................................................Passed Lint PNG exports from excalidraw.........................................Passed Check for spaces in all filenames........................................Passed Enforce __init__.py in Python packages...................................Passed Check for forbidden imports..............................................Passed Check for boolean ops in with-statements.................................Passed Suggestion...............................................................Passed - hook id: suggestion - duration: 0s To bypass pre-commit hooks, add --no-verify to git commit. **note:** clang-format is enabled but currently excludes all csrc/** - vLLM version: v0.17.0 - vLLM main: https://github.com/vllm-project/vllm/commit/8b6325758cce5f9c36d38f2462edbd368b97a07c --------- Signed-off-by: MrZ20 <2609716663@qq.com> | 7 months ago | |
[BugFix][P/D]Fix layerwise connector out of memory during large buffer transfer (#7834) ### What this PR does / why we need it? Fix layerwise connector out of memory during large buffer transfer. ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? By nightly. - vLLM version: v0.18.0 - vLLM main: https://github.com/vllm-project/vllm/commit/35141a7eeda941a60ad5a4956670c60fd5a77029 Signed-off-by: liziyu <liziyu16@huawei.com> | 7 months ago | |
[Lint]Add lint hooks for clang-format, shellcheck, forbidden imports, and boolean context manager checks (#7511) ### What this PR does / why we need it? This PR introduces several upstream vllm-aligned lint hooks into vllm-ascend and makes them part of the actual pre-commit flow. Main changes in this PR: - add check-boolean-context-manager to catch boolean expressions in with statements - add check-forbidden-imports to forbid direct re imports and disallowed direct triton imports - enable shell script linting through tools/shellcheck.sh - add root .clang-format aligned with upstream vllm, enable clang-format in pre-commit, temporarily **exclude all csrc/**** from clang-format to avoid bringing a large native code reformat into this PR This PR focuses on landing the smaller and immediately useful lint alignment first, without mixing in the larger requirements-management migration. ### Does this PR introduce _any_ user-facing change? No. This PR only updates repository lint configuration, static checks, and internal import/style enforcement. It does not change runtime behavior or public interfaces. ### How was this patch tested? Tested locally in the project virtual environment. Commands used: bash bash format.sh Verified checks passed: bash ruff check...............................................................Passed ruff format..............................................................Passed codespell................................................................Passed typos....................................................................Passed clang-format.............................................................Passed Lint GitHub Actions workflow files.......................................Passed Lint shell scripts.......................................................Passed Lint PNG exports from excalidraw.........................................Passed Check for spaces in all filenames........................................Passed Enforce __init__.py in Python packages...................................Passed Check for forbidden imports..............................................Passed Check for boolean ops in with-statements.................................Passed Suggestion...............................................................Passed - hook id: suggestion - duration: 0s To bypass pre-commit hooks, add --no-verify to git commit. **note:** clang-format is enabled but currently excludes all csrc/** - vLLM version: v0.17.0 - vLLM main: https://github.com/vllm-project/vllm/commit/8b6325758cce5f9c36d38f2462edbd368b97a07c --------- Signed-off-by: MrZ20 <2609716663@qq.com> | 7 months ago | |
[Doc][Misc] Refactor skill documentation and add Claude support instructions (#6817) ### What this PR does / why we need it? This PR refactors the documentation for vLLM Ascend skills. - It renames and moves the vllm-ascend-model-adapter skill's README to serve as a new top-level README for the .agents directory. - It adds instructions on how to use the Ascend skills with Claude, including a new README in the .claude directory. - It updates .gitignore to exclude skills copied for Claude's use. - Add main2main skill This improves the documentation structure, making it more organized and providing clear instructions for developers using these skills with different tools. ### Does this PR introduce _any_ user-facing change? No, this PR contains only documentation and repository configuration changes. It does not affect any user-facing code functionality. ### How was this patch tested? These changes are documentation-only and do not require specific testing. The correctness of the instructions is being verified through this review. - vLLM version: v0.15.0 - vLLM main: https://github.com/vllm-project/vllm/commit/83b47f67b1dfad505606070ae4d9f83e50ad4ebd --------- Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com> | 8 months ago | |
add dispatch_gmm_combine kernel (#3532) ### What this PR does / why we need it? This PR introduces the Ascend implementation of the dispatch_ffn_combine kernel and wires it into the vLLM-Ascend runtime, together with follow‑up fixes to ensure the kernel builds and runs correctly in CI. - Add full host and device implementation of the dispatch_ffn_combine kernel under csrc/dispatch_ffn_combine, including tiling logic, MOE routing helpers, and kernel utilities for quantized FFN dispatch. - Integrate the new kernel with the PyTorch binding (csrc/torch_binding.cpp, csrc/torch_binding_meta.cpp) and the Ascend runtime (vllm_ascend/ascend_forward_context.py, vllm_ascend/worker/model_runner_v1.py). - Extend fused MoE communication and token dispatch support in vllm_ascend/ops/fused_moe, adding methods/utilities needed by the new dispatch path. - Update quantization logic in vllm_ascend/quantization/w8a8_dynamic.py to support the new FFN dispatch flow. - Fix kernel build issues by adjusting csrc/build_aclnn.sh, CMake configuration, and include/namespace usage in the new kernel files. - Add an end‑to‑end nightly test tests/e2e/nightly/ops/test_dispatch_ffn_combine.py and helper utilities in vllm_ascend/utils.py to validate the new kernel. ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? - vLLM version: v0.12.0 - vLLM main: https://github.com/vllm-project/vllm/commit/v0.12.0 --------- Signed-off-by: mojave2 <chenchen145@huawei.com> Co-authored-by: wangxiyuan <wangxiyuan1007@gmail.com> | 10 months ago | |
[Lint]Style: reformat markdown files via markdownlint (#5884) ### What this PR does / why we need it? reformat markdown files via markdownlint - vLLM version: v0.13.0 - vLLM main: https://github.com/vllm-project/vllm/commit/bde38c11df0ea066a740efe9b77fff5418be45df --------- Signed-off-by: root <root@LAPTOP-VQKDDVMG.localdomain> Signed-off-by: MrZ20 <2609716663@qq.com> Co-authored-by: root <root@LAPTOP-VQKDDVMG.localdomain> | 9 months ago | |
[Lint]Add lint hooks for clang-format, shellcheck, forbidden imports, and boolean context manager checks (#7511) ### What this PR does / why we need it? This PR introduces several upstream vllm-aligned lint hooks into vllm-ascend and makes them part of the actual pre-commit flow. Main changes in this PR: - add check-boolean-context-manager to catch boolean expressions in with statements - add check-forbidden-imports to forbid direct re imports and disallowed direct triton imports - enable shell script linting through tools/shellcheck.sh - add root .clang-format aligned with upstream vllm, enable clang-format in pre-commit, temporarily **exclude all csrc/**** from clang-format to avoid bringing a large native code reformat into this PR This PR focuses on landing the smaller and immediately useful lint alignment first, without mixing in the larger requirements-management migration. ### Does this PR introduce _any_ user-facing change? No. This PR only updates repository lint configuration, static checks, and internal import/style enforcement. It does not change runtime behavior or public interfaces. ### How was this patch tested? Tested locally in the project virtual environment. Commands used: bash bash format.sh Verified checks passed: bash ruff check...............................................................Passed ruff format..............................................................Passed codespell................................................................Passed typos....................................................................Passed clang-format.............................................................Passed Lint GitHub Actions workflow files.......................................Passed Lint shell scripts.......................................................Passed Lint PNG exports from excalidraw.........................................Passed Check for spaces in all filenames........................................Passed Enforce __init__.py in Python packages...................................Passed Check for forbidden imports..............................................Passed Check for boolean ops in with-statements.................................Passed Suggestion...............................................................Passed - hook id: suggestion - duration: 0s To bypass pre-commit hooks, add --no-verify to git commit. **note:** clang-format is enabled but currently excludes all csrc/** - vLLM version: v0.17.0 - vLLM main: https://github.com/vllm-project/vllm/commit/8b6325758cce5f9c36d38f2462edbd368b97a07c --------- Signed-off-by: MrZ20 <2609716663@qq.com> | 7 months ago | |
[Doc] Add sphinx build for vllm-ascend (#55) ### What this PR does / why we need it? This patch enables the doc build for vllm-ascend - Add sphinx build for vllm-ascend - Enable readthedocs for vllm-ascend - Fix CI: - exclude vllm-empty/tests/mistral_tool_use to skip You need to agree to share your contact information to access this model which introduce in https://github.com/vllm-project/vllm/commit/314cfade02b28d50349c4df1a7ea0bbdaef589f1 - Install test req to fix https://github.com/vllm-project/vllm-ascend/actions/runs/13304112758/job/37151690770: vllm-empty/tests/mistral_tool_use/conftest.py:4: in <module> import pytest_asyncio E ModuleNotFoundError: No module named 'pytest_asyncio' - exclude docs PR ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? 1. test locally: bash # Install dependencies. pip install -r requirements-docs.txt # Build the docs and preview make clean; make html; python -m http.server -d build/html/ Launch browser and open http://localhost:8000/. 2. CI passed with preview: https://vllm-ascend--55.org.readthedocs.build/en/55/ Signed-off-by: Yikun Jiang <yikunkero@gmail.com> | 1 year ago | |
[Doc][Misc] Update AGENTS.md with sign-off and PR template requirements (#6892) ### What this PR does / why we need it? This PR enhances the AGENTS.md contribution guidelines with the following improvements: 1. **Add sign-off requirement** - All commits must include "Signed-off-by:" line using git commit -s 2. **Add PR title format** - Document the [Type][Module] Description format for PR titles 3. **Add PR template reference** - Guide contributors to follow .github/PULL_REQUEST_TEMPLATE.md 4. **Add linting check step** - Require running bash format.sh ci before pushing 5. **Add lint note for all file types** - Emphasize markdown files also need lint checking 6. **Add fork workflow guidance** - Clarify to push to fork repository, not main repository 7. **Clarify test section** - Provide specific examples for "How was this patch tested?" 8. **Add vLLM version note** - Warn about preserving auto-added vLLM version info ### Does this PR introduce _any_ user-facing change? No. This is a documentation-only update for contributors. ### How was this patch tested? - Verified the markdown formatting renders correctly - Confirmed all links and references are valid - Ran bash format.sh ci locally and all checks passed --- - vLLM version: v0.16.0 - vLLM main: https://github.com/vllm-project/vllm/commit/15d76f74e2fdb12a95ea00f0ca283acf6219a2b7 --------- Signed-off-by: realliujiaxu <realliujiaxu@163.com> | 8 months ago | |
[Doc][Feature] Add vLLM Ascend development guidelines AGETNS.md (#6797) ### What this PR does / why we need it? This PR adds a new document, AGENTS.md, which provides detailed development guidelines for contributors to the vLLM Ascend project. These guidelines cover code style, testing, NPU-specific considerations, and the contribution process to ensure code quality and consistency. ### Does this PR introduce _any_ user-facing change? No, this is a documentation-only update for developers. ### How was this patch tested? This is a documentation change and does not require testing. - vLLM version: v0.15.0 - vLLM main: https://github.com/vllm-project/vllm/commit/83b47f67b1dfad505606070ae4d9f83e50ad4ebd Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com> | 8 months ago | |
[Feature] [310p] Add npu_causal_conv1d_310 AscendC Custom Op (#7798) ### What this PR does / why we need it? 1. New AscendC Custom Operator: Added the npu_causal_conv1d_310 custom operator specifically for Ascend 310P hardware, including host-side tiling, kernel implementation, and PyTorch binding. 2. Build System Adjustments: Updated CMakeLists.txt to conditionally compile vllm_ascend_kernels and link libraries based on the detected SOC version, specifically skipping kernel compilation for Ascend 310P. 3. Build Script Update: Modified csrc/build_aclnn.sh to enable causal_conv1d_v310 for Ascend 310P series. 4. Meta Registration Logic: Updated vllm_ascend/meta_registration.py to conditionally register meta implementations, excluding certain operators when running on Ascend 310P. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? npu_causal_conv1d_310 Op E2E Test - vLLM version: v0.18.0 - vLLM main: https://github.com/vllm-project/vllm/commit/35141a7eeda941a60ad5a4956670c60fd5a77029 --------- Signed-off-by: pu-zhe <zpuaa@outlook.com> | 7 months ago | |
[1/2/N] Enable pymarkdown and python __init__ for lint system (#2011) ### What this PR does / why we need it? 1. Enable pymarkdown check 2. Enable python __init__.py check for vllm and vllm-ascend 3. Make clean code ### How was this patch tested? - vLLM version: v0.9.2 - vLLM main: https://github.com/vllm-project/vllm/commit/29c6fbe58cfa705c26ed1b38f262d5ade0b4f9ba --------- Signed-off-by: wangli <wangli858794774@gmail.com> | 1 year ago | |
[Doc] Update doc url link (#5781) Drop dev suffix for doc url. Rename url to https://docs.vllm.ai/projects/ascend - vLLM version: v0.13.0 - vLLM main: https://github.com/vllm-project/vllm/commit/2f4e6548efec402b913ffddc8726230d9311948d Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com> | 9 months ago | |
[Core] Init vllm-ascend (#3) ### What this PR does / why we need it? vLLM Ascend plugin (vllm-ascend) is a backend plugin for running vLLM on the Ascend NPU. This plugin is the recommended approach for supporting the Ascend backend within the vLLM community. It adheres to the principles outlined in the [RFC]: Hardware pluggable, providing a hardware-pluggable interface that decouples the integration of the Ascend NPU with vLLM. This patch also include changes to make CI work and use cache speed up e2e test, including: 1. Change push (post merge ci) and pull_request (pr ci) trigger branch to main 2. Make mypy work by ignore base_communicator and clear unused deps 3. Several improvements for vllm_ascend_test: - use cache (pip, ms, hf) speed up e2e test (25mins --> 5mins) - switch git clone command to action/checkout to speedup checkout and - Enable sv for pytest for better info dump - Remove network host to resole docker: conflicting ontions: cannot attach both user-defined and non-user-definednetwork-modes, which is a problem on docker 1.45 but not on 1.39. 4. Adapt MLA decode optimizations: https://github.com/vllm-project/vllm/commit/cabaf4eff3c7df30d785769d5a0a1fa1a1c48a8a ### Does this PR introduce _any_ user-facing change? Yes, init the PR. ### How was this patch tested? - This is the first PR to make ascend NPU work on vLLM. All code is tested on ascend with vLLM V0 Engine. - CI passed --------- Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com> Signed-off-by: Yikun Jiang <yikunkero@gmail.com> Co-authored-by: wangxiyuan <wangxiyuan1007@gmail.com> Co-authored-by: MengqingCao <cmq0113@163.com> Co-authored-by: wangshuai09 <391746016@qq.com> Co-authored-by: Shanshan Shen <467638484@qq.com> Co-authored-by: wangli <wangli858794774@gmail.com> | 1 year ago | |
[CI] Image build from cache (#7040) ## What Introduce Docker registry cache ( cache-from/cache-to) backed by GitHub Container Registry (ghcr.io) to accelerate scheduled and manual image builds. ### Workflow changes - Add cache_repo input (default: ghcr.io/vllm-project/vllm-ascend) to both _schedule_image_build.yaml and schedule_image_build_and_push.yaml, letting callers choose where cache layers are stored. - Add GHCR login step and packages: write permission so the runner can push cache manifests. - Derive a per-arch, per-suffix cache tag at build time (e.g. buildcache-openeuler-arm64) so caches never collide across matrix variants. ### Dockerfile layer-order optimisation Reorder layers in all Dockerfiles so the slow, rarely-changing steps (system packages, Mooncake, vLLM core) appear before the fast-changing COPY . /vllm-workspace/vllm-ascend/ step. This maximises cache-hit rate: rebuilding vllm-ascend from source no longer invalidates the upstream dependency layers. ### Additional Dockerfile tweaks: - Pre-install clang-15 (required by triton-ascend) in the same apt layer as other system deps. - Pre-install modelscope and ray before the vllm-ascend install so those layers are also cached. - Switch vLLM clone from --depth 1 to --filter=blob:none to avoid re-downloading on branch checkouts. - Move ARG SOC_VERSION / ENV declarations immediately before COPY . to avoid early cache invalidation. ## How does this patch tested see https://github.com/Potabk/vllm-ascend-fork/actions/runs/23038468201 in my personal repo ## Next steps Extend workflow_dispatch inputs to support optional ARM + Ubuntu build variants for nightly testing, while reusing the cache mechanism introduced here (same cache_repo / cache-tag convention). Signed-off-by: wangli <wangli858794774@gmail.com> | 7 months ago | |
[CI] Image build from cache (#7040) ## What Introduce Docker registry cache ( cache-from/cache-to) backed by GitHub Container Registry (ghcr.io) to accelerate scheduled and manual image builds. ### Workflow changes - Add cache_repo input (default: ghcr.io/vllm-project/vllm-ascend) to both _schedule_image_build.yaml and schedule_image_build_and_push.yaml, letting callers choose where cache layers are stored. - Add GHCR login step and packages: write permission so the runner can push cache manifests. - Derive a per-arch, per-suffix cache tag at build time (e.g. buildcache-openeuler-arm64) so caches never collide across matrix variants. ### Dockerfile layer-order optimisation Reorder layers in all Dockerfiles so the slow, rarely-changing steps (system packages, Mooncake, vLLM core) appear before the fast-changing COPY . /vllm-workspace/vllm-ascend/ step. This maximises cache-hit rate: rebuilding vllm-ascend from source no longer invalidates the upstream dependency layers. ### Additional Dockerfile tweaks: - Pre-install clang-15 (required by triton-ascend) in the same apt layer as other system deps. - Pre-install modelscope and ray before the vllm-ascend install so those layers are also cached. - Switch vLLM clone from --depth 1 to --filter=blob:none to avoid re-downloading on branch checkouts. - Move ARG SOC_VERSION / ENV declarations immediately before COPY . to avoid early cache invalidation. ## How does this patch tested see https://github.com/Potabk/vllm-ascend-fork/actions/runs/23038468201 in my personal repo ## Next steps Extend workflow_dispatch inputs to support optional ARM + Ubuntu build variants for nightly testing, while reusing the cache mechanism introduced here (same cache_repo / cache-tag convention). Signed-off-by: wangli <wangli858794774@gmail.com> | 7 months ago | |
[CI] Image build from cache (#7040) ## What Introduce Docker registry cache ( cache-from/cache-to) backed by GitHub Container Registry (ghcr.io) to accelerate scheduled and manual image builds. ### Workflow changes - Add cache_repo input (default: ghcr.io/vllm-project/vllm-ascend) to both _schedule_image_build.yaml and schedule_image_build_and_push.yaml, letting callers choose where cache layers are stored. - Add GHCR login step and packages: write permission so the runner can push cache manifests. - Derive a per-arch, per-suffix cache tag at build time (e.g. buildcache-openeuler-arm64) so caches never collide across matrix variants. ### Dockerfile layer-order optimisation Reorder layers in all Dockerfiles so the slow, rarely-changing steps (system packages, Mooncake, vLLM core) appear before the fast-changing COPY . /vllm-workspace/vllm-ascend/ step. This maximises cache-hit rate: rebuilding vllm-ascend from source no longer invalidates the upstream dependency layers. ### Additional Dockerfile tweaks: - Pre-install clang-15 (required by triton-ascend) in the same apt layer as other system deps. - Pre-install modelscope and ray before the vllm-ascend install so those layers are also cached. - Switch vLLM clone from --depth 1 to --filter=blob:none to avoid re-downloading on branch checkouts. - Move ARG SOC_VERSION / ENV declarations immediately before COPY . to avoid early cache invalidation. ## How does this patch tested see https://github.com/Potabk/vllm-ascend-fork/actions/runs/23038468201 in my personal repo ## Next steps Extend workflow_dispatch inputs to support optional ARM + Ubuntu build variants for nightly testing, while reusing the cache mechanism introduced here (same cache_repo / cache-tag convention). Signed-off-by: wangli <wangli858794774@gmail.com> | 7 months ago | |
[CI] Image build from cache (#7040) ## What Introduce Docker registry cache ( cache-from/cache-to) backed by GitHub Container Registry (ghcr.io) to accelerate scheduled and manual image builds. ### Workflow changes - Add cache_repo input (default: ghcr.io/vllm-project/vllm-ascend) to both _schedule_image_build.yaml and schedule_image_build_and_push.yaml, letting callers choose where cache layers are stored. - Add GHCR login step and packages: write permission so the runner can push cache manifests. - Derive a per-arch, per-suffix cache tag at build time (e.g. buildcache-openeuler-arm64) so caches never collide across matrix variants. ### Dockerfile layer-order optimisation Reorder layers in all Dockerfiles so the slow, rarely-changing steps (system packages, Mooncake, vLLM core) appear before the fast-changing COPY . /vllm-workspace/vllm-ascend/ step. This maximises cache-hit rate: rebuilding vllm-ascend from source no longer invalidates the upstream dependency layers. ### Additional Dockerfile tweaks: - Pre-install clang-15 (required by triton-ascend) in the same apt layer as other system deps. - Pre-install modelscope and ray before the vllm-ascend install so those layers are also cached. - Switch vLLM clone from --depth 1 to --filter=blob:none to avoid re-downloading on branch checkouts. - Move ARG SOC_VERSION / ENV declarations immediately before COPY . to avoid early cache invalidation. ## How does this patch tested see https://github.com/Potabk/vllm-ascend-fork/actions/runs/23038468201 in my personal repo ## Next steps Extend workflow_dispatch inputs to support optional ARM + Ubuntu build variants for nightly testing, while reusing the cache mechanism introduced here (same cache_repo / cache-tag convention). Signed-off-by: wangli <wangli858794774@gmail.com> | 7 months ago | |
[CI] Image build from cache (#7040) ## What Introduce Docker registry cache ( cache-from/cache-to) backed by GitHub Container Registry (ghcr.io) to accelerate scheduled and manual image builds. ### Workflow changes - Add cache_repo input (default: ghcr.io/vllm-project/vllm-ascend) to both _schedule_image_build.yaml and schedule_image_build_and_push.yaml, letting callers choose where cache layers are stored. - Add GHCR login step and packages: write permission so the runner can push cache manifests. - Derive a per-arch, per-suffix cache tag at build time (e.g. buildcache-openeuler-arm64) so caches never collide across matrix variants. ### Dockerfile layer-order optimisation Reorder layers in all Dockerfiles so the slow, rarely-changing steps (system packages, Mooncake, vLLM core) appear before the fast-changing COPY . /vllm-workspace/vllm-ascend/ step. This maximises cache-hit rate: rebuilding vllm-ascend from source no longer invalidates the upstream dependency layers. ### Additional Dockerfile tweaks: - Pre-install clang-15 (required by triton-ascend) in the same apt layer as other system deps. - Pre-install modelscope and ray before the vllm-ascend install so those layers are also cached. - Switch vLLM clone from --depth 1 to --filter=blob:none to avoid re-downloading on branch checkouts. - Move ARG SOC_VERSION / ENV declarations immediately before COPY . to avoid early cache invalidation. ## How does this patch tested see https://github.com/Potabk/vllm-ascend-fork/actions/runs/23038468201 in my personal repo ## Next steps Extend workflow_dispatch inputs to support optional ARM + Ubuntu build variants for nightly testing, while reusing the cache mechanism introduced here (same cache_repo / cache-tag convention). Signed-off-by: wangli <wangli858794774@gmail.com> | 7 months ago | |
[CI] Image build from cache (#7040) ## What Introduce Docker registry cache ( cache-from/cache-to) backed by GitHub Container Registry (ghcr.io) to accelerate scheduled and manual image builds. ### Workflow changes - Add cache_repo input (default: ghcr.io/vllm-project/vllm-ascend) to both _schedule_image_build.yaml and schedule_image_build_and_push.yaml, letting callers choose where cache layers are stored. - Add GHCR login step and packages: write permission so the runner can push cache manifests. - Derive a per-arch, per-suffix cache tag at build time (e.g. buildcache-openeuler-arm64) so caches never collide across matrix variants. ### Dockerfile layer-order optimisation Reorder layers in all Dockerfiles so the slow, rarely-changing steps (system packages, Mooncake, vLLM core) appear before the fast-changing COPY . /vllm-workspace/vllm-ascend/ step. This maximises cache-hit rate: rebuilding vllm-ascend from source no longer invalidates the upstream dependency layers. ### Additional Dockerfile tweaks: - Pre-install clang-15 (required by triton-ascend) in the same apt layer as other system deps. - Pre-install modelscope and ray before the vllm-ascend install so those layers are also cached. - Switch vLLM clone from --depth 1 to --filter=blob:none to avoid re-downloading on branch checkouts. - Move ARG SOC_VERSION / ENV declarations immediately before COPY . to avoid early cache invalidation. ## How does this patch tested see https://github.com/Potabk/vllm-ascend-fork/actions/runs/23038468201 in my personal repo ## Next steps Extend workflow_dispatch inputs to support optional ARM + Ubuntu build variants for nightly testing, while reusing the cache mechanism introduced here (same cache_repo / cache-tag convention). Signed-off-by: wangli <wangli858794774@gmail.com> | 7 months ago | |
Initial commit | 1 year ago | |
[ReleaseNote] Add release note for v0.17.0rc1 (#7240) ### What this PR does / why we need it? This pull request adds the release notes for v0.17.0rc1. It also updates version numbers across various documentation files, including README.md, README.zh.md, docs/source/community/versioning_policy.md, and docs/source/conf.py to reflect the new release. - vLLM version: v0.17.0 - vLLM main: https://github.com/vllm-project/vllm/commit/4034c3d32e30d01639459edd3ab486f56993876d | 7 months ago | |
[ReleaseNote] Add release note for v0.17.0rc1 (#7240) ### What this PR does / why we need it? This pull request adds the release notes for v0.17.0rc1. It also updates version numbers across various documentation files, including README.md, README.zh.md, docs/source/community/versioning_policy.md, and docs/source/conf.py to reflect the new release. - vLLM version: v0.17.0 - vLLM main: https://github.com/vllm-project/vllm/commit/4034c3d32e30d01639459edd3ab486f56993876d | 7 months ago | |
ut: add ci guard for ut coverage (#2317) ### What this PR does / why we need it? add ci guard for ut coverage, if ut coverage of patch pr is below 80%, the ci will failed/ ### Does this PR introduce _any_ user-facing change? not involved ### How was this patch tested? not involved - vLLM version: v0.10.0 - vLLM main: https://github.com/vllm-project/vllm/commit/458e74eb907f96069e6d8a4f3c9f457001fef2ea --------- Signed-off-by: Ronald1995 <ronaldautomobile@163.com> | 1 year ago | |
[Lint]Add lint hooks for clang-format, shellcheck, forbidden imports, and boolean context manager checks (#7511) ### What this PR does / why we need it? This PR introduces several upstream vllm-aligned lint hooks into vllm-ascend and makes them part of the actual pre-commit flow. Main changes in this PR: - add check-boolean-context-manager to catch boolean expressions in with statements - add check-forbidden-imports to forbid direct re imports and disallowed direct triton imports - enable shell script linting through tools/shellcheck.sh - add root .clang-format aligned with upstream vllm, enable clang-format in pre-commit, temporarily **exclude all csrc/**** from clang-format to avoid bringing a large native code reformat into this PR This PR focuses on landing the smaller and immediately useful lint alignment first, without mixing in the larger requirements-management migration. ### Does this PR introduce _any_ user-facing change? No. This PR only updates repository lint configuration, static checks, and internal import/style enforcement. It does not change runtime behavior or public interfaces. ### How was this patch tested? Tested locally in the project virtual environment. Commands used: bash bash format.sh Verified checks passed: bash ruff check...............................................................Passed ruff format..............................................................Passed codespell................................................................Passed typos....................................................................Passed clang-format.............................................................Passed Lint GitHub Actions workflow files.......................................Passed Lint shell scripts.......................................................Passed Lint PNG exports from excalidraw.........................................Passed Check for spaces in all filenames........................................Passed Enforce __init__.py in Python packages...................................Passed Check for forbidden imports..............................................Passed Check for boolean ops in with-statements.................................Passed Suggestion...............................................................Passed - hook id: suggestion - duration: 0s To bypass pre-commit hooks, add --no-verify to git commit. **note:** clang-format is enabled but currently excludes all csrc/** - vLLM version: v0.17.0 - vLLM main: https://github.com/vllm-project/vllm/commit/8b6325758cce5f9c36d38f2462edbd368b97a07c --------- Signed-off-by: MrZ20 <2609716663@qq.com> | 7 months ago | |
[Doc] Update doc url link (#5781) Drop dev suffix for doc url. Rename url to https://docs.vllm.ai/projects/ascend - vLLM version: v0.13.0 - vLLM main: https://github.com/vllm-project/vllm/commit/2f4e6548efec402b913ffddc8726230d9311948d Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com> | 9 months ago | |
[feat] add LMCacheAscendConnector (#6882) ### What this PR does / why we need it? LMCache-Ascend is LMCache's solution on the Ascend platform and one of the KVCache pooling solutions for Ascend. We hope to integrate LMCache-Ascend into the vLLM-Ascend community as one of the official KVCache pooling solutions for vLLM-Ascend. We added a new LMCacheAscendConnector in vLLM-Ascend and registered it. ### Does this PR introduce _any_ user-facing change? Users can specify the kvconnector using --kv-transfer-config, allowing them to freely choose which kvconnector to use, without any user-facing change. ### How was this patch tested? Test by specifying --kv-transfer-config '{"kv_connector":"LMCacheAscendConnector","kv_role":"kv_both"}' - vLLM version: v0.16.0 - vLLM main: https://github.com/vllm-project/vllm/commit/15d76f74e2fdb12a95ea00f0ca283acf6219a2b7 --------- Signed-off-by: chloroethylene <jjysama@gmail.com> | 7 months ago | |
[CI/UT][PD Disaggreate] Initialize PD Disaggreate UT (#889) Initialize PD Disaggreate UT --------- Signed-off-by: MengqingCao <cmq0113@163.com> | 1 year ago | |
[Lint]Style: Convert test/ to ruff format(Batch #1) (#6738) ### What this PR does / why we need it? **Scope of Changes**: | File Path | | :--- | | tests/e2e/310p/multicard/test_vl_model_multicard.py | | tests/e2e/310p/singlecard/test_vl_model_singlecard.py | | tests/e2e/310p/test_utils.py | | tests/e2e/conftest.py | | tests/e2e/model_utils.py | | tests/e2e/models/conftest.py | | tests/e2e/models/test_lm_eval_correctness.py | | tests/e2e/multicard/2-cards/spec_decode/test_spec_decode.py | | tests/e2e/multicard/2-cards/test_aclgraph_capture_replay.py | | tests/e2e/multicard/2-cards/test_data_parallel.py | | tests/e2e/multicard/2-cards/test_disaggregated_encoder.py | | tests/e2e/multicard/2-cards/test_expert_parallel.py | | tests/e2e/multicard/2-cards/test_external_launcher.py | | tests/e2e/multicard/2-cards/test_full_graph_mode.py | | tests/e2e/multicard/2-cards/test_ilama_lora_tp2.py | | tests/e2e/multicard/2-cards/test_offline_inference_distributed.py | | tests/e2e/multicard/2-cards/test_offline_weight_load.py | | tests/e2e/multicard/2-cards/test_pipeline_parallel.py | | tests/e2e/multicard/2-cards/test_prefix_caching.py | | tests/e2e/multicard/2-cards/test_quantization.py | | tests/e2e/multicard/2-cards/test_qwen3_moe.py | | tests/e2e/multicard/2-cards/test_qwen3_moe_routing_replay.py | | tests/e2e/multicard/2-cards/test_qwen3_performance.py | | tests/e2e/multicard/2-cards/test_shared_expert_dp.py | | tests/e2e/multicard/2-cards/test_single_request_aclgraph.py | | tests/e2e/multicard/2-cards/test_sp_pass.py | ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? - vLLM version: v0.15.0 - vLLM main: https://github.com/vllm-project/vllm/commit/9562912cead1f11e8540fb91306c5cbda66f0007 Signed-off-by: MrZ20 <2609716663@qq.com> Co-authored-by: wangxiyuan <wangxiyuan1007@gmail.com> | 7 months ago | |
[Doc][Misc] Update service profiling guide and internal profiling configurations (#7760) ### What this PR does / why we need it? This PR updates the service profiling documentation and internal configurations to align with the latest ms_service_profiler tool. Key changes include: - Updating the installation guide to focus on building from source rather than pip. - Renaming the analyze command to parse and updating result file descriptions. - Refreshing the configuration parameter table with new fields such as torch_prof_stack, torch_prof_step_num, and profiler_step_num. - Refactoring vllm_ascend/profiling_config.py to use updated handler paths and adding support for multimodal, MTP (speculative decoding), and data parallel profiling. - Removing msserviceprofiler from development requirements as it is now pre-installed or built from source. Feedback was provided regarding the example configuration in the documentation, specifically suggesting the replacement of the ambiguous "${PATH}" placeholder with a more concrete directory path to prevent user confusion. ### Does this PR introduce _any_ user-facing change? Yes, this PR updates the developer documentation for service profiling and modifies the available profiling configuration parameters. ### How was this patch tested? Documentation changes were verified for clarity and correctness. Internal configuration changes align with the updated ms_service_profiler API. - vLLM version: v0.17.0 - vLLM main: https://github.com/vllm-project/vllm/commit/35141a7eeda941a60ad5a4956670c60fd5a77029 Signed-off-by: ChenHuiwen <chenhuiwen7@huawei.com> Co-authored-by: ChenHuiwen <chenhuiwen7@huawei.com> | 7 months ago | |
[Test] Remove VLLM_USE_V1 in example and tests (#1733) V1 is enabled by default, no need to set it by hand now. This PR remove the useless setting in example and tests - vLLM version: v0.9.2 - vLLM main: https://github.com/vllm-project/vllm/commit/9ad0a4588ba4e9c979cda0d178dec4fcdb89fd0c Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com> | 1 year ago | |
[Misc] Fix doctest (#7648) ### What this PR does / why we need it? This patch fix the doc test [failure](https://github.com/vllm-project/vllm-ascend/actions/runs/23501203166/job/68396531067): 1. Enforce the versions of torchaudio and torchvision to match the version of torch_npu(refer https://github.com/pytorch/pytorch/wiki/PyTorch-Versions) 2. Some convenience fixes to prevent network fluctuations from causing test failures(eg: offline mode for ms) ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? - vLLM version: v0.18.0 - vLLM main: https://github.com/vllm-project/vllm/commit/35141a7eeda941a60ad5a4956670c60fd5a77029 --------- Signed-off-by: wangli <wangli858794774@gmail.com> | 7 months ago | |
[Doc][Installation] Clarify SOC_VERSION for CPU-only source builds (#7278) ### What this PR does / why we need it? - Clarify that SOC_VERSION must be set when building from source in a CPU-only environment where npu-smi is unavailable. - Add concrete SOC_VERSION examples (A2/A3/300I/A5) and point users to Dockerfile* defaults. - Improve the setup.py error message so users get actionable guidance when SOC_VERSION is missing. Fixes #6816. ### Does this PR introduce _any_ user-facing change? - Yes. Documentation is updated and the build-time error message is more informative. ### How was this patch tested? - (Local) Syntax check: python -m compileall setup.py. - vLLM version: v0.17.0 - vLLM main: https://github.com/vllm-project/vllm/commit/4034c3d32e30d01639459edd3ab486f56993876d Signed-off-by: NJX-njx <3771829673@qq.com> | 7 months ago | |
[CI] Add multi-hardware wheel build and release workflow (#7312) ### What this PR does / why we need it? Adds a scheduled CI workflow (schedule_release_code_and_wheel.yml) to automatically build and release vllm-ascend source packages and binary wheels for multiple Ascend hardware targets. Key features: 1. Source release: Builds tar.gz sdist and uploads to PyPI on version tag push 2. Multi-hardware wheel builds: Supports three hardware targets in parallel: 2.1 A2 (Ascend 910B): x86_64 + ARM64, Python 3.10 / 3.11 2.2 A3 (Ascend 910C): x86_64 + ARM64, Python 3.10 / 3.11 2.3 310P: x86_64 + ARM64, Python 3.10 / 3.11 3. Wheel repair: Uses auditwheel to produce manylinux-compatible wheels, excluding Ascend NPU runtime libs (libascend*.so, libtorch*.so, etc.) that must be provided by the runtime environment 4. Variant wheels: Generates hardware-variant wheels via variantlib for hardware-specific distribution 5. OBS upload: Aggregates all variant wheels and a combined index JSON, then uploads to Huawei OBS for hosting ### Does this PR introduce _any_ user-facing change? Yes. Users will be able to install hardware-specific vllm-ascend wheels from PyPI or the OBS variant index, eliminating the need to build from source. ### How was this patch tested? 1. CI verification only — workflow syntax and job dependency logic reviewed manually 2. Wheel build steps validated against existing Dockerfiles (Dockerfile.buildwheel.a2/a3/310p) 3. auditwheel exclusion list verified against known Ascend runtime shared libraries - vLLM version: v0.17.0 - vLLM main: https://github.com/vllm-project/vllm/commit/4034c3d32e30d01639459edd3ab486f56993876d --------- Signed-off-by: hfadzxy <starmoon_zhang@163.com> Signed-off-by: YanZhicong <mryanzhicong@163.com> Co-authored-by: YanZhicong <mryanzhicong@163.com> | 7 months ago |
vLLM Ascend Plugin
| About Ascend | Documentation | #SIG-Ascend | Users Forum | Weekly Meeting |
Latest News 🔥
- [2026/02] We released the new official version v0.13.0! Please follow the official guide to start using vLLM Ascend Plugin on Ascend.
- [2025/12] We released the new official version v0.11.0! Please follow the official guide to start using vLLM Ascend Plugin on Ascend.
- [2025/09] We released the new official version v0.9.1! Please follow the official guide to start deploying large-scale Expert Parallelism (EP) on Ascend.
- [2025/08] We hosted the vLLM Beijing Meetup with vLLM and Tencent! Please find the meetup slides here.
- [2025/06] User stories page is now live! It kicks off with LLaMA-Factory/verl/TRL/GPUStack to demonstrate how vLLM Ascend assists Ascend users in enhancing their experience across fine-tuning, evaluation, reinforcement learning (RL), and deployment scenarios.
- [2025/06] Contributors page is now live! All contributions deserve to be recorded, thanks for all contributors.
- [2025/05] We've released the first official version v0.7.3! We collaborated with the vLLM community to publish a blog post sharing our practice: Introducing vLLM Hardware Plugin, Best Practice from Ascend NPU.
- [2025/03] We hosted the vLLM Beijing Meetup with vLLM team! Please find the meetup slides here.
- [2025/02] vLLM community officially created vllm-project/vllm-ascend repo for running vLLM seamlessly on the Ascend NPU.
- [2024/12] We are working with the vLLM community to support [RFC]: Hardware pluggable.
Overview
vLLM Ascend (vllm-ascend) is a community maintained hardware plugin for running vLLM seamlessly on the Ascend NPU.
It is the recommended approach for supporting the Ascend backend within the vLLM community. It adheres to the principles outlined in the [RFC]: Hardware pluggable, providing a hardware-pluggable interface that decouples the integration of the Ascend NPU with vLLM.
By using vLLM Ascend plugin, popular open-source models, including Transformer-like, Mixture-of-Experts (MoE), Embedding, Multi-modal LLMs can run seamlessly on the Ascend NPU.
Prerequisites
- Hardware: Atlas 800I A2 Inference series, Atlas A2 Training series, Atlas 800I A3 Inference series, Atlas A3 Training series, Atlas 300I Duo (Experimental)
- OS: Linux
- Software:
- Python >= 3.10, < 3.12
- CANN == 8.5.0 (Ascend HDK version refers to here)
- PyTorch == 2.9.0, torch-npu == 2.9.0
- vLLM (the same version as vllm-ascend)
Getting Started
Please use the following recommended versions to get started quickly:
| Version | Release type | Doc |
|---|---|---|
| v0.17.0rc1 | Latest release candidate | See QuickStart and Installation for more details |
| v0.13.0 | Latest stable version | See QuickStart and Installation for more details |
Contributing
See CONTRIBUTING for more details, which is a step-by-step guide to help you set up the development environment, build and test.
We welcome and value any contributions and collaborations:
- Please let us know if you encounter a bug by filing an issue
- Please use User forum for usage questions and help.
Branch
vllm-ascend has a main branch and a dev branch.
- main: main branch, corresponds to the vLLM main branch, and is continuously monitored for quality through Ascend CI.
- releases/vX.Y.Z: development branch, created alongside new releases of vLLM. For example,
releases/v0.13.0is the dev branch for vLLMv0.13.0version.
Below are the maintained branches:
| Branch | Status | Note |
|---|---|---|
| main | Maintained | CI commitment for vLLM main branch and vLLM v0.17.0 tag |
| v0.7.1-dev | Unmaintained | Only doc fixes are allowed |
| v0.7.3-dev | Maintained | CI commitment for vLLM 0.7.3 version, only bug fixes are allowed, and no new release tags anymore. |
| v0.9.1-dev | Maintained | CI commitment for vLLM 0.9.1 version |
| v0.11.0-dev | Maintained | CI commitment for vLLM 0.11.0 version |
| releases/v0.13.0 | Maintained | CI commitment for vLLM 0.13.0 version |
| rfc/feature-name | Maintained | Feature branches for collaboration |
Please refer to Versioning policy for more details.
Weekly Meeting
- vLLM Ascend Weekly Meeting: https://tinyurl.com/vllm-ascend-meeting
- Wednesday, 15:00 - 16:00 (UTC+8, Convert to your timezone)
License
Apache License 2.0, as found in the LICENSE file.
Introduction
可帮助昇腾用户在模型微调、评估、强化学习及部署等场景提升体验,支持类Transformer、混合专家、嵌入、多模态等大语言模型在Ascend NPU上无缝运行,是vLLM社区推荐的昇腾后端支持方式。【此简介由AI生成】
Customize your domain