Skip to content

Conversation

@pisceskkk
Copy link

@pisceskkk pisceskkk commented Dec 15, 2025

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 ====

…, DCP, and p_kv_cache_interleave_size

Signed-off-by: QiuChunshuo <[email protected]>
Signed-off-by: QiuChunshuo <[email protected]>
@github-actions
Copy link

👋 Hi! Thank you for contributing to the vLLM Ascend project. The following points will speed up your PR merge:‌‌

  • A PR should do only one thing, smaller PRs enable faster reviews.
  • Every PR should include unit tests and end-to-end tests ‌to ensure it works and is not broken by other future PRs.
  • Write the commit message by fulfilling the PR description to help reviewer and future developers understand.

If CI fails, you can run linting and testing checks locally according Contributing and Testing.

@wangxiyuan
Copy link
Collaborator

maybe we'll remove block table file later. Let's wait more. @MengqingCao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants