Skip to content

Commit c681def

Browse files
committed
[Bugfix] fix import error
Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
1 parent 5cd5d64 commit c681def

File tree

6 files changed

+19
-4
lines changed

6 files changed

+19
-4
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@
6868
# the branch of vllm-ascend, used in vllm-ascend clone and image tag
6969
# - main branch: 'main'
7070
# - vX.Y.Z branch: latest vllm-ascend release tag
71-
'vllm_ascend_version': 'v0.9.0rc1',
71+
'vllm_ascend_version': 'v0.9.0rc2',
7272
# the newest release version of vllm-ascend and matched vLLM, used in pip install.
7373
# This value should be updated when cut down release.
74-
'pip_vllm_ascend_version': "0.9.0rc1",
74+
'pip_vllm_ascend_version': "0.9.0rc2",
7575
'pip_vllm_version': "0.9.0",
7676
# CANN image tag
7777
'cann_image_tag': "8.1.rc1-910b-ubuntu22.04-py3.10",

docs/source/developer_guide/versioning_policy.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Following is the Release Compatibility Matrix for vLLM Ascend Plugin:
2222

2323
| vLLM Ascend | vLLM | Python | Stable CANN | PyTorch/torch_npu | MindIE Turbo |
2424
|-------------|--------------|------------------|-------------|--------------------|--------------|
25+
| v0.9.0rc2 | v0.9.0 | >= 3.9, < 3.12 | 8.1.RC1 | 2.5.1 / 2.5.1 | |
2526
| v0.9.0rc1 | v0.9.0 | >= 3.9, < 3.12 | 8.1.RC1 | 2.5.1 / 2.5.1 | |
2627
| v0.8.5rc1 | v0.8.5.post1 | >= 3.9, < 3.12 | 8.1.RC1 | 2.5.1 / 2.5.1 | |
2728
| v0.8.4rc2 | v0.8.4 | >= 3.9, < 3.12 | 8.0.0 | 2.5.1 / 2.5.1 | |
@@ -34,6 +35,7 @@ Following is the Release Compatibility Matrix for vLLM Ascend Plugin:
3435

3536
| Date | Event |
3637
|------------|-------------------------------------------|
38+
| 2025.06.10 | Release candidates, v0.9.0rc2 |
3739
| 2025.06.09 | Release candidates, v0.9.0rc1 |
3840
| 2025.05.29 | v0.7.x post release, v0.7.3.post1 |
3941
| 2025.05.08 | v0.7.x Final release, v0.7.3 |
@@ -71,6 +73,7 @@ Usually, each minor version of vLLM (such as 0.7) will correspond to a vLLM Asce
7173
| Branch | Status | Note |
7274
|------------|--------------|--------------------------------------|
7375
| main | Maintained | CI commitment for vLLM main branch and vLLM 0.9.x branch |
76+
| v0.9.1-dev | Maintained | CI commitment for vLLM 0.9.0 and 0.9.1 version |
7477
| v0.7.3-dev | Maintained | CI commitment for vLLM 0.7.3 version |
7578
| v0.7.1-dev | Unmaintained | Replaced by v0.7.3-dev |
7679

docs/source/user_guide/graph_mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ outputs = model.generate("Hello, how are you?")
5454
online example:
5555

5656
```shell
57-
vllm serve Qwen/Qwen2-7B-Instruct --additional-config='{"torchair_graph_config": {"enable": True}}'
57+
vllm serve Qwen/Qwen2-7B-Instruct --additional-config='{"torchair_graph_config": {"enable": true}}'
5858
```
5959

6060
You can find more detail about additional config [here](./additional_config.md)

docs/source/user_guide/release_notes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Release note
22

3+
## v0.9.0rc1 - 2025.06.10
4+
5+
This release contains some quick fixes for v0.9.0rc1. Please use this release instead of v0.9.0rc1.
6+
7+
### Highlights
8+
9+
- Fix the import error when vllm-ascend is installed without editable way. [#1152](https://github.com/vllm-project/vllm-ascend/pull/1152)
10+
311
## v0.9.0rc1 - 2025.06.09
412

513
This is the 1st release candidate of v0.9.0 for vllm-ascend. Please follow the [official doc](https://vllm-ascend.readthedocs.io/en/) to start the journey. From this release, V1 Engine is recommended to use. The code of V0 Engine is frozen and will not be maintained any more. Please set environment `VLLM_USE_V1=1` to enable V1 Engine.

vllm_ascend/compilation/__init__.py

Whitespace-only changes.

vllm_ascend/worker/model_runner_v1.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,11 @@ def _update_states(self, scheduler_output: "SchedulerOutput") -> None:
496496
# Update the block IDs.
497497
if not req_data.resumed_from_preemption:
498498
# Append the new blocks to the existing block IDs.
499-
req_state.block_ids.extend(req_data.new_block_ids)
499+
for block_ids, new_block_ids in zip( # type: ignore[call-overload]
500+
req_state.block_ids,
501+
req_data.new_block_ids,
502+
strict=True):
503+
block_ids.extend(new_block_ids)
500504
else:
501505
# The request is resumed from preemption.
502506
# Replace the existing block IDs with the new ones.

0 commit comments

Comments
 (0)