Skip to content

Conversation

@andyxning
Copy link
Contributor

@andyxning andyxning commented Sep 4, 2025

Purpose

Enhance free kv cache block queue popleft_n ut with assert queue element size.

Test Plan

NA

Test Result

NA

Essential Elements of an Effective PR Description Checklist
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.
  • (Optional) Release notes update. If your change is user facing, please update the release notes draft in the Google Doc.

@mergify mergify bot added the v1 label Sep 4, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request enhances the unit test for FreeKVCacheBlockQueue.popleft_n by adding assertions to verify the number of free blocks after each pop operation. The added assertions are correct and improve the test's robustness by explicitly checking the queue's state. The changes are sound and I have no further suggestions.

@andyxning
Copy link
Contributor Author

@heheda12345 @NickLucche

@zhuohan123 zhuohan123 enabled auto-merge (squash) September 15, 2025 03:20
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Sep 15, 2025
@zhuohan123 zhuohan123 merged commit bc0f605 into vllm-project:main Sep 15, 2025
19 checks passed
@andyxning andyxning deleted the enhance_free_kv_cache_block_queue_popleft_n_test branch September 15, 2025 11:27
FeiDaLI pushed a commit to FeiDaLI/vllm that referenced this pull request Sep 25, 2025
xuebwang-amd pushed a commit to xuebwang-amd/vllm that referenced this pull request Oct 10, 2025
choprahetarth pushed a commit to Tandemn-Labs/vllm that referenced this pull request Oct 11, 2025
xuebwang-amd pushed a commit to xuebwang-amd/vllm that referenced this pull request Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready ONLY add when PR is ready to merge/full CI is needed v1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants