Vllm ascend release

From vllm-project/vllm-ascend · View interactive version

Vllm ascend release is an AI agent skill from the GitHub repository vllm-project/vllm-ascend. End-to-end release management skill for vLLM Ascend. Creates release checklist issues, triages critical bugs, audits test coverage, aggregates release note fragments, and guides through the complete release process.

How to use this skill

Skill file

vLLM Ascend Release Skill

Overview

This skill manages the complete end-to-end release process for vLLM Ascend, from creating the release checklist issue to final release announcement. It automates repetitive tasks while ensuring human oversight at critical decision points.

When to Use This Skill

Use this skill when:

Prerequisites

Verify GitHub CLI Installation

Before starting the release process, verify that gh CLI is installed and authenticated:

# Check if gh is installed
gh --version

# If not installed, install gh CLI:
# Ubuntu/Debian
apt install gh -y

# macOS
brew install gh

# OpenEuler
yum install gh -y

# Check authentication status
gh auth status

# If not authenticated, login with:
gh auth login

Expected output for gh auth status:

github.com
  ✓ Logged in to github.com account <username> (keyring)
  - Active account: true
  - Git operations protocol: https
  - Token: gho_****
  - Token scopes: 'gist', 'read:org', 'repo', 'workflow'

Required scopes: repo (for creating issues, PRs, releases) and workflow (for triggering CI workflows).

Workflow Overview

┌─────────────────────────────────────────────────────────────────────────────┐
│                         vLLM Ascend Release Process                         │
├─────────────────────────────────────────────────────────────────────────────┤
│                                                                             │
│  Phase 1: Initialization                                                    │
│  ├── Determine version & branch                                             │
│  ├── Create feedback issue                                                  │
│  └── Create release checklist issue                                         │
│                                                                             │
│  Phase 2: Bug Triage                                                        │
│  ├── Scan open bugs                                                         │
│  ├── Identify release-blocking bugs                                         │
│  └── Update checklist with bug list                                         │
│                                                                             │
│  Phase 3: PR Management                                                     │
│  ├── Identify must-merge PRs                                                │
│  └── Update checklist with PR list                                          │
│                                                                             │
│  Phase 4: Test Coverage Analysis                                            │
│  ├── Scan PRs for features/models without tests                             │
│  ├── Check previous feedback issue status                                   │
│  └── Update checklist with items needing manual testing                     │
│                                                                             │
│  Phase 5: Nightly Status                                                    │
│  ├── Get latest Nightly-A3 and Nightly-A2 runs                              │
│  ├── Analyze failures with extract_and_analyze.py                           │
│  └── Update checklist with nightly status table                             │
│                                                                             │
│  Phase 6: Release Notes                                                     │
│  ├── Aggregate release note fragments (release_notes/fragments)             │
│  ├── Audit commits without fragments                                        │
│  └── Create release notes PR                                                │
│                                                                             │
│  Phase 7: Documentation & Artifacts                                         │
│  └── Update version references (Docker/wheel built by CI automatically)     │
│                                                                             │
│  Phase 8: Release Execution (requires human review)                         │
│  ├── Human review & approval                                                │
│  ├── Merge release notes PR                                                 │
│  ├── Create GitHub release                                                  │
│  └── Verify automated pipelines (PyPI, Docker, ReadTheDocs)                 │
│                                                                             │
│  Phase 9: WeChat Article (微信公众号推文)                                     │
│  ├── Collect release statistics (commits, contributors)                     │
│  ├── Generate WeChat article from template                                  │
│  └── Review and publish to WeChat official account                          │
│                                                                             │
└─────────────────────────────────────────────────────────────────────────────┘

Phase 1: Initialization

1.1 Gather Release Information

Prompt the user for:

1.2 Determine Previous Version

# Get the latest release tag
gh release list --repo vllm-project/vllm-ascend --limit 5

# Or check existing tags
git tag --sort=-creatordate | head -10

1.3 Create Feedback Issue

Create a community feedback issue for the release:

