MTP Added - Re-download

#7
by Sehyo - opened
Owner

Have added MTP layers / support.
Please redownload :)

Alright doing it now, can you please add a sglang tool support startup command?

Thanks! I also uploaded the MTP weights here if needed: https://huggingface.co/scottgl/Qwen3.5-122B-A10B-MTP-NVFP4 (NVFP4 quantized).

Has anyone got this to work with vllm? I used the nightly build. Im able to serve the model, but performance is suboptimal and during decode it gets caught in infinite reasoning loops. Currently using the shell script below on a GB10 and OpenWebUI. If anybody has had success please share your exact configuration, it would help me greatly.

#!/bin/bash

Configuration

CONTAINER_NAME="vllm_instance"
VLLM_IMAGE="vllm/vllm-openai:cu130-nightly" # Adjust image tag if you compiled locally

Use vLLM nightly docker until 0.17.0 is released.

docker run --gpus all
-p 8000:8000
--ipc=host
-v ~/.cache/huggingface:/root/.cache/huggingface
--name $CONTAINER_NAME
-e HF_TOKEN=$HF_TOKEN

$VLLM_IMAGE $MODEL
--tensor-parallel-size 1
--gpu-memory-utilization 0.9
--speculative-config '{"method": "mtp", "num_speculative_tokens": 2}'
--enable-auto-tool-choice
--tool-call-parser qwen3_coder
--reasoning-parser qwen3
--max-model-len 131072 \

Owner

For method you should use qwen3_next_mtp and not "mtp". num_speculative_tokens works best with 3 in my testing.

@sebesky ,re-pull vllm:nightly, or cu130-nightly, MTP tool parser was fixed today march 3rd.

Did you try different backends? Which did you get the best performance with?

Unfortunately this doesn't have all the GB10 specific workaround patches for NVFP4 to work well. It works, but I'm only getting 10-15 tokens per sec with cu130-nightly.

Do you know if the nightly is built from https://github.com/vllm-project/vllm? Or from somewhere else?

This is the first model I got that has MTP support actually working, thank you for making this. Getting around 20 ~ 30 t/s on GB10, nothing crazy but sufficient for agentic workflows.

Sign up or log in to comment