Skip to content

Add MiniMax-M3 modelopt nvfp4 support - #46380

Merged
zyongye merged 2 commits into
vllm-project:minimax-m3-perffrom
CentML:minimax_m3_nvfp4
Jun 25, 2026
Merged

zyongye merged 2 commits into
vllm-project:minimax-m3-perffrom
CentML:minimax_m3_nvfp4

Conversation

@xinli-sw

@xinli-sw xinli-sw commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Purpose

Test Plan

Test Result


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.

Signed-off-by: Xin Li <xinli@nvidia.com>
@mergify mergify Bot added the nvidia label Jun 22, 2026
@xinli-sw
xinli-sw marked this pull request as draft June 22, 2026 15:01
@xinli-sw
xinli-sw marked this pull request as ready for review June 24, 2026 05:25

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@Edwardf0t1

Copy link
Copy Markdown
Contributor

@xinli-sw The NVFP4 ckpt is released at https://huggingface.co/nvidia/MiniMax-M3-NVFP4

@Edwardf0t1

Copy link
Copy Markdown
Contributor

@mgoin @pavanimajety Please help review this one.

@xinli-sw

Copy link
Copy Markdown
Contributor Author

this currently is rebased on vllm-project:minimax-m3-perf , we could target main instead or wait a bit until we merge that branch to main in a few days

@abhiram1809

Copy link
Copy Markdown

I am getting this
NotImplementedError: No NvFp4 MoE backend supports the deployment configuration. on a 4X RTX 6000 Pro rig on the quant specified. Here is my dockerfile.

FROM vllm/vllm-openai:nightly

WORKDIR /app

# Install git + CrowdStrike deps, then CentML vLLM fork
RUN apt-get update && \
    dpkg --configure -a && \
    apt-get -f install -y && \
    apt-get install -y git curl sudo libnl-3-200 libnl-genl-3-200 && \
    rm -rf /var/lib/apt/lists/*

RUN pip install setuptools_rust && \
    VLLM_USE_PRECOMPILED=1 pip install "git+https://github.com/CentML/vllm.git@minimax_m3_nvfp4"

COPY start_with_ray.sh /app/start_with_ray.sh
ENV PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True
ENV FLASHINFER_DISABLE_VERSION_CHECK=1

EXPOSE 8000
EXPOSE 8265

ENTRYPOINT ["/app/start_with_ray.sh"]

# Overriden during runtime with the arguments mentioned in https://huggingface.co/nvidia/MiniMax-M3-NVFP4
CMD ["models/qwen-a3b", "--served-model-name", "qwen-a3b", "--max-model-len", "200000", "--dtype", "auto", "--gpu-memory-utilization", "0.95"]

@zyongye
zyongye merged commit 0586a20 into vllm-project:minimax-m3-perf Jun 25, 2026
4 of 5 checks passed
@github-project-automation github-project-automation Bot moved this to Done in NVIDIA Jun 25, 2026
khluu added a commit to vllm-project/perf-eval that referenced this pull request Sep 1, 2026
MiniMax-M3 NVFP4 support merged into vLLM in June (vllm-project/vllm#46380)
and Kimi K3 is registered in vLLM main (KimiK3ForConditionalGeneration,
including the dspark_mla draft), so current nightlies serve both models.

These three workloads were the only ones in the repo setting a dedicated
vllm.image (and, briefly, pin_image). Every other workload omits image and
defaults to the nightly under test. Drop the image field from minimax_m3_b200,
minimax_m3_h200, and kimi_k3_mi355x so they follow the same nightly-default
convention; the VLLM_IMAGE / VLLM_COMMIT override applies as it does for all
other workloads.

Keep the pin_image resolver mechanism as an escape hatch, but update the README
so it no longer cites kimi-k3 / minimax-m3 as models that need it.

This commit was authored with assistance from Kimi Code CLI.

Co-Authored-By: Kimi <noreply@moonshot.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants