可让类Transformer、混合专家、嵌入、多模态等流行大语言模型在Ascend NPU上无缝运行,是vLLM社区支持昇腾后端的推荐方式,遵循硬件可插拔原则,支持模型微调、评估、强化学习及部署等场景。【此简介由AI生成】
| Files | Last commit | Last update |
|---|---|---|
[CI][Test] Simplify E2E test workflows (#9932) - Remove deprecated main-to-main bisect workflows and helper scripts - Remove unused scheduled vLLM main test and estimated time update jobs - Add PR E2E comment workflow for test result reporting - Update selected/full test workflows and testing documentation Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com> | 5 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] Remove lint Dockerfile vLLM commit default (#10036) Fixes #9800 ## What this PR does / why we need it? This PR removes the duplicated hardcoded vLLM main commit from the lint image build. It follows the verified-ref anchor introduced by #9801: the lint image workflow reads .github/vllm-main-verified.commit, exposes it as the main_commit step output, and passes it into Dockerfile.lint as the VLLM_COMMIT build arg. This PR intentionally does not add .github/vllm-main-verified.commit; it depends on #9801 landing first. ## Does this PR introduce _any_ user-facing change? No. ## How was this patch tested? - git diff --check - actionlint .github/workflows/schedule_lint_image_build.yaml - Confirmed the GitHub PR diff only contains Dockerfile.lint and schedule_lint_image_build.yaml. Signed-off-by: robellliu-dev <robell.liu@huawei.com> | 4 months ago | |
[Doc][Misc] Improve readability and fix typos in documentation (#8266) ### What this PR does / why we need it? This PR improves the readability of the documentation by fixing typos, correcting command extensions, and fixing broken links in the Chinese README. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Documentation changes only. - vLLM version: - vLLM main: https://github.com/vllm-project/vllm/commit/v0.19.0 --------- Signed-off-by: sunshine202600 <sunshine202600@163.com> | 6 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 | |
trace add Signed-off-by: maerlei <maerlei3@h-partners.com> | 4 months ago | |
[CI][Feature] Add vLLM verified ref anchors (#9801) ### What this PR does / why we need it? Fixes #9800. This PR adds two repository-local verified vLLM refs as the shared source of truth for PR selected tests and docs metadata: - .github/vllm-main-verified.commit: verified upstream vLLM main commit. - .github/vllm-release-tag.commit: matched vLLM release tag. The refs stay in separate files because they have different semantics. The workflow wiring keeps the variable flow explicit and small: - lint-and-select-tests reads both files in one step after checkout. - main_commit is validated as a 7-40 character hex commit and used for the vLLM checkout plus selected-test matrix. - release_tag is validated as a vLLM release tag and used as the second selected-test matrix entry. - /e2e command selected tests in .github/workflows/pr_e2e_command.yml use the same main_commit / release_tag outputs, so they no longer keep a separate hardcoded vllm_version list. - docs/source/conf.py directly reads the same anchor files for main_vllm_commit and main_vllm_tag. This intentionally avoids a separate helper job. Dockerfile defaults and scheduled workflow hardcode cleanup are split into follow-up PRs. ### Does this PR introduce _any_ user-facing change? No. This is CI/tooling and docs metadata plumbing only. ### How was this patch tested? Local checks: - python docs/source/conf.py - python -m ruff check docs/source/conf.py - python -m ruff format --check docs/source/conf.py - actionlint .github/workflows/pr_test.yaml .github/workflows/pr_e2e_command.yml - git diff --check Conflict resolution: - Rebased onto latest vllm-project:main. - Preserved the latest lint-and-select-tests source-filter flow. - Added the missing trigger-selected-tests vllm_version wiring in .github/workflows/pr_e2e_command.yml. - vLLM version: v0.21.0 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 Signed-off-by: robellliu-dev <robell.liu@huawei.com> | 4 months ago | |
[Main][Feature] Broadcast reset_prefix_cache to all PD nodes in layerwise proxy (#9180) ### What this PR does / why we need it? Adds a /reset_prefix_cache endpoint to the disaggregated prefill proxy (load_balance_proxy_layerwise_server_example.py and load_balance_proxy_server_example.py). When called, the proxy fans out the request concurrently to all prefiller and decoder nodes, collects failures, and returns 500 with the list of failed nodes if any backend call fails. This mirrors the existing /reset_prefix_cache API on individual vLLM servers and makes it usable in a PD-disaggregated deployment where clients only talk to the proxy. ### Does this PR introduce _any_ user-facing change? Yes — adds a new POST /reset_prefix_cache endpoint on the proxy. Query parameters (e.g. reset_running_requests, reset_external) are forwarded as-is to each backend. ### How was this patch tested? Manually verified the endpoint structure and fan-out logic. - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 --------- Signed-off-by: underfituu <hzhucong@163.com> | 4 months ago | |
trace add Signed-off-by: maerlei <maerlei3@h-partners.com> | 4 months ago | |
[CI][Test] Simplify E2E test workflows (#9932) - Remove deprecated main-to-main bisect workflows and helper scripts - Remove unused scheduled vLLM main test and estimated time update jobs - Add PR E2E comment workflow for test result reporting - Update selected/full test workflows and testing documentation Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com> | 5 months ago | |
[BugFix] Fix deepcopy crash in netloader when loading draft model (#10241) ### What this PR does / why we need it? Fix a deepcopy(vllm_config) crash that occurs when loading a draft model via netloader. **Root cause**: d7bca903 introduced vllm_config_backup = deepcopy(vllm_config) in load_model() so the original config could be restored on elastic-load fallback. However, the draft model's VllmConfig (created by _create_draft_vllm_config()) shallow-copies sub-configs that may already contain BasevLLMParameter objects embedded by the target model's loading path. deepcopy then traverses into these Parameter objects, whose __deepcopy__ calls type(self)(data, requires_grad=...), but BasevLLMParameter.__new__() only accepts 2 positional arguments — crash. **Fix**: 1. Replace deepcopy(vllm_config) with saving only vllm_config.quant_config (the sole field modified during model loading that needs restoration on rollback). 2. In revert_to_default(), deepcopy self.load_config before mutation instead of mutating the instance directly. fixes #10242 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Unit tests passed (tests/ut/model_loader/netloader/). Manually verified draft model D2D loading no longer crashes with BasevLLMParameter.__new__() TypeError. - vLLM version: v0.21.0 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 --------- Signed-off-by: yilunh <hanyilun1@huawei.com> Signed-off-by: yilunh <81902103+yilunh998@users.noreply.github.com> Co-authored-by: yilunh <hanyilun1@huawei.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> | 4 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 | |
[CI] Improve selected test CI (#10143) 1. fix the problem that rerun job doesn't work for PR title check 2. always run CPU UT 3. remove useless .vllm-ascend foler - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com> | 4 months ago | |
[Performance] add op chunk_fwd_o and chunk_gated_delta_rule_fwd_h (#9018) ### What this PR does / why we need it? add custom op for performance improve: chunk_fwd_o & chunk_gated_delta_rule_fwd_h - vLLM version: v0.19.1 - vLLM main: https://github.com/vllm-project/vllm/commit/4d51588e2381018348f1022dfa3a7698899805b7 Signed-off-by: AlanisZomeg <1308342839@qq.com> | 5 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 | |
[CI][Feature] Add check_long_functions pre-commit hook (#9663) ### What this PR does / why we need it? ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/39910f2b25aacc09f5e7f166cdf0030b19f8b9e8 Signed-off-by: KaiMa <KaiMa1840@outlook.com> | 5 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 | |
[Test][CI] final part for selected test (#10017) ### What this PR does / why we need it? This PR reorganizes the end-to-end (E2E) test suite by card count ( one_card, two_card, four_card) and chip type (_310p), removing the previous light and full subdirectories. It also simplifies the CI workflows by consolidating them into pr_test.yaml and updates all associated documentation, readmes, and test configurations to reflect the new directory structure. ### Does this PR introduce _any_ user-facing change? No. This PR only affects internal test organization and CI workflows. ### How was this patch tested? Consolidated CI workflows (pr_test.yaml) were run to verify that the reorganized test suite executes correctly on the respective hardware runners. - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 | 5 months ago | |
[Doc][Misc] Improve readability and fix typos in documentation (#8266) ### What this PR does / why we need it? This PR improves the readability of the documentation by fixing typos, correcting command extensions, and fixing broken links in the Chinese README. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Documentation changes only. - vLLM version: - vLLM main: https://github.com/vllm-project/vllm/commit/v0.19.0 --------- Signed-off-by: sunshine202600 <sunshine202600@163.com> | 6 months ago | |
[Misc] update dockerfile and e2e for py3.12 (#9558) ### What this PR does / why we need it? This PR upgrades the Python version in the CANN base Docker images from 3.11 to 3.12 across all Dockerfiles. It also updates the corresponding image tags and dependencies in the documentation, test configurations, bisect helper, and multi-node test scripts. Additionally, the xlite development dependency is updated to 0.1.0rc10.dev210. - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 --------- Signed-off-by: Chen zhichao <chenzhichao33@h-partners.com> Signed-off-by: Zhichao Chen <35361287+czc-unac@users.noreply.github.com> Co-authored-by: Chen zhichao <chenzhichao33@h-partners.com> | 5 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 | |
[Misc] Main2main Upgrade vLLM to v0.21.0 (#9835) ## Summary Upgrade vllm-ascend compatible vLLM version from v0.20.2 to v0.21.0. This PR updates all version references and version guards across the codebase to target vLLM v0.21.0. The main_vllm_commit (latest adapted commit hash) is intentionally unchanged. ## Changes ### 1. Version Tag / Version Reference Updates - docs/source/conf.py: main_vllm_tag v0.20.2 → v0.21.0 - CI workflows (pr_test_full, pr_test_light, schedule_update_estimated_time, schedule_vllm_e2e_test): vllm_version matrix updated to v0.21.0 - All Dockerfiles (8 files): VLLM_TAG v0.20.2 → v0.21.0 > **Note**: releases/v0.20.2rc branch references in nightly/image-build workflows are **not** changed — they refer to the existing 0.20.2 release branch. ### 2. Version Guards — Collapsed (API changed in v0.21.0) For guards where v0.21.0 behavior matches the else branch (new API path), the if/else is collapsed to just the else branch: | File | What changed | |------|-------------| | scheduler_profiling_chunk.py | full_sequence_must_fit kwarg now passed directly | | patch_triton.py | triton.next_power_of_2 patch now unconditional | | patch_attn_utils.py | Use _reshape_kv_cache_v2 directly | | patch_deepseek_mtp.py | Use newer get_spec_layer_idx_from_weight_name | | patch_mla_prefill_backend.py | AscendMLAPrefillBackend now unconditional | | speculator.py | Import AttentionBackend from vllm.v1.attention.backend | | worker.py | Remove dead v2 model runner warning for 0.20.2 (restored for 0.21.0) | ### 3. Version Guards — Updated to vllm_version_is("0.21.0") (API unchanged in v0.21.0) For guards where v0.21.0 still uses the same API as v0.20.2 (the else branch targets upstream main beyond v0.21.0), the version string is updated from "0.20.2" to "0.21.0": | File | Guarded API | |------|------------| | eplb_utils.py | determine_expert_map import path | | deepseek_v4.py | CompressorStateCache / DeepseekV4IndexerCache import path | | patch_deepseek_compressor.py | deepseek_compressor / deepseek_v4_attention module path | | gdn.py / gdn_310.py | GatedDeltaNetAttention import path, split_ba vs chunk, gdn_attention_core vs qwen_gdn_attention_core | | patch_qwen3_5.py / patch_idex_310.py | GatedDeltaNetAttention vs QwenGatedDeltaNetAttention | | fused_moe.py | get_compressed_expert_map, RoutedExpertsCapturer, expert_map_manager | | model_runner_v1.py | RoutedExpertsLists, RoutedExpertsCapturer, _get_mamba_bufs vs _get_mamba_copy_bufs, ModelRunnerOutput.routed_experts | | block_table.py | BlockTable.__init__ kernel_block_sizes param | | patch/worker/__init__.py | _V2_MODEL_RUNNER_SUPPORTED (v2 patches depend on main APIs beyond v0.21.0) | ### 4. Test Files | File | Change | |------|--------| | test_basic.py (model_runner_v2) | Remove skipif(vllm_version_is("0.20.2")) — tests now always run | | test_qwen3_moe.py | Same as above | | test_v1_spec_decode.py | Collapse baseline ternary to else branch | | test_basic.py (long_sequence) | Update guard "0.20.2" → "0.21.0" (test still broken in main) | | test_extract_hidden_states_proposer.py | Collapse _no_pin_memory fixture guard | ## Test Plan - [x] All 37 modified files pass py_compile syntax validation - [x] Unit tests pass with VLLM_VERSION=0.21.0 (1557 passed, failures are pre-existing environment issues unrelated to this PR) - [ ] Full e2e CI with vLLM v0.21.0 installed - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 --------- Signed-off-by: nofushanquan <1255959842@qq.com> | 4 months ago | |
[Misc] Main2main Upgrade vLLM to v0.21.0 (#9835) ## Summary Upgrade vllm-ascend compatible vLLM version from v0.20.2 to v0.21.0. This PR updates all version references and version guards across the codebase to target vLLM v0.21.0. The main_vllm_commit (latest adapted commit hash) is intentionally unchanged. ## Changes ### 1. Version Tag / Version Reference Updates - docs/source/conf.py: main_vllm_tag v0.20.2 → v0.21.0 - CI workflows (pr_test_full, pr_test_light, schedule_update_estimated_time, schedule_vllm_e2e_test): vllm_version matrix updated to v0.21.0 - All Dockerfiles (8 files): VLLM_TAG v0.20.2 → v0.21.0 > **Note**: releases/v0.20.2rc branch references in nightly/image-build workflows are **not** changed — they refer to the existing 0.20.2 release branch. ### 2. Version Guards — Collapsed (API changed in v0.21.0) For guards where v0.21.0 behavior matches the else branch (new API path), the if/else is collapsed to just the else branch: | File | What changed | |------|-------------| | scheduler_profiling_chunk.py | full_sequence_must_fit kwarg now passed directly | | patch_triton.py | triton.next_power_of_2 patch now unconditional | | patch_attn_utils.py | Use _reshape_kv_cache_v2 directly | | patch_deepseek_mtp.py | Use newer get_spec_layer_idx_from_weight_name | | patch_mla_prefill_backend.py | AscendMLAPrefillBackend now unconditional | | speculator.py | Import AttentionBackend from vllm.v1.attention.backend | | worker.py | Remove dead v2 model runner warning for 0.20.2 (restored for 0.21.0) | ### 3. Version Guards — Updated to vllm_version_is("0.21.0") (API unchanged in v0.21.0) For guards where v0.21.0 still uses the same API as v0.20.2 (the else branch targets upstream main beyond v0.21.0), the version string is updated from "0.20.2" to "0.21.0": | File | Guarded API | |------|------------| | eplb_utils.py | determine_expert_map import path | | deepseek_v4.py | CompressorStateCache / DeepseekV4IndexerCache import path | | patch_deepseek_compressor.py | deepseek_compressor / deepseek_v4_attention module path | | gdn.py / gdn_310.py | GatedDeltaNetAttention import path, split_ba vs chunk, gdn_attention_core vs qwen_gdn_attention_core | | patch_qwen3_5.py / patch_idex_310.py | GatedDeltaNetAttention vs QwenGatedDeltaNetAttention | | fused_moe.py | get_compressed_expert_map, RoutedExpertsCapturer, expert_map_manager | | model_runner_v1.py | RoutedExpertsLists, RoutedExpertsCapturer, _get_mamba_bufs vs _get_mamba_copy_bufs, ModelRunnerOutput.routed_experts | | block_table.py | BlockTable.__init__ kernel_block_sizes param | | patch/worker/__init__.py | _V2_MODEL_RUNNER_SUPPORTED (v2 patches depend on main APIs beyond v0.21.0) | ### 4. Test Files | File | Change | |------|--------| | test_basic.py (model_runner_v2) | Remove skipif(vllm_version_is("0.20.2")) — tests now always run | | test_qwen3_moe.py | Same as above | | test_v1_spec_decode.py | Collapse baseline ternary to else branch | | test_basic.py (long_sequence) | Update guard "0.20.2" → "0.21.0" (test still broken in main) | | test_extract_hidden_states_proposer.py | Collapse _no_pin_memory fixture guard | ## Test Plan - [x] All 37 modified files pass py_compile syntax validation - [x] Unit tests pass with VLLM_VERSION=0.21.0 (1557 passed, failures are pre-existing environment issues unrelated to this PR) - [ ] Full e2e CI with vLLM v0.21.0 installed - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 --------- Signed-off-by: nofushanquan <1255959842@qq.com> | 4 months ago | |
[Misc] Main2main Upgrade vLLM to v0.21.0 (#9835) ## Summary Upgrade vllm-ascend compatible vLLM version from v0.20.2 to v0.21.0. This PR updates all version references and version guards across the codebase to target vLLM v0.21.0. The main_vllm_commit (latest adapted commit hash) is intentionally unchanged. ## Changes ### 1. Version Tag / Version Reference Updates - docs/source/conf.py: main_vllm_tag v0.20.2 → v0.21.0 - CI workflows (pr_test_full, pr_test_light, schedule_update_estimated_time, schedule_vllm_e2e_test): vllm_version matrix updated to v0.21.0 - All Dockerfiles (8 files): VLLM_TAG v0.20.2 → v0.21.0 > **Note**: releases/v0.20.2rc branch references in nightly/image-build workflows are **not** changed — they refer to the existing 0.20.2 release branch. ### 2. Version Guards — Collapsed (API changed in v0.21.0) For guards where v0.21.0 behavior matches the else branch (new API path), the if/else is collapsed to just the else branch: | File | What changed | |------|-------------| | scheduler_profiling_chunk.py | full_sequence_must_fit kwarg now passed directly | | patch_triton.py | triton.next_power_of_2 patch now unconditional | | patch_attn_utils.py | Use _reshape_kv_cache_v2 directly | | patch_deepseek_mtp.py | Use newer get_spec_layer_idx_from_weight_name | | patch_mla_prefill_backend.py | AscendMLAPrefillBackend now unconditional | | speculator.py | Import AttentionBackend from vllm.v1.attention.backend | | worker.py | Remove dead v2 model runner warning for 0.20.2 (restored for 0.21.0) | ### 3. Version Guards — Updated to vllm_version_is("0.21.0") (API unchanged in v0.21.0) For guards where v0.21.0 still uses the same API as v0.20.2 (the else branch targets upstream main beyond v0.21.0), the version string is updated from "0.20.2" to "0.21.0": | File | Guarded API | |------|------------| | eplb_utils.py | determine_expert_map import path | | deepseek_v4.py | CompressorStateCache / DeepseekV4IndexerCache import path | | patch_deepseek_compressor.py | deepseek_compressor / deepseek_v4_attention module path | | gdn.py / gdn_310.py | GatedDeltaNetAttention import path, split_ba vs chunk, gdn_attention_core vs qwen_gdn_attention_core | | patch_qwen3_5.py / patch_idex_310.py | GatedDeltaNetAttention vs QwenGatedDeltaNetAttention | | fused_moe.py | get_compressed_expert_map, RoutedExpertsCapturer, expert_map_manager | | model_runner_v1.py | RoutedExpertsLists, RoutedExpertsCapturer, _get_mamba_bufs vs _get_mamba_copy_bufs, ModelRunnerOutput.routed_experts | | block_table.py | BlockTable.__init__ kernel_block_sizes param | | patch/worker/__init__.py | _V2_MODEL_RUNNER_SUPPORTED (v2 patches depend on main APIs beyond v0.21.0) | ### 4. Test Files | File | Change | |------|--------| | test_basic.py (model_runner_v2) | Remove skipif(vllm_version_is("0.20.2")) — tests now always run | | test_qwen3_moe.py | Same as above | | test_v1_spec_decode.py | Collapse baseline ternary to else branch | | test_basic.py (long_sequence) | Update guard "0.20.2" → "0.21.0" (test still broken in main) | | test_extract_hidden_states_proposer.py | Collapse _no_pin_memory fixture guard | ## Test Plan - [x] All 37 modified files pass py_compile syntax validation - [x] Unit tests pass with VLLM_VERSION=0.21.0 (1557 passed, failures are pre-existing environment issues unrelated to this PR) - [ ] Full e2e CI with vLLM v0.21.0 installed - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 --------- Signed-off-by: nofushanquan <1255959842@qq.com> | 4 months ago | |
[Misc] Main2main Upgrade vLLM to v0.21.0 (#9835) ## Summary Upgrade vllm-ascend compatible vLLM version from v0.20.2 to v0.21.0. This PR updates all version references and version guards across the codebase to target vLLM v0.21.0. The main_vllm_commit (latest adapted commit hash) is intentionally unchanged. ## Changes ### 1. Version Tag / Version Reference Updates - docs/source/conf.py: main_vllm_tag v0.20.2 → v0.21.0 - CI workflows (pr_test_full, pr_test_light, schedule_update_estimated_time, schedule_vllm_e2e_test): vllm_version matrix updated to v0.21.0 - All Dockerfiles (8 files): VLLM_TAG v0.20.2 → v0.21.0 > **Note**: releases/v0.20.2rc branch references in nightly/image-build workflows are **not** changed — they refer to the existing 0.20.2 release branch. ### 2. Version Guards — Collapsed (API changed in v0.21.0) For guards where v0.21.0 behavior matches the else branch (new API path), the if/else is collapsed to just the else branch: | File | What changed | |------|-------------| | scheduler_profiling_chunk.py | full_sequence_must_fit kwarg now passed directly | | patch_triton.py | triton.next_power_of_2 patch now unconditional | | patch_attn_utils.py | Use _reshape_kv_cache_v2 directly | | patch_deepseek_mtp.py | Use newer get_spec_layer_idx_from_weight_name | | patch_mla_prefill_backend.py | AscendMLAPrefillBackend now unconditional | | speculator.py | Import AttentionBackend from vllm.v1.attention.backend | | worker.py | Remove dead v2 model runner warning for 0.20.2 (restored for 0.21.0) | ### 3. Version Guards — Updated to vllm_version_is("0.21.0") (API unchanged in v0.21.0) For guards where v0.21.0 still uses the same API as v0.20.2 (the else branch targets upstream main beyond v0.21.0), the version string is updated from "0.20.2" to "0.21.0": | File | Guarded API | |------|------------| | eplb_utils.py | determine_expert_map import path | | deepseek_v4.py | CompressorStateCache / DeepseekV4IndexerCache import path | | patch_deepseek_compressor.py | deepseek_compressor / deepseek_v4_attention module path | | gdn.py / gdn_310.py | GatedDeltaNetAttention import path, split_ba vs chunk, gdn_attention_core vs qwen_gdn_attention_core | | patch_qwen3_5.py / patch_idex_310.py | GatedDeltaNetAttention vs QwenGatedDeltaNetAttention | | fused_moe.py | get_compressed_expert_map, RoutedExpertsCapturer, expert_map_manager | | model_runner_v1.py | RoutedExpertsLists, RoutedExpertsCapturer, _get_mamba_bufs vs _get_mamba_copy_bufs, ModelRunnerOutput.routed_experts | | block_table.py | BlockTable.__init__ kernel_block_sizes param | | patch/worker/__init__.py | _V2_MODEL_RUNNER_SUPPORTED (v2 patches depend on main APIs beyond v0.21.0) | ### 4. Test Files | File | Change | |------|--------| | test_basic.py (model_runner_v2) | Remove skipif(vllm_version_is("0.20.2")) — tests now always run | | test_qwen3_moe.py | Same as above | | test_v1_spec_decode.py | Collapse baseline ternary to else branch | | test_basic.py (long_sequence) | Update guard "0.20.2" → "0.21.0" (test still broken in main) | | test_extract_hidden_states_proposer.py | Collapse _no_pin_memory fixture guard | ## Test Plan - [x] All 37 modified files pass py_compile syntax validation - [x] Unit tests pass with VLLM_VERSION=0.21.0 (1557 passed, failures are pre-existing environment issues unrelated to this PR) - [ ] Full e2e CI with vLLM v0.21.0 installed - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 --------- Signed-off-by: nofushanquan <1255959842@qq.com> | 4 months ago | |
[Misc] Main2main Upgrade vLLM to v0.21.0 (#9835) ## Summary Upgrade vllm-ascend compatible vLLM version from v0.20.2 to v0.21.0. This PR updates all version references and version guards across the codebase to target vLLM v0.21.0. The main_vllm_commit (latest adapted commit hash) is intentionally unchanged. ## Changes ### 1. Version Tag / Version Reference Updates - docs/source/conf.py: main_vllm_tag v0.20.2 → v0.21.0 - CI workflows (pr_test_full, pr_test_light, schedule_update_estimated_time, schedule_vllm_e2e_test): vllm_version matrix updated to v0.21.0 - All Dockerfiles (8 files): VLLM_TAG v0.20.2 → v0.21.0 > **Note**: releases/v0.20.2rc branch references in nightly/image-build workflows are **not** changed — they refer to the existing 0.20.2 release branch. ### 2. Version Guards — Collapsed (API changed in v0.21.0) For guards where v0.21.0 behavior matches the else branch (new API path), the if/else is collapsed to just the else branch: | File | What changed | |------|-------------| | scheduler_profiling_chunk.py | full_sequence_must_fit kwarg now passed directly | | patch_triton.py | triton.next_power_of_2 patch now unconditional | | patch_attn_utils.py | Use _reshape_kv_cache_v2 directly | | patch_deepseek_mtp.py | Use newer get_spec_layer_idx_from_weight_name | | patch_mla_prefill_backend.py | AscendMLAPrefillBackend now unconditional | | speculator.py | Import AttentionBackend from vllm.v1.attention.backend | | worker.py | Remove dead v2 model runner warning for 0.20.2 (restored for 0.21.0) | ### 3. Version Guards — Updated to vllm_version_is("0.21.0") (API unchanged in v0.21.0) For guards where v0.21.0 still uses the same API as v0.20.2 (the else branch targets upstream main beyond v0.21.0), the version string is updated from "0.20.2" to "0.21.0": | File | Guarded API | |------|------------| | eplb_utils.py | determine_expert_map import path | | deepseek_v4.py | CompressorStateCache / DeepseekV4IndexerCache import path | | patch_deepseek_compressor.py | deepseek_compressor / deepseek_v4_attention module path | | gdn.py / gdn_310.py | GatedDeltaNetAttention import path, split_ba vs chunk, gdn_attention_core vs qwen_gdn_attention_core | | patch_qwen3_5.py / patch_idex_310.py | GatedDeltaNetAttention vs QwenGatedDeltaNetAttention | | fused_moe.py | get_compressed_expert_map, RoutedExpertsCapturer, expert_map_manager | | model_runner_v1.py | RoutedExpertsLists, RoutedExpertsCapturer, _get_mamba_bufs vs _get_mamba_copy_bufs, ModelRunnerOutput.routed_experts | | block_table.py | BlockTable.__init__ kernel_block_sizes param | | patch/worker/__init__.py | _V2_MODEL_RUNNER_SUPPORTED (v2 patches depend on main APIs beyond v0.21.0) | ### 4. Test Files | File | Change | |------|--------| | test_basic.py (model_runner_v2) | Remove skipif(vllm_version_is("0.20.2")) — tests now always run | | test_qwen3_moe.py | Same as above | | test_v1_spec_decode.py | Collapse baseline ternary to else branch | | test_basic.py (long_sequence) | Update guard "0.20.2" → "0.21.0" (test still broken in main) | | test_extract_hidden_states_proposer.py | Collapse _no_pin_memory fixture guard | ## Test Plan - [x] All 37 modified files pass py_compile syntax validation - [x] Unit tests pass with VLLM_VERSION=0.21.0 (1557 passed, failures are pre-existing environment issues unrelated to this PR) - [ ] Full e2e CI with vLLM v0.21.0 installed - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 --------- Signed-off-by: nofushanquan <1255959842@qq.com> | 4 months ago | |
[Misc] Main2main Upgrade vLLM to v0.21.0 (#9835) ## Summary Upgrade vllm-ascend compatible vLLM version from v0.20.2 to v0.21.0. This PR updates all version references and version guards across the codebase to target vLLM v0.21.0. The main_vllm_commit (latest adapted commit hash) is intentionally unchanged. ## Changes ### 1. Version Tag / Version Reference Updates - docs/source/conf.py: main_vllm_tag v0.20.2 → v0.21.0 - CI workflows (pr_test_full, pr_test_light, schedule_update_estimated_time, schedule_vllm_e2e_test): vllm_version matrix updated to v0.21.0 - All Dockerfiles (8 files): VLLM_TAG v0.20.2 → v0.21.0 > **Note**: releases/v0.20.2rc branch references in nightly/image-build workflows are **not** changed — they refer to the existing 0.20.2 release branch. ### 2. Version Guards — Collapsed (API changed in v0.21.0) For guards where v0.21.0 behavior matches the else branch (new API path), the if/else is collapsed to just the else branch: | File | What changed | |------|-------------| | scheduler_profiling_chunk.py | full_sequence_must_fit kwarg now passed directly | | patch_triton.py | triton.next_power_of_2 patch now unconditional | | patch_attn_utils.py | Use _reshape_kv_cache_v2 directly | | patch_deepseek_mtp.py | Use newer get_spec_layer_idx_from_weight_name | | patch_mla_prefill_backend.py | AscendMLAPrefillBackend now unconditional | | speculator.py | Import AttentionBackend from vllm.v1.attention.backend | | worker.py | Remove dead v2 model runner warning for 0.20.2 (restored for 0.21.0) | ### 3. Version Guards — Updated to vllm_version_is("0.21.0") (API unchanged in v0.21.0) For guards where v0.21.0 still uses the same API as v0.20.2 (the else branch targets upstream main beyond v0.21.0), the version string is updated from "0.20.2" to "0.21.0": | File | Guarded API | |------|------------| | eplb_utils.py | determine_expert_map import path | | deepseek_v4.py | CompressorStateCache / DeepseekV4IndexerCache import path | | patch_deepseek_compressor.py | deepseek_compressor / deepseek_v4_attention module path | | gdn.py / gdn_310.py | GatedDeltaNetAttention import path, split_ba vs chunk, gdn_attention_core vs qwen_gdn_attention_core | | patch_qwen3_5.py / patch_idex_310.py | GatedDeltaNetAttention vs QwenGatedDeltaNetAttention | | fused_moe.py | get_compressed_expert_map, RoutedExpertsCapturer, expert_map_manager | | model_runner_v1.py | RoutedExpertsLists, RoutedExpertsCapturer, _get_mamba_bufs vs _get_mamba_copy_bufs, ModelRunnerOutput.routed_experts | | block_table.py | BlockTable.__init__ kernel_block_sizes param | | patch/worker/__init__.py | _V2_MODEL_RUNNER_SUPPORTED (v2 patches depend on main APIs beyond v0.21.0) | ### 4. Test Files | File | Change | |------|--------| | test_basic.py (model_runner_v2) | Remove skipif(vllm_version_is("0.20.2")) — tests now always run | | test_qwen3_moe.py | Same as above | | test_v1_spec_decode.py | Collapse baseline ternary to else branch | | test_basic.py (long_sequence) | Update guard "0.20.2" → "0.21.0" (test still broken in main) | | test_extract_hidden_states_proposer.py | Collapse _no_pin_memory fixture guard | ## Test Plan - [x] All 37 modified files pass py_compile syntax validation - [x] Unit tests pass with VLLM_VERSION=0.21.0 (1557 passed, failures are pre-existing environment issues unrelated to this PR) - [ ] Full e2e CI with vLLM v0.21.0 installed - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 --------- Signed-off-by: nofushanquan <1255959842@qq.com> | 4 months ago | |
[Misc] Main2main Upgrade vLLM to v0.21.0 (#9835) ## Summary Upgrade vllm-ascend compatible vLLM version from v0.20.2 to v0.21.0. This PR updates all version references and version guards across the codebase to target vLLM v0.21.0. The main_vllm_commit (latest adapted commit hash) is intentionally unchanged. ## Changes ### 1. Version Tag / Version Reference Updates - docs/source/conf.py: main_vllm_tag v0.20.2 → v0.21.0 - CI workflows (pr_test_full, pr_test_light, schedule_update_estimated_time, schedule_vllm_e2e_test): vllm_version matrix updated to v0.21.0 - All Dockerfiles (8 files): VLLM_TAG v0.20.2 → v0.21.0 > **Note**: releases/v0.20.2rc branch references in nightly/image-build workflows are **not** changed — they refer to the existing 0.20.2 release branch. ### 2. Version Guards — Collapsed (API changed in v0.21.0) For guards where v0.21.0 behavior matches the else branch (new API path), the if/else is collapsed to just the else branch: | File | What changed | |------|-------------| | scheduler_profiling_chunk.py | full_sequence_must_fit kwarg now passed directly | | patch_triton.py | triton.next_power_of_2 patch now unconditional | | patch_attn_utils.py | Use _reshape_kv_cache_v2 directly | | patch_deepseek_mtp.py | Use newer get_spec_layer_idx_from_weight_name | | patch_mla_prefill_backend.py | AscendMLAPrefillBackend now unconditional | | speculator.py | Import AttentionBackend from vllm.v1.attention.backend | | worker.py | Remove dead v2 model runner warning for 0.20.2 (restored for 0.21.0) | ### 3. Version Guards — Updated to vllm_version_is("0.21.0") (API unchanged in v0.21.0) For guards where v0.21.0 still uses the same API as v0.20.2 (the else branch targets upstream main beyond v0.21.0), the version string is updated from "0.20.2" to "0.21.0": | File | Guarded API | |------|------------| | eplb_utils.py | determine_expert_map import path | | deepseek_v4.py | CompressorStateCache / DeepseekV4IndexerCache import path | | patch_deepseek_compressor.py | deepseek_compressor / deepseek_v4_attention module path | | gdn.py / gdn_310.py | GatedDeltaNetAttention import path, split_ba vs chunk, gdn_attention_core vs qwen_gdn_attention_core | | patch_qwen3_5.py / patch_idex_310.py | GatedDeltaNetAttention vs QwenGatedDeltaNetAttention | | fused_moe.py | get_compressed_expert_map, RoutedExpertsCapturer, expert_map_manager | | model_runner_v1.py | RoutedExpertsLists, RoutedExpertsCapturer, _get_mamba_bufs vs _get_mamba_copy_bufs, ModelRunnerOutput.routed_experts | | block_table.py | BlockTable.__init__ kernel_block_sizes param | | patch/worker/__init__.py | _V2_MODEL_RUNNER_SUPPORTED (v2 patches depend on main APIs beyond v0.21.0) | ### 4. Test Files | File | Change | |------|--------| | test_basic.py (model_runner_v2) | Remove skipif(vllm_version_is("0.20.2")) — tests now always run | | test_qwen3_moe.py | Same as above | | test_v1_spec_decode.py | Collapse baseline ternary to else branch | | test_basic.py (long_sequence) | Update guard "0.20.2" → "0.21.0" (test still broken in main) | | test_extract_hidden_states_proposer.py | Collapse _no_pin_memory fixture guard | ## Test Plan - [x] All 37 modified files pass py_compile syntax validation - [x] Unit tests pass with VLLM_VERSION=0.21.0 (1557 passed, failures are pre-existing environment issues unrelated to this PR) - [ ] Full e2e CI with vLLM v0.21.0 installed - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 --------- Signed-off-by: nofushanquan <1255959842@qq.com> | 4 months ago | |
[Misc] Main2main Upgrade vLLM to v0.21.0 (#9835) ## Summary Upgrade vllm-ascend compatible vLLM version from v0.20.2 to v0.21.0. This PR updates all version references and version guards across the codebase to target vLLM v0.21.0. The main_vllm_commit (latest adapted commit hash) is intentionally unchanged. ## Changes ### 1. Version Tag / Version Reference Updates - docs/source/conf.py: main_vllm_tag v0.20.2 → v0.21.0 - CI workflows (pr_test_full, pr_test_light, schedule_update_estimated_time, schedule_vllm_e2e_test): vllm_version matrix updated to v0.21.0 - All Dockerfiles (8 files): VLLM_TAG v0.20.2 → v0.21.0 > **Note**: releases/v0.20.2rc branch references in nightly/image-build workflows are **not** changed — they refer to the existing 0.20.2 release branch. ### 2. Version Guards — Collapsed (API changed in v0.21.0) For guards where v0.21.0 behavior matches the else branch (new API path), the if/else is collapsed to just the else branch: | File | What changed | |------|-------------| | scheduler_profiling_chunk.py | full_sequence_must_fit kwarg now passed directly | | patch_triton.py | triton.next_power_of_2 patch now unconditional | | patch_attn_utils.py | Use _reshape_kv_cache_v2 directly | | patch_deepseek_mtp.py | Use newer get_spec_layer_idx_from_weight_name | | patch_mla_prefill_backend.py | AscendMLAPrefillBackend now unconditional | | speculator.py | Import AttentionBackend from vllm.v1.attention.backend | | worker.py | Remove dead v2 model runner warning for 0.20.2 (restored for 0.21.0) | ### 3. Version Guards — Updated to vllm_version_is("0.21.0") (API unchanged in v0.21.0) For guards where v0.21.0 still uses the same API as v0.20.2 (the else branch targets upstream main beyond v0.21.0), the version string is updated from "0.20.2" to "0.21.0": | File | Guarded API | |------|------------| | eplb_utils.py | determine_expert_map import path | | deepseek_v4.py | CompressorStateCache / DeepseekV4IndexerCache import path | | patch_deepseek_compressor.py | deepseek_compressor / deepseek_v4_attention module path | | gdn.py / gdn_310.py | GatedDeltaNetAttention import path, split_ba vs chunk, gdn_attention_core vs qwen_gdn_attention_core | | patch_qwen3_5.py / patch_idex_310.py | GatedDeltaNetAttention vs QwenGatedDeltaNetAttention | | fused_moe.py | get_compressed_expert_map, RoutedExpertsCapturer, expert_map_manager | | model_runner_v1.py | RoutedExpertsLists, RoutedExpertsCapturer, _get_mamba_bufs vs _get_mamba_copy_bufs, ModelRunnerOutput.routed_experts | | block_table.py | BlockTable.__init__ kernel_block_sizes param | | patch/worker/__init__.py | _V2_MODEL_RUNNER_SUPPORTED (v2 patches depend on main APIs beyond v0.21.0) | ### 4. Test Files | File | Change | |------|--------| | test_basic.py (model_runner_v2) | Remove skipif(vllm_version_is("0.20.2")) — tests now always run | | test_qwen3_moe.py | Same as above | | test_v1_spec_decode.py | Collapse baseline ternary to else branch | | test_basic.py (long_sequence) | Update guard "0.20.2" → "0.21.0" (test still broken in main) | | test_extract_hidden_states_proposer.py | Collapse _no_pin_memory fixture guard | ## Test Plan - [x] All 37 modified files pass py_compile syntax validation - [x] Unit tests pass with VLLM_VERSION=0.21.0 (1557 passed, failures are pre-existing environment issues unrelated to this PR) - [ ] Full e2e CI with vLLM v0.21.0 installed - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 --------- Signed-off-by: nofushanquan <1255959842@qq.com> | 4 months ago | |
Initial commit | 1 year ago | |
[Misc] Main2main Upgrade vLLM to v0.21.0 (#9835) ## Summary Upgrade vllm-ascend compatible vLLM version from v0.20.2 to v0.21.0. This PR updates all version references and version guards across the codebase to target vLLM v0.21.0. The main_vllm_commit (latest adapted commit hash) is intentionally unchanged. ## Changes ### 1. Version Tag / Version Reference Updates - docs/source/conf.py: main_vllm_tag v0.20.2 → v0.21.0 - CI workflows (pr_test_full, pr_test_light, schedule_update_estimated_time, schedule_vllm_e2e_test): vllm_version matrix updated to v0.21.0 - All Dockerfiles (8 files): VLLM_TAG v0.20.2 → v0.21.0 > **Note**: releases/v0.20.2rc branch references in nightly/image-build workflows are **not** changed — they refer to the existing 0.20.2 release branch. ### 2. Version Guards — Collapsed (API changed in v0.21.0) For guards where v0.21.0 behavior matches the else branch (new API path), the if/else is collapsed to just the else branch: | File | What changed | |------|-------------| | scheduler_profiling_chunk.py | full_sequence_must_fit kwarg now passed directly | | patch_triton.py | triton.next_power_of_2 patch now unconditional | | patch_attn_utils.py | Use _reshape_kv_cache_v2 directly | | patch_deepseek_mtp.py | Use newer get_spec_layer_idx_from_weight_name | | patch_mla_prefill_backend.py | AscendMLAPrefillBackend now unconditional | | speculator.py | Import AttentionBackend from vllm.v1.attention.backend | | worker.py | Remove dead v2 model runner warning for 0.20.2 (restored for 0.21.0) | ### 3. Version Guards — Updated to vllm_version_is("0.21.0") (API unchanged in v0.21.0) For guards where v0.21.0 still uses the same API as v0.20.2 (the else branch targets upstream main beyond v0.21.0), the version string is updated from "0.20.2" to "0.21.0": | File | Guarded API | |------|------------| | eplb_utils.py | determine_expert_map import path | | deepseek_v4.py | CompressorStateCache / DeepseekV4IndexerCache import path | | patch_deepseek_compressor.py | deepseek_compressor / deepseek_v4_attention module path | | gdn.py / gdn_310.py | GatedDeltaNetAttention import path, split_ba vs chunk, gdn_attention_core vs qwen_gdn_attention_core | | patch_qwen3_5.py / patch_idex_310.py | GatedDeltaNetAttention vs QwenGatedDeltaNetAttention | | fused_moe.py | get_compressed_expert_map, RoutedExpertsCapturer, expert_map_manager | | model_runner_v1.py | RoutedExpertsLists, RoutedExpertsCapturer, _get_mamba_bufs vs _get_mamba_copy_bufs, ModelRunnerOutput.routed_experts | | block_table.py | BlockTable.__init__ kernel_block_sizes param | | patch/worker/__init__.py | _V2_MODEL_RUNNER_SUPPORTED (v2 patches depend on main APIs beyond v0.21.0) | ### 4. Test Files | File | Change | |------|--------| | test_basic.py (model_runner_v2) | Remove skipif(vllm_version_is("0.20.2")) — tests now always run | | test_qwen3_moe.py | Same as above | | test_v1_spec_decode.py | Collapse baseline ternary to else branch | | test_basic.py (long_sequence) | Update guard "0.20.2" → "0.21.0" (test still broken in main) | | test_extract_hidden_states_proposer.py | Collapse _no_pin_memory fixture guard | ## Test Plan - [x] All 37 modified files pass py_compile syntax validation - [x] Unit tests pass with VLLM_VERSION=0.21.0 (1557 passed, failures are pre-existing environment issues unrelated to this PR) - [ ] Full e2e CI with vLLM v0.21.0 installed - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 --------- Signed-off-by: nofushanquan <1255959842@qq.com> | 4 months ago | |
[Misc] Main2main Upgrade vLLM to v0.21.0 (#9835) ## Summary Upgrade vllm-ascend compatible vLLM version from v0.20.2 to v0.21.0. This PR updates all version references and version guards across the codebase to target vLLM v0.21.0. The main_vllm_commit (latest adapted commit hash) is intentionally unchanged. ## Changes ### 1. Version Tag / Version Reference Updates - docs/source/conf.py: main_vllm_tag v0.20.2 → v0.21.0 - CI workflows (pr_test_full, pr_test_light, schedule_update_estimated_time, schedule_vllm_e2e_test): vllm_version matrix updated to v0.21.0 - All Dockerfiles (8 files): VLLM_TAG v0.20.2 → v0.21.0 > **Note**: releases/v0.20.2rc branch references in nightly/image-build workflows are **not** changed — they refer to the existing 0.20.2 release branch. ### 2. Version Guards — Collapsed (API changed in v0.21.0) For guards where v0.21.0 behavior matches the else branch (new API path), the if/else is collapsed to just the else branch: | File | What changed | |------|-------------| | scheduler_profiling_chunk.py | full_sequence_must_fit kwarg now passed directly | | patch_triton.py | triton.next_power_of_2 patch now unconditional | | patch_attn_utils.py | Use _reshape_kv_cache_v2 directly | | patch_deepseek_mtp.py | Use newer get_spec_layer_idx_from_weight_name | | patch_mla_prefill_backend.py | AscendMLAPrefillBackend now unconditional | | speculator.py | Import AttentionBackend from vllm.v1.attention.backend | | worker.py | Remove dead v2 model runner warning for 0.20.2 (restored for 0.21.0) | ### 3. Version Guards — Updated to vllm_version_is("0.21.0") (API unchanged in v0.21.0) For guards where v0.21.0 still uses the same API as v0.20.2 (the else branch targets upstream main beyond v0.21.0), the version string is updated from "0.20.2" to "0.21.0": | File | Guarded API | |------|------------| | eplb_utils.py | determine_expert_map import path | | deepseek_v4.py | CompressorStateCache / DeepseekV4IndexerCache import path | | patch_deepseek_compressor.py | deepseek_compressor / deepseek_v4_attention module path | | gdn.py / gdn_310.py | GatedDeltaNetAttention import path, split_ba vs chunk, gdn_attention_core vs qwen_gdn_attention_core | | patch_qwen3_5.py / patch_idex_310.py | GatedDeltaNetAttention vs QwenGatedDeltaNetAttention | | fused_moe.py | get_compressed_expert_map, RoutedExpertsCapturer, expert_map_manager | | model_runner_v1.py | RoutedExpertsLists, RoutedExpertsCapturer, _get_mamba_bufs vs _get_mamba_copy_bufs, ModelRunnerOutput.routed_experts | | block_table.py | BlockTable.__init__ kernel_block_sizes param | | patch/worker/__init__.py | _V2_MODEL_RUNNER_SUPPORTED (v2 patches depend on main APIs beyond v0.21.0) | ### 4. Test Files | File | Change | |------|--------| | test_basic.py (model_runner_v2) | Remove skipif(vllm_version_is("0.20.2")) — tests now always run | | test_qwen3_moe.py | Same as above | | test_v1_spec_decode.py | Collapse baseline ternary to else branch | | test_basic.py (long_sequence) | Update guard "0.20.2" → "0.21.0" (test still broken in main) | | test_extract_hidden_states_proposer.py | Collapse _no_pin_memory fixture guard | ## Test Plan - [x] All 37 modified files pass py_compile syntax validation - [x] Unit tests pass with VLLM_VERSION=0.21.0 (1557 passed, failures are pre-existing environment issues unrelated to this PR) - [ ] Full e2e CI with vLLM v0.21.0 installed - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 --------- Signed-off-by: nofushanquan <1255959842@qq.com> | 4 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 | |
[Refactor] migrate compilation backend from torchair to npugraph_ex (#9201) ### What this PR does / why we need it? Migrate from the deprecated torchair reduce-overhead mode to the npugraph_ex backend directly. The reduce-overhead mode in torchair.CompilerConfig has been marked as deprecated with a DeprecationWarning, recommending migration to the npugraph_ex backend. Both paths ultimately create AclConcreteGraph and share identical nested config structures (debug.*, experimental_config.*, etc.), so this is a drop-in replacement with no behavioral change. - Replace import torchair with import npugraph_ex as nge across all production and test files - Remove config.mode = "reduce-overhead" (npugraph_ex.CompilerConfig defaults to "npugraph_ex") - Update monkey-patch targets in patch_npugraph_ex_triton.py from torchair.* internals to npugraph_ex.* - Update register_replacement calls to use npugraph_ex API - Update configuration item name - Update documentation comments in patch/__init__.py to reflect new module paths ### Does this PR introduce _any_ user-facing change? No. This is an internal refactor. The npugraph_ex backend has the same config paths, same compilation behavior, and same runtime semantics as the torchair reduce-overhead mode. No user-visible API, configuration, or behavior changes. ### How was this patch tested? Verified all torchair references (import, API calls, monkey-patches) are fully migrated with zero residual torchair code dependencies Confirmed that all referenced npugraph_ex internal APIs (_optimize_fx, ValuePack, _is_symlist, _unpack_meta_list, _NpuGraphConverter, register_replacement) exist in the npugraph_ex package with matching signatures Existing CI tests (test_graphex_qknorm_rope_fusion, test_graphex_norm_quant_fusion, nightly multicard tests) cover the affected compilation paths vLLM version: v0.19.0 - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/1ac10f159a09897baada01b14b6a0dd6442aefd6 --------- Signed-off-by: rich <zhouruiqi5@huawei.com> Co-authored-by: rich <zhouruiqi5@huawei.com> | 5 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 | |
[CI] Fix csrc cache build error (#10114) ### What this PR does / why we need it? This PR pins the setuptools dependency to <72 under tool.uv.extra-build-dependencies for pandas to resolve a build incompatibility. This PR also makes the csrc cache works for PR ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com> | 5 months ago | |
[CI] Add ninja incremental build cache for csrc compilation (#9890) ### What this PR does / why we need it? Introduce a ninja incremental build cache ( csrc/build) shared across CI workflows to accelerate C++ custom-op compilation. **Background:** vllm-ascend ships custom Ascend kernels under csrc/ compiled via CMake. Previously the CI used a hash-based product cache (SHA256 of all csrc files → exact-match .so artifacts), which had a near-zero hit rate — any single-file change invalidated the entire cache, forcing full recompilation on almost every PR. **This PR** replaces that with a ninja intermediate build cache: - Ninja's own dependency tracking detects changed files and only recompiles the diff, so even PRs with csrc modifications get partial cache hits. - Single producer (schedule_cache_csrc_build.yaml, daily cron at 23:59 UTC+8) builds across 2 arch × 2 OS × 3 chip_type = 12 matrix jobs, saves csrc/build to GHA cache. - Two consumers (_e2e_test.yaml — 8 E2E jobs, _optional_smart_e2e.yaml) restore csrc/build before pip install -e ., ninja handles the rest automatically. - All three files share a unified cache key: vllm-ascend-build-ninja-v1-{base_branch}-{os}-{arch}-{image}-{cache_hour} **Commit history on this branch:** | Commit | Description | |--------|-------------| | ac6db1d | build: support ninja incremental build for custom ops — rewrote csrc/build.sh / build_aclnn.sh / cmake rules | | 81b1278 | [BugFix][Feature] add ninja incremental cache to _e2e_test.yaml, fix build_aclnn.sh | | 3d27a66 | [CI] unify ninja cache across all workflows, remove hash-based cache, align keys, fix actionlint | **Files changed in this PR (vs main):** | File | Status | Delta | |------|--------|-------| | csrc/build.sh | Modified | +42/−18 | | csrc/build_aclnn.sh | Modified | +20/−11 | | csrc/cmake/custom_build.cmake | Modified | +2/−0 | | csrc/cmake/third_party/ascend_protobuf.cmake | Modified | +76/−100 | | .github/workflows/_e2e_test.yaml | Modified | +300/−270 | | .github/workflows/_optional_smart_e2e.yaml | Modified | +47/−20 | | .github/workflows/schedule_cache_csrc_build.yaml | New | +188 | | .github/workflows/push_build_csrc_cache.yaml | Deleted | −184 | ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? - pre-commit all hooks passed (actionlint, codespell, typos) - Cache key components verified byte-for-byte across all 3 workflow files - Runtime dependency audit: ninja-build, clang-15 confirmed in all compilation paths - Build tested locally with bash csrc/build.sh using ninja generator - vLLM version: v0.21.0 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 --------- Signed-off-by: Hongyu Shi <sakura.iostream@gmail.com> Signed-off-by: Shy0722 <Shy0722@noreply.gitcode.com> Co-authored-by: Shy0722 <Shy0722@noreply.gitcode.com> | 4 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 | |
[Bugfix] [kimi] upgrade transformers from 5.5.3 to 5.5.4 (#9996) ### What this PR does / why we need it? Transformers fixed a tokenizer bug for kimi k2.6/k2.5 in version 5.5.4, and this bug affects the function calling feature. https://github.com/huggingface/transformers/pull/45359 ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? by test tool calls feature - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 Signed-off-by: zjks98 <zhangjiakang4@huawei.com> Co-authored-by: zjks98 <zhangjiakang4@huawei.com> | 5 months ago | |
[Misc] update dockerfile and e2e for py3.12 (#9558) ### What this PR does / why we need it? This PR upgrades the Python version in the CANN base Docker images from 3.11 to 3.12 across all Dockerfiles. It also updates the corresponding image tags and dependencies in the documentation, test configurations, bisect helper, and multi-node test scripts. Additionally, the xlite development dependency is updated to 0.1.0rc10.dev210. - vLLM version: v0.20.2 - vLLM main: https://github.com/vllm-project/vllm/commit/9090368b650896bf5fc990c921df7eb4c20355a5 --------- Signed-off-by: Chen zhichao <chenzhichao33@h-partners.com> Signed-off-by: Zhichao Chen <35361287+czc-unac@users.noreply.github.com> Co-authored-by: Chen zhichao <chenzhichao33@h-partners.com> | 5 months ago | |
[Feature][Doc] Add AI QoS module, tuning tool, and user guide (#8706) ### What this PR does / why we need it? This PR adds **AI QoS** support for operator-facing tuning on Ascend: a **Python tool** to apply/undo and print UB switch–style configuration, **unit tests**, and an **English** user guide with platform and software constraints. - ** csrc/ai_qos**: Exposes set_qos / get_qos, set_bw / get_bw, and fuse/global config helpers via **pybind11**; integrated into the build (**CMake** / **setup.py** as applicable in this tree). - **tools/ai_qos.py**: apply to snapshot baseline and program QoS state; unset to restore and remove state; supports auto/manual traffic priorities and prints command for UB switch configuration. - **tests/ut/test_ai_qos_tool.py**: Mocks torch.npu and vllm_ascend.ai_qos; covers device list, first-apply baseline reuse, and unset/restore. - **Docs** (docs/source/user_guide/feature_guide/AI QoS Introduction_en.md): Background, Auto/Manual usage, how to disable; **Usage constraints** including: - **AIV H2D / AIV D2D** host QoS: not effective with the current driver stack; delivery planned via module upgrade after driver support lands. - **Software**: **Ascend HDK 26.0.0+**, **LingQu**-based **UB switch** version as listed in the doc table. ### Does this PR introduce _any_ user-facing change? **Yes.** Operators get a new optional pre-inference step (python tools/ai_qos.py / unset) and a published English guide with version and **constraint** information. ### How was this patch tested? - pytest -sv tests/ut/test_ai_qos_tool.py (or full pytest -sv tests/ut as required by the project) - vLLM version: v0.19.0 - vLLM main: https://github.com/vllm-project/vllm/commit/6f786f2c506cb07f4566771fdc62e640e2c4a176 --------- Signed-off-by: gtl <gaotianlong6@h-partners.com> Co-authored-by: gtl <gaotianlong6@h-partners.com> | 5 months ago |
vLLM Ascend Plugin
| About Ascend | Documentation | #SIG-Ascend | Users Forum | Weekly Meeting |
Latest News 🔥
- [2026/05] We released the new official version v0.18.0! Please follow the official guide to start using vLLM Ascend Plugin on Ascend.
- [2026/02] We released the new official version v0.13.0! Please follow the official guide to start using vLLM Ascend Plugin on Ascend.
More
- [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.
- [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.
- [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.
For detailed information on supported models, please refer to supported models.
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 == 9.0.0 (For Ascend HDK version, please refer to the Release Notes)
- PyTorch == 2.10.0, torch-npu == 2.10.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.20.2rc1 | Latest release candidate | See QuickStart and Installation for more details |
| v0.18.0 | Latest stable version | See QuickStart and Installation for more details |
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.21.0 tag |
| v0.7.1-dev | Unmaintained | Outdated, no longer maintained. |
| v0.7.3-dev | Unmaintained | Only bug fixes are allowed, and no new release tags anymore. |
| v0.9.1-dev | Unmaintained | Only bug fixes are allowed, and no new release tags anymore. |
| v0.11.0-dev | Unmaintained | Only bug fixes are allowed, and no new release tags anymore. |
| releases/v0.13.0 | Maintained | CI commitment for vLLM 0.13.0 version |
| releases/v0.18.0 | Maintained | CI commitment for vLLM 0.18.0 version |
| releases/v0.20.2rc | Maintained | CI commitment for vLLM 0.20.2 version |
| rfc/feature-name | Maintained | Feature branches for collaboration |
Please refer to Versioning policy 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.
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