feat(vllm_dissag): Kimi-K3-MXFP4 2P/2D disagg framework integration - #237
Draft
MIR-AMD wants to merge 1 commit into
Draft
feat(vllm_dissag): Kimi-K3-MXFP4 2P/2D disagg framework integration#237MIR-AMD wants to merge 1 commit into
MIR-AMD wants to merge 1 commit into
Conversation
Adds Kimi-K3-MXFP4 (MI300X gfx942 MXFP4 MoE) to the vllm_dissag framework: - models.yaml: K3 recipe env anchor + model entry (TP2×DP8, MoRI-EP) - run_xPyD_models.slurm: allowlists + 2P/2D validation + JIT cache split - moriio.sh: K3-gated topology (pod_hosts, api-server-count, headless KV) - vllm_disagg.sh: pod hosts export + _model_config_to_array helper - argv_assert.sh: K3 offline tests Config-only integration; image build documented in README. Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scripts/vllm_dissag/, no standalone recipe folderChanges
models.yaml: K3 recipe env anchor + model entry (20 env vars, prefill.dp/decode.dp flags)run_xPyD_models.slurm: add to VALID/MORI_EP_VALID/WIDE_EP_ONLY allowlists + 2P/2D validation + JIT cache splitconnectors/moriio.sh:_moriio_is_kimik3gating (pod_hosts KV config, TP2×DP8, api-server-count, headless KV)vllm_disagg.sh: PREFILL/DECODE_POD_HOSTS export + K3 DP math +_model_config_to_arrayhelpertests/argv_assert.sh: K3 offline assertions (proves K3 works AND non-K3 unchanged)Regression safety
All K3 changes are guarded by
_moriio_is_kimik3()/MODEL_NAME=="Kimi-K3-MXFP4". Three shared improvements (cache dir default, eval→_model_config_to_array, MAX_NUM_BATCHED_TOKENS flag) are model-agnostic and no-op for non-K3.Offline
argv_assert.shvalidates: 37 passed, 0 failed (including existing DeepSeek/Llama assertions).Image
Image build is documented in README.MD. Operators build separately from public repos:
Related
Test plan
bash -non all .sh filesargv_assert.shoffline tests (37/37 pass)🤖 Generated with Claude Code