gh issue create --repo vllm-project/vllm-ascend \
  --title "[Feedback]: v${VERSION} Release Feedback" \
  --body "$(cat templates/feedback-issue-template.md)" \
  --label "feedback"

1.4 Create Release Checklist Issue

Use the template in templates/release-checklist-template.md:

# Generate the checklist from template
python scripts/generate_checklist.py \
  --version ${VERSION} \
  --branch ${BRANCH} \
  --date ${DATE} \
  --manager ${MANAGER} \
  --feedback-issue ${FEEDBACK_ISSUE_NUMBER} \
  --output release-checklist.md

# Create the issue
gh issue create --repo vllm-project/vllm-ascend \
  --title "[Release]: Release checklist for ${VERSION}" \
  --body-file release-checklist.md \
  --label "release"

Phase 2: Bug Triage

2.1 Scan Issues Since Last Release

Run the issue scanning script to browse all issues since the last release:

python scripts/scan_release_bugs.py \
  --repo vllm-project/vllm-ascend \
  --since-tag ${LAST_VERSION} \
  --output issue-scan.md

The script:

  1. Gets the release date of the previous version (including rc versions)
  2. Fetches all issues created since that date
  3. Generates a report with:

2.2 Human Review Process

The output is designed for quick human review:

  1. Check flagged issues first - these have high engagement or concerning keywords
  2. Browse the open issues table - scan titles, click to investigate if needed
  3. Review closed issues - identify fixes that should be highlighted in release notes

2.3 Issue Flagging Criteria

Issues are automatically flagged when they have:

2.4 Update Checklist

After manual review, add important bugs to the release checklist:

python scripts/update_checklist_section.py \
  --issue-number ${CHECKLIST_ISSUE} \
  --section "Bug need Solve" \
  --content-file bug-list.md

Phase 3: PR Management

3.1 Identify Must-Merge PRs

Scan for PRs that should be included in the release:

# 1. [Priority] List open PRs/issues in the release milestone
gh pr list --repo vllm-project/vllm-ascend \
  --state open \
  --search "milestone:${VERSION}" \
  --json number,title,url,labels

gh issue list --repo vllm-project/vllm-ascend \
  --state open \
  --search "milestone:${VERSION}" \
  --json number,title,url,labels

# 2. List open PRs with release-related labels
gh pr list --repo vllm-project/vllm-ascend \
  --state open \
  --label "release-blocker" \
  --json number,title,url

# 3. List PRs merged since last release
gh pr list --repo vllm-project/vllm-ascend \
  --state merged \
  --search "merged:>${LAST_RELEASE_DATE}" \
  --json number,title,mergedAt

Priority Order:

  1. PRs/Issues in the release milestone - these are explicitly targeted for this release
  2. PRs with release-blocker label - critical items that must be merged
  3. Recently merged PRs - for tracking what's already included

3.2 Update Checklist

Update the checklist with PRs that need to be merged:

python scripts/update_checklist_section.py \
  --issue-number ${CHECKLIST_ISSUE} \
  --section "PR need Merge" \
  --content-file pr-list.md

Phase 4: Test Coverage Analysis

4.1 Identify Features/Models Needing Testing

CI already covers most test cases. Manual testing is only needed for:

Run the test coverage scanner:

python scripts/scan_test_coverage.py \
  --repo vllm-project/vllm-ascend \
  --since-tag ${LAST_VERSION} \
  --feedback-issue ${PREVIOUS_FEEDBACK_ISSUE} \
  --output test-coverage-analysis.md

This script:

  1. Scans PRs merged since the last release
  2. Identifies features/models without corresponding test files
  3. Checks the previous feedback issue for unresolved problems

4.2 Review the Analysis

The output categorizes items:

Features/Models Needing Manual Testing:

Previous Feedback Status:

4.3 Manual Testing Checklist

For items identified above, perform manual testing:

#### Manual Testing Required

- [ ] Model: Kimi K2.5 - Basic inference works
- [ ] Model: GLM-5 - Multimodal features work
- [ ] Feature: Expert parallelism with 8 GPUs
- [ ] Feedback: User reported slow startup (verify fixed)

