Skip to content

Conversation

@SlightwindSec
Copy link
Contributor

Add KV Pool feature guide

Signed-off-by: SlightwindSec <[email protected]>
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 adds a new feature guide for KV Pool with Mooncake, replacing an older deployment guide. The new documentation is comprehensive, covering environment setup, configuration, and various deployment scenarios. My review focuses on ensuring the correctness of the provided commands to prevent user errors. I've identified and suggested fixes for a couple of critical errors in shell commands within the guide that would otherwise fail when executed.


An example command for compiling ADXL:

`rm -rf build && mkdir -p build && cd build \ && cmake .. -DCMAKE_INSTALL_PREFIX=/opt/transfer-engine/ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DUSE_ASCEND_DIRECT=ON -DBUILD_SHARED_LIBS=ON -DBUILD_UNIT_TESTS=OFF \ && make -j \ && make install`
Copy link
Contributor

Choose a reason for hiding this comment

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

high

The compilation command contains misplaced backslashes (\) that will cause it to fail if copied and pasted. The backslashes appear to be intended for line continuation but are incorrectly placed before &&. This will cause the shell to interpret the command incorrectly. To fix this, the backslashes should be removed to form a single, valid command line.

Suggested change
`rm -rf build && mkdir -p build && cd build \ && cmake .. -DCMAKE_INSTALL_PREFIX=/opt/transfer-engine/ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DUSE_ASCEND_DIRECT=ON -DBUILD_SHARED_LIBS=ON -DBUILD_UNIT_TESTS=OFF \ && make -j \ && make install`
`rm -rf build && mkdir -p build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=/opt/transfer-engine/ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DUSE_ASCEND_DIRECT=ON -DBUILD_SHARED_LIBS=ON -DBUILD_UNIT_TESTS=OFF && make -j && make install`

Comment on lines 214 to 218
--host localhost\
--prefiller-hosts localhost \
--prefiller-ports 8100 \
--decoder-hosts localhost\
--decoder-ports 8200 \
Copy link
Contributor

Choose a reason for hiding this comment

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

high

The command to start the proxy server has incorrect line continuations.

  • On lines 214 and 217, the backslash \ is not separated from the argument by a space. This makes the backslash part of the argument value (e.g., localhost\), which will cause errors.
  • On line 218, there is a trailing backslash which is unnecessary for the last argument line.
    I've corrected these issues in the suggestion.
Suggested change
--host localhost\
--prefiller-hosts localhost \
--prefiller-ports 8100 \
--decoder-hosts localhost\
--decoder-ports 8200 \
--host localhost \
--prefiller-hosts localhost \
--prefiller-ports 8100 \
--decoder-hosts localhost \
--decoder-ports 8200

Signed-off-by: SlightwindSec <[email protected]>
Signed-off-by: SlightwindSec <[email protected]>
Signed-off-by: SlightwindSec <[email protected]>
Signed-off-by: SlightwindSec <[email protected]>
Signed-off-by: SlightwindSec <[email protected]>
@wangxiyuan
Copy link
Collaborator

@LCAIZJ Please merge this if it's fine

@LCAIZJ
Copy link
Collaborator

LCAIZJ commented Dec 19, 2025

@LCAIZJ Please merge this if it's fine

Sure, I'll take care of reviewing and merging this PR.

@LCAIZJ
Copy link
Collaborator

LCAIZJ commented Dec 23, 2025

Could you please take a moment to reply to the question above? @SlightwindSec

Signed-off-by: SlightwindSec <[email protected]>
@SlightwindSec
Copy link
Contributor Author

Could you please take a moment to reply to the question above? @SlightwindSec

Done.

@SlightwindSec
Copy link
Contributor Author

Please merge this if it's fine @LCAIZJ , thanks!

@LCAIZJ LCAIZJ merged commit 80b8faa into vllm-project:v0.11.0-dev Dec 25, 2025
11 checks passed
@SlightwindSec SlightwindSec deleted the v0.11.0-doc branch December 25, 2025 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants