How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "asp-prototyping/Qwen3-Coder-30B-A3B-Instruct_MXFP4" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "asp-prototyping/Qwen3-Coder-30B-A3B-Instruct_MXFP4",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "asp-prototyping/Qwen3-Coder-30B-A3B-Instruct_MXFP4" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "asp-prototyping/Qwen3-Coder-30B-A3B-Instruct_MXFP4",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Qwen3-Coder-30B-A3B-Instruct_MXFP4

This checkpoint is a variant of Qwen3-Coder-30B-A3B-Instruct, where expert weights have been quantized to MXFP4 format similarly to gpt-oss-20b and gpt-oss-120b.

For quantizing weights we used the function downcast_to_mxfp from triton-kernels.

The checkpoint might come with a small drop in accuracy, but has ~68% size reduction compared to the original BF16 checkpoint.

Accuracy Comparison

Model GSM8K (strict-match) GSM8K (flexible-extract)
Qwen3-Coder-30B-A3B-Instruct (BF16) 90.67% ยฑ 0.80% 89.92% ยฑ 0.83%
Qwen3-Coder-30B-A3B-Instruct_MXFP4 89.76% ยฑ 0.83% 88.70% ยฑ 0.87%

Checkpoint Size

Model Size Reduction
Qwen3-Coder-30B-A3B-Instruct (BF16) 57 GB -
Qwen3-Coder-30B-A3B-Instruct_MXFP4 18 GB 68% smaller
Downloads last month
14
Safetensors
Model size
31B params
Tensor type
BF16
ยท
U8
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support