4.4 Update Checklist with Results

python scripts/update_checklist_section.py \
  --issue-number ${CHECKLIST_ISSUE} \
  --section "Functional Test" \
  --content-file test-results.md

Phase 5: Nightly Status

5.1 Analyze Nightly CI Runs

Get the latest Nightly-A3 and Nightly-A2 CI runs and analyze failures:

python scripts/scan_nightly_status.py \
  --repo vllm-project/vllm-ascend \
  --output nightly-status.md

This script:

  1. Fetches the latest Nightly-A3 and Nightly-A2 workflow runs
  2. Calls extract_and_analyze.py (from main2main-error-analysis skill) for failed runs
  3. Extracts and categorizes errors:

5.2 Review Output

The output includes:

| Workflow | Status | Failed Jobs | Code Bugs | Env Flakes | Run |

|----------|--------|-------------|-----------|------------|-----|

| Nightly-A3 | ✅ success | 0/15 | 0 | 0 | #123 |

| Nightly-A2 | ❌ failure | 3/12 | 2 | 1 | #124 |

For failed runs, it also shows:

5.3 Update Checklist

python scripts/update_checklist_section.py \
  --issue-number ${CHECKLIST_ISSUE} \
  --section "Nightly Status" \
  --content-file nightly-status.md

Phase 6: Release Notes

This phase assembles the release notes from the fragments collected in release_notes/fragments/ (see release_notes/README.md for the fragment format and principles). Fragments are the primary source; the commit-level analysis is only a fallback audit for entries contributors forgot to declare.

6.1 Fetch Commits

Fetch all commits between the previous and current version:

# Create output directory
mkdir -p output/${VERSION}

# Fetch commits with contributor statistics
uv run python scripts/fetch_commits.py \
  --owner vllm-project \
  --repo vllm-ascend \
  --base-tag ${LAST_VERSION} \
  --head-tag ${NEW_VERSION} \
  --stats \
  --output output/${VERSION}/0-current-raw-commits.md \
  --stats-output output/${VERSION}/0-contributor-stats.md

The script outputs:

6.2 Aggregate Fragments

Validate, merge, and group all fragments into a draft:

uv run python scripts/collect_release_notes.py \
  --version ${NEW_VERSION} \
  --raw-commits output/${VERSION}/0-current-raw-commits.md \
  --output output/${VERSION}/1-fragments-draft.md

The script:

  1. Validates the fragment schema and fails with precise errors on invalid files
  2. Merges entries with identical text (for example cherry-picks) into a single bullet
  3. Groups entries into release notes sections and lists highlight: true candidates
  4. Emits the audit section: commits with a PR reference but no fragment, commits without a PR reference, and fragment PRs missing from the commit list

It does not move anything unless --archive is passed. Output: 1-fragments-draft.md.

6.3 Audit Missing Fragments

Review the "Audit: Code Changes Without a Fragment" section of the draft. For every missing

line, judge whether users can notice the change (the same principle as release_notes/README.md):

Also confirm the "Fragment PRs Not Found in the Commit List" entries. Such a PR may be

unmerged, reverted, or a leftover from an earlier release: move it out of

release_notes/fragments/ (archive it under the version it belongs to, or delete it if the

PR was never merged) and keep it out of the release notes.

This step is the safety net for missed fragments. Do not skip it.

6.4 Fallback: Analyze Commits

Only needed when the audit list is large, for example the first release after the fragment

process was adopted, or when a whole area was merged without fragments. Create a CSV file to

analyze each remaining commit:

# Create analysis workspace
touch output/${VERSION}/1-commit-analysis-draft.csv

The CSV should have headers:

| Column | Description |

|--------|-------------|

| title | Commit title |

| pr number | PR number |

| user facing impact/summary | What users should know |

| category | Highlights/Features/Performance/etc. |

| decision | include/exclude/merge |

| reason | Why this decision |

6.5 Draft Release Notes

