[UT][PCP&DCP] UT for block_table.py#5032
Merged
wangxiyuan merged 2 commits intovllm-project:mainfrom Jan 6, 2026
Merged
Conversation
…, DCP, and p_kv_cache_interleave_size Signed-off-by: QiuChunshuo <qiuchunshuo@huawei.com>
Signed-off-by: QiuChunshuo <qiuchunshuo@huawei.com>
Contributor
|
👋 Hi! Thank you for contributing to the vLLM Ascend project. The following points will speed up your PR merge:
If CI fails, you can run linting and testing checks locally according Contributing and Testing. |
Collaborator
|
maybe we'll remove block table file later. Let's wait more. @MengqingCao |
Collaborator
|
@MengqingCao do we still need this change? |
Collaborator
I'm removing blocktable in this pr: #5182, but there are some issues with it and I've little time to fix it. maybe we can merge this first to ensure quality. |
MengqingCao
approved these changes
Jan 6, 2026
845473182
pushed a commit
to 845473182/vllm-ascend
that referenced
this pull request
Jan 6, 2026
…to FIA_rebase * 'main' of https://github.com/vllm-project/vllm-ascend: (58 commits) [Main2Main] Upgrade vllm commit to 0106 (vllm-project#5617) [CI]update bisheng version (vllm-project#5621) [UT][PCP&DCP] UT for block_table.py (vllm-project#5032) [Main2Main] Upgrade vllm commit to 0105 (vllm-project#5595) [CI] mv ops to correct path (vllm-project#5615) [BugFix] Fix Smoke Testing Bug for DSR1 longseq (vllm-project#5613) Revert "[Feat] enable hierarchical mc2 ops on A2 by default (vllm-project#5545)" (vllm-project#5611) [TRITON][TEST]Add nightly test for triton split_qkv_rmsnorm_rope (vllm-project#5267) [perf] Fix MLAPO weight disposal for KV-consumer MLA in PD-mix deploy... (vllm-project#5192) [docs] Correct image about prefill phase of PCP (vllm-project#5598) [CI] update triton-ascend version (vllm-project#5584) [P/D]Remove mooncake kvpool unused parameter `local_hostname` (vllm-project#5574) [Bugfix] record cos and sin cache in AscendRotaryEmbedding (vllm-project#5516) [bugfix] fix test_camem failed with triton-ascend (vllm-project#5492) [UT]add triton ops ut : test_fused_qkvzba_split_reshape_cat (vllm-project#5474) [CI] Download models from ms (vllm-project#5405) Docs: Add A3 Docker image guidance for Atlas A3 machines (vllm-project#5256) [Doc] Add NNAL installation guide and requirements (vllm-project#5235) Add the requirement of arctic-inference which speculative decoding with suffix_decode (vllm-project#5045) [BugFix][Fusion] Fix graph fusion failure problem (vllm-project#5253) ...
Rozwel-dx
pushed a commit
to Rozwel-dx/vllm-ascend
that referenced
this pull request
Jan 8, 2026
## Purpose This PR add unit test for `compute_slot_mapping` function in `block_table.py` with various `pcp_size` & `dcp_size` & `cp_kv_cache_interleave_size`. ## Test Plan ``` pytest tests/ut/worker/test_block_table.py ``` ## Test Result ``` ==== 3 passed, 2 warnings in 0.20s ==== ``` - vLLM version: v0.12.0 - vLLM main: vllm-project/vllm@ad32e3e --------- Signed-off-by: QiuChunshuo <qiuchunshuo@huawei.com>
aipaes
pushed a commit
to aipaes/vllm-ascend
that referenced
this pull request
Jan 15, 2026
## Purpose This PR add unit test for `compute_slot_mapping` function in `block_table.py` with various `pcp_size` & `dcp_size` & `cp_kv_cache_interleave_size`. ## Test Plan ``` pytest tests/ut/worker/test_block_table.py ``` ## Test Result ``` ==== 3 passed, 2 warnings in 0.20s ==== ``` - vLLM version: v0.12.0 - vLLM main: vllm-project/vllm@ad32e3e --------- Signed-off-by: QiuChunshuo <qiuchunshuo@huawei.com>
ZRJ026
pushed a commit
to ZRJ026/vllm-ascend
that referenced
this pull request
Feb 28, 2026
## Purpose This PR add unit test for `compute_slot_mapping` function in `block_table.py` with various `pcp_size` & `dcp_size` & `cp_kv_cache_interleave_size`. ## Test Plan ``` pytest tests/ut/worker/test_block_table.py ``` ## Test Result ``` ==== 3 passed, 2 warnings in 0.20s ==== ``` - vLLM version: v0.12.0 - vLLM main: vllm-project/vllm@ad32e3e --------- Signed-off-by: QiuChunshuo <qiuchunshuo@huawei.com> Signed-off-by: zrj026 <zhangrunjiang026@gmail.com>
maoxx241
pushed a commit
to maoxx241/vllm-ascend
that referenced
this pull request
Mar 2, 2026
## Purpose This PR add unit test for `compute_slot_mapping` function in `block_table.py` with various `pcp_size` & `dcp_size` & `cp_kv_cache_interleave_size`. ## Test Plan ``` pytest tests/ut/worker/test_block_table.py ``` ## Test Result ``` ==== 3 passed, 2 warnings in 0.20s ==== ``` - vLLM version: v0.12.0 - vLLM main: vllm-project/vllm@ad32e3e --------- Signed-off-by: QiuChunshuo <qiuchunshuo@huawei.com>
ZRJ026
pushed a commit
to ZRJ026/vllm-ascend
that referenced
this pull request
Mar 4, 2026
## Purpose This PR add unit test for `compute_slot_mapping` function in `block_table.py` with various `pcp_size` & `dcp_size` & `cp_kv_cache_interleave_size`. ## Test Plan ``` pytest tests/ut/worker/test_block_table.py ``` ## Test Result ``` ==== 3 passed, 2 warnings in 0.20s ==== ``` - vLLM version: v0.12.0 - vLLM main: vllm-project/vllm@ad32e3e --------- Signed-off-by: QiuChunshuo <qiuchunshuo@huawei.com> Signed-off-by: zrj026 <zhangrunjiang026@gmail.com>
LCAIZJ
pushed a commit
to LCAIZJ/vllm-ascend
that referenced
this pull request
Mar 7, 2026
## Purpose This PR add unit test for `compute_slot_mapping` function in `block_table.py` with various `pcp_size` & `dcp_size` & `cp_kv_cache_interleave_size`. ## Test Plan ``` pytest tests/ut/worker/test_block_table.py ``` ## Test Result ``` ==== 3 passed, 2 warnings in 0.20s ==== ``` - vLLM version: v0.12.0 - vLLM main: vllm-project/vllm@ad32e3e --------- Signed-off-by: QiuChunshuo <qiuchunshuo@huawei.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This PR add unit test for
compute_slot_mappingfunction inblock_table.pywith variouspcp_size&dcp_size&cp_kv_cache_interleave_size.Test Plan
Test Result