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 "drawais/Qwen2.5-Coder-32B-Instruct-NVFP4" \
    --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": "drawais/Qwen2.5-Coder-32B-Instruct-NVFP4",
		"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 "drawais/Qwen2.5-Coder-32B-Instruct-NVFP4" \
        --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": "drawais/Qwen2.5-Coder-32B-Instruct-NVFP4",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Qwen2.5-Coder-32B-Instruct-NVFP4

INT4 weight-only quantization of Qwen/Qwen2.5-Coder-32B-Instruct.

Qwen2.5-Coder-32B-Instruct in NVFP4 W4A4. Native vLLM compressed-tensors. About 17 GB on disk.

Property Value
Base model Qwen/Qwen2.5-Coder-32B-Instruct
Quantization INT4 weight-only
Approx. on-disk size ~20.7 GB
License Apache License, Version 2.0
Languages English

Load (vLLM)

vllm serve drawais/Qwen2.5-Coder-32B-Instruct-NVFP4 \
  --max-model-len 32768 \
  --gpu-memory-utilization 0.94
from vllm import LLM, SamplingParams
llm = LLM(model="drawais/Qwen2.5-Coder-32B-Instruct-NVFP4", max_model_len=32768)
print(llm.generate(["Hello!"], SamplingParams(max_tokens=128))[0].outputs[0].text)

Footprint

~20.7 GB on disk. Recommended VRAM: enough headroom for KV cache.

License & attribution

This artifact is a derivative work of Qwen/Qwen2.5-Coder-32B-Instruct, released by its original authors under the Apache License, Version 2.0.

This artifact is distributed under the same license. The full license text is included in LICENSE, and required attribution is in NOTICE.

License text: https://www.apache.org/licenses/LICENSE-2.0 Source model: https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct

Downloads last month
16
Safetensors
Model size
19B params
Tensor type
F32
BF16
F8_E4M3
U8
Inference Providers NEW
This model isn't deployed by any Inference Provider. 馃檵 Ask for provider support

Model tree for drawais/Qwen2.5-Coder-32B-Instruct-NVFP4

Base model

Qwen/Qwen2.5-32B
Quantized
(119)
this model