-
Notifications
You must be signed in to change notification settings - Fork 417
Update MiniMax M3 MXFP4 AITER command #609
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
base: main
Are you sure you want to change the base?
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 |
|---|---|---|
|
|
@@ -456,13 +456,19 @@ guide: | | |
| or launch the tested TP8 baseline directly: | ||
|
|
||
| ```bash | ||
| export VLLM_ROCM_USE_AITER=1 | ||
| export VLLM_ROCM_USE_AITER_MOE=1 | ||
| export VLLM_ROCM_USE_AITER_FUSION_SHARED_EXPERTS=1 | ||
|
|
||
| vllm serve amd/MiniMax-M3-MXFP4 \ | ||
| --tensor-parallel-size 8 \ | ||
| --trust-remote-code \ | ||
| --block-size 128 \ | ||
| --no-enable-prefix-caching \ | ||
| --language-model-only \ | ||
| --max-model-len "$MAX_MODEL_LEN" \ | ||
| --attention-backend TRITON_ATTN \ | ||
| --mm-encoder-tp-mode data \ | ||
|
Member
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. do we not want to support image? |
||
| --mm-encoder-attn-backend ROCM_AITER_FA \ | ||
| --moe-backend aiter \ | ||
|
Comment on lines
+467
to
+471
Contributor
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. The updated guide command now uses the text-only launch flags ( However, the hardware_overrides:
mi355x:
docker_image: "vllm/vllm-openai-rocm:nightly"
extra_args:
- "--trust-remote-code"
# Keep the multimodal encoder loaded and run it data-parallel on MI355X.
- "--mm-encoder-tp-mode"
- "data"
- "--mm-encoder-attn-backend"
- "ROCM_AITER_FA"To ensure that the automated command builder/UI generates the correct command for the hardware_overrides:
mi355x:
docker_image: "vllm/vllm-openai-rocm:nightly"
extra_args:
- "--trust-remote-code"
- "--no-enable-prefix-caching"
- "--language-model-only"
- "--moe-backend"
- "aiter"
extra_env:
VLLM_ROCM_USE_AITER: "1"
VLLM_ROCM_USE_AITER_MOE: "1"
VLLM_ROCM_USE_AITER_FUSION_SHARED_EXPERTS: "1"
Member
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. gemini feedback here is also valid. Please comment on this @haic0 |
||
| --tool-call-parser minimax_m3 \ | ||
| --enable-auto-tool-choice \ | ||
| --reasoning-parser minimax_m3 | ||
|
|
||
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 command uses the
$MAX_MODEL_LENenvironment variable on line 469, but it is not defined or initialized anywhere in this bash snippet. If a user copy-pastes and runs this block directly, the variable will evaluate to an empty string, causing thevllm servecommand to fail with a parsing error.Please define
MAX_MODEL_LENin the environment setup lines above the command.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.
@haic0 please address the concern of gemini. It is valid.