1from vllm import LLM, SamplingParams
2
3model = LLM(
4 model="cybermotaz/qwen3-vl-2b-thinking-nvfp4-w4a16",
5 trust_remote_code=True,
6 quantization="modelopt_fp4",
7 kv_cache_dtype="fp8",
8 gpu_memory_utilization=0.95
9)
10
11sampling_params = SamplingParams(temperature=0.7, max_tokens=512)
12prompt = "Think step by step: What is shown in this image?"
13
14outputs = model.generate([prompt], sampling_params)
15print(outputs[0].outputs[0].text)
1# Pull the optimized container
2docker pull elkaioptimization/vllm-nvfp4-cuda-13:qwen3-vl-2b-thinking-nvfp4-1.0
3
4# Run with OpenAI-compatible API
5docker run --gpus all -p 8000:8000 \
6 elkaioptimization/vllm-nvfp4-cuda-13:qwen3-vl-2b-thinking-nvfp4-1.0
This model is released under the Apache 2.0 License, same as the original Qwen3 model.