-
Notifications
You must be signed in to change notification settings - Fork 459
Fix VLLM_ASCEND_LLMDD_RPC_PORT renaming #3108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,7 +70,7 @@ run_tests_for_model() { | |
# Start prefill instance | ||
PREFILL_PORT=8001 | ||
|
||
BASE_CMD="ASCEND_RT_VISIBLE_DEVICES=0 VLLM_LLMDD_RPC_PORT=5559 vllm serve $model_name \ | ||
BASE_CMD="ASCEND_RT_VISIBLE_DEVICES=0 VLLM_ASCEND_LLMDD_RPC_PORT=5559 vllm serve $model_name \ | ||
--port $PREFILL_PORT \ | ||
--seed 1024 \ | ||
--enforce-eager \ | ||
|
@@ -90,7 +90,7 @@ run_tests_for_model() { | |
DECODE_PORT=8002 | ||
|
||
# Build the command with or without model-specific args | ||
BASE_CMD="ASCEND_RT_VISIBLE_DEVICES=1 VLLM_LLMDD_RPC_PORT=6000 vllm serve $model_name \ | ||
BASE_CMD="ASCEND_RT_VISIBLE_DEVICES=1 VLLM_ASCEND_LLMDD_RPC_PORT=6000 vllm serve $model_name \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line redefines the |
||
--port $DECODE_PORT \ | ||
--seed 1024 \ | ||
--enforce-eager \ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The variable
BASE_CMD
is defined here and then redefined on line 93 for the decode instance. This pattern of reusing and redefining variables is error-prone and can make the script difficult to maintain. To improve clarity and prevent potential bugs, I recommend using a unique name for this command, such asPREFILL_BASE_CMD
.