Start from output/${VERSION}/1-fragments-draft.md (plus any entries added during the audit),

then curate the wording, split or merge entries as needed, and write the Highlights. Keep the

category order used in the release notes document:

## v${VERSION} - ${DATE}

This is the first release candidate of v${VERSION} for vLLM Ascend.
Please follow the [official doc](https://docs.vllm.ai/projects/ascend/en/latest) to get started.

### Highlights
(Top 3-5 most impactful changes)

### Features
(New functionality)

### Hardware and Operator Support
(New hardware/operators)

### Performance
(Performance improvements)

### Dependencies
(Version upgrades)

### Deprecation and Configuration Changes
(Breaking changes and deprecations)

### Documentation
(Doc updates)

### Stability and Bug Fixes
(Bug fixes)

### Other Changes
(Misc)

### Known Issues
(Known limitations)

Save drafts to:

6.6 Release Notes Writing Guidelines

The inclusion principle is the same as release_notes/README.md: include changes users can

notice. The fragment draft is already filtered by that rule, and the audit step in 6.3 covers

anything the fragments missed.

Writing Tips:

Reference:

6.7 Create Release Notes PR

After release notes are finalized:

# Create branch
git checkout -b release/${VERSION}

# Make changes (see Phase 7 for the full file list)
# ...

# Archive the consumed fragments (moves them to release_notes/archive/${VERSION}/,
# fragments are never deleted: they are the raw material of the release notes)
uv run python scripts/collect_release_notes.py \
  --version ${VERSION} \
  --raw-commits output/${VERSION}/0-current-raw-commits.md \
  --output output/${VERSION}/1-fragments-draft.md \
  --archive

# Create PR
gh pr create --repo vllm-project/vllm-ascend \
  --title "Release ${VERSION}" \
  --body "Release notes and version updates for ${VERSION}" \
  --label "release"

Phase 7: Documentation & Artifacts

7.1 Files to Update

| File | Update Required |

|------|-----------------|

| README.md | Getting Started version, Branch section |

| README.zh.md | Same as above (Chinese) |

| docs/source/faqs.md | Feedback issue link |

| docs/source/user_guide/release_notes.md | Add new release notes |

| docs/source/community/versioning_policy.md | Compatibility matrix, release window |

| docs/source/community/contributors.md | New contributors |

| mkdocs.yml | Package version (in extra: block) |

| .github/workflows/schedule_image_build_and_push.yaml | Config |

7.2 Version Update Script

python scripts/update_version_references.py \
  --version ${VERSION} \
  --vllm-version ${VLLM_VERSION} \
  --feedback-issue ${FEEDBACK_ISSUE_URL}

Phase 8: Release Execution

8.1 Pre-Release Checklist

Before executing the release, verify:

8.2 Execute Release

⚠️ Human Review Required: Before executing the release, ensure all previous phases have been reviewed and approved by the release manager. This step requires explicit human confirmation.

Current Approach (Manual):

For now, execute release steps manually through GitHub UI or CLI after human review:

  1. Merge release notes PR - Review PR, ensure CI passes, then merge via GitHub UI
  2. Create GitHub release - Go to GitHub Releases page, create new release with tag
  3. Verify automated pipelines - Docker image and wheel package are built automatically by CI

Future Approach (Automated):

Once the release process is mature and well-tested, consider:

Manual Execution Commands (for reference):

# 1. Merge release notes PR (after human review)
gh pr merge ${RELEASE_PR_NUMBER} --repo vllm-project/vllm-ascend --squash

# 2. Create GitHub release
gh release create ${VERSION} \
  --repo vllm-project/vllm-ascend \
  --title "vLLM Ascend ${VERSION}" \
  --notes-file release-notes.md \
  --target main

# 3. Verify automated pipelines (no action needed - CI handles these)
# - Docker image: quay.io/ascend/vllm-ascend:${VERSION}
# - PyPI package: https://pypi.org/project/vllm-ascend/${VERSION}
# - ReadTheDocs: https://app.readthedocs.org/dashboard/

# 4. Upload 310P wheel if applicable
gh release upload ${VERSION} \
  --repo vllm-project/vllm-ascend \
  vllm_ascend-${VERSION}-310p-*.whl

8.3 Post-Release

# 1. Broadcast release (prepare announcement)
python scripts/generate_announcement.py \
  --version ${VERSION} \
  --release-notes release-notes.md \
  --output announcement.md

# 2. Close release checklist issue
gh issue close ${CHECKLIST_ISSUE} \
  --repo vllm-project/vllm-ascend \
  --comment "Release ${VERSION} completed successfully!"

Phase 9: WeChat Article (微信公众号推文)

After release notes are finalized and the release is completed, generate a WeChat article for community broadcast.

9.1 Article Structure Template

The WeChat article follows a structured format with emojis for visual appeal:

| Section | Emoji | Description | Recommended Items |

|---------|-------|-------------|-------------------|

| Opening Paragraph | 🎉 | Version announcement + positioning + core highlights summary | 1 paragraph |

| Statistics | 🥳 | Number of commits, new contributors | 1 line |

| Core Highlights | 💥 | Top 2-3 most important features/optimizations | 2-3 items |

| New Features | 🆕 | New functionality, models, operators | 3-5 items |

| Performance | 🚀 | Performance improvements (include metrics when available) | 2-4 items |

| Refactoring | 🔨 | Code refactoring, dependency upgrades | 1-3 items |

| Bug Fixes | 🐞 | Important bug fixes | 3-5 items |

| Quality/Testing | 🛡️ | Test coverage, CI/CD improvements | 0-2 items |

| Documentation | 📄 | Documentation updates (can combine into 1 item) | 1 item |

| Links | ➡️ | Source code, quick start, installation guide | 3 links |

9.2 Article Template

vLLM Ascend ${VERSION}版本发布🎉 此版本是针对vLLM v${VLLM_VERSION}系列版本首个RC版本,[1-2句核心亮点描述]。

🥳 本版本共计${COMMITS_COUNT}个commits,新增${NEW_CONTRIBUTORS_COUNT}位新开发者!
💥 [核心亮点1]
💥 [核心亮点2]
🆕 [新特性1]
🆕 [新特性2]
🆕 [新特性3]
🚀 [性能优化1,最好包含具体数据如"提升X%"]
🚀 [性能优化2]
🔨 [重构/依赖升级1]
🔨 [重构/依赖升级2]
🐞 修复 [重要bug1]
🐞 修复 [重要bug2]
🐞 修复 [重要bug3]
🛡️ [质量/测试改进]
📄 [文档更新汇总]

➡️ 源码地址:https://github.com/vllm-project/vllm-ascend/releases/tag/${VERSION}
➡️ 快速体验:https://vllm-ascend.readthedocs.io/en/latest/quick_start.html
➡️ 安装指南:https://vllm-ascend.readthedocs.io/en/latest/installation.html

9.3 Fetch Release Note from Release Tag

Important: WeChat articles are typically published after the release is complete. Always fetch the release note directly from the release tag, as it contains the most accurate and up-to-date information including the precise new contributor count.

# Fetch release note from release tag (recommended - most accurate source)
gh release view ${VERSION} --repo vllm-project/vllm-ascend --json body,name,tagName

# The release body contains:
# - Highlights, Features, Performance, Documentation sections
# - Bug fixes (Others section)
# - Dependencies and Known Issues
# - New Contributors list with exact count

Why use release tag instead of other sources:

9.4 Writing Guidelines

  1. Opening Paragraph:
  1. Content Selection:
  1. Language Style:
  1. Statistics from Release Tag:

9.5 Example: v0.18.0rc1

vLLM Ascend v0.18.0rc1版本发布🎉 此版本是针对vLLM v0.18.0系列版本首个RC版本,重点完成了C8(INT8 KV cache)对GQA attention模型的支持,以及性能优化、问题修复等。

🥳 本版本新增9位新开发者,感谢社区开发者的持续贡献!
💥 C8(INT8 KV cache)支持GQA attention模型,同时适配DeepSeek-V3.1 PD分离场景
💥 DeepSeek模型通过新MLA算子支持Ascend 950PR&950DT 系列产品
🆕 Flash Comm V1支持VL模型的MLA,解除多模态服务限制
🆕 支持speculative decoding中target和draft模型使用不同attention backend
🆕 VL MoE模型支持SP,`sp_threshold`替换为vLLM原生`sp_min_token_num`
🆕 Qwen VL模型支持`w8a8_mxfp8`量化
🚀 Triton算子重编译优化,提升算子性能
🚀 Qwen3.5/Qwen3-Next GDN prefill路径优化,预构建chunk metadata减少h2d同步开销
🚀 FIA prefill context merge路径简化,提升运行时效率
🐞 TorchNPU 和 triton-ascend 依赖版本更新,请参考官方release note
🐞 修复PD分离场景decode节点因DP节点shape不对齐导致卡住的问题
🐞 修复单卡部署多实例显存 OOM 问题
🐞 修复 DeepSeek v3.1 C8在MTP + full decode + full graph模式下的问题
🐞 修复`AscendModelSlimConfig`中量化配置key映射导致的权重加载报错问题

📄 更新Kimi-K2.5、GLM-4.7、DeepSeek-V3.2、MiniMax-M2.5及PD分离部署文档

➡️ 源码地址:
https://github.com/vllm-project/vllm-ascend/releases/tag/v0.18.0rc1
➡️ 快速体验:
https://vllm-ascend.readthedocs.io/en/v0.18.0/quick_start.html
➡️ 安装指南:
https://docs.vllm.ai/projects/ascend/en/v0.18.0/installation.html

Script Reference

scripts/fetch_commits.py

Fetches all commits between two tags and generates contributor statistics.

Arguments:

Output:

scripts/collect_release_notes.py

Validates, merges, and groups release note fragments from release_notes/fragments/ into a

draft, and audits raw commits for missing fragments.

Arguments:

Output: Draft markdown grouped by release notes sections, with:

scripts/generate_checklist.py

Generates the release checklist issue body from template.

Arguments:

scripts/scan_release_bugs.py

Scans GitHub issues since the last release for human review.

Arguments:

Output: Markdown report with:

scripts/scan_test_coverage.py

Identifies features/models that need manual testing.

Arguments:

Output: Markdown report with:

scripts/scan_nightly_status.py

Scans Nightly CI status for release readiness.

Arguments:

Output: Markdown report with:

Dependencies:

scripts/update_checklist_section.py

Updates a specific section of the release checklist issue.

Arguments:

scripts/update_version_references.py

Updates version references across documentation files.

Arguments:

scripts/generate_announcement.py

Generates release announcement for broadcasting.

Arguments:

Templates

templates/release-checklist-template.md

The release checklist issue template (see file for full template).

templates/feedback-issue-template.md

The feedback collection issue template.

References

references/version-files.yaml

List of files that need version updates and their update patterns.

references/ref-past-release-notes-highlight.md

Past release notes examples for style and category reference. Use this as a guide when writing new release notes to maintain consistency in:

Error Handling

Common Issues

| Issue | Solution |

|-------|----------|

| GitHub API rate limit | Use authenticated requests, implement backoff |

| Test timeout | Increase timeout, check hardware availability |

| Model not found | Verify model path, check storage |

| CI failure | Check CI logs, retry or fix |

Recovery Procedures

If the release process fails midway:

  1. Check the release checklist issue for current state
  2. Resume from the last incomplete step
  3. Update checklist with failure notes
  4. Notify release manager

Important Notes

  1. Human Oversight: This skill automates tasks but requires human approval at key decision points (bug prioritization, test results review, release approval).
  1. Idempotency: Most scripts can be re-run safely. Issue updates use section replacement.
  1. Rollback: If a release needs to be rolled back:
  1. Communication: Keep the community informed through the feedback issue and release checklist.
  1. Testing: Always run functional tests before release, even for RC versions.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.