qwen3_5_0.8b. For a larger model, the 27B defaults shard over four GPUs.
Install and start
The default configs warm the vision path before accepting requests. If you send video, install FFmpeg’s shared libraries so TorchCodec can decode it.qwen3_5_0.8b
Text, image, video → text. The default qwen3_5_0.8b.yaml uses 1 GPU. The weights use Apache-2.0.
qwen3_5_2b
Text, image, video → text. The default qwen3_5_2b.yaml uses 1 GPU. The weights use Apache-2.0.
qwen3_5_4b
Text, image, video → text. The default qwen3_5_4b.yaml uses 1 GPU. The weights use Apache-2.0.
qwen3_5_9b
Text, image, video → text. The default qwen3_5_9b.yaml uses 1 GPU. The weights use Apache-2.0.
qwen3_5_27b
Text, image, video → text. The default qwen3_5_27b_tp4.yaml uses 4 GPUs. The weights use Apache-2.0.
qwen3_8_27b
Text, image, video → text. The default qwen3_8_27b_tp4.yaml uses 4 GPUs. The weights use Apache-2.0.
Send a request
Run either client example in a second terminal after/health returns 200.
Ask about an image
Save an image asscene.png. The same request works with each checkpoint above.
Python SDK
Deployment configs
All of them set
max_seq_len: 32768. Under DP2 the conductor sends each request to the cheaper replica, judged by live requests and the prompt’s predicted prefix hit.
To use an alternative, pass --config configs/<file> after the launcher name. From a wheel installation, copy the shipped YAML and pass its local path.
Settings and defaults
Request knobs go inmodel_kwargs on /generate and in extra_body on the OpenAI route. temperature, top_p, max_tokens and seed are the standard OpenAI fields.
Sampling defaults come from the checkpoint’s
generation_config.json, under whatever the request sets.
Deployment keys in the YAML:
MSTAR_MAX_VIDEO_PIXELS caps the pixels a request’s videos decode to. Decoding runs in the API server before the request is queued, and a video over the cap is a 400.
Limits
- Qwen3.5 MoE checkpoints are not supported.
- A video request without torchcodec and FFmpeg’s shared libraries is a 400; there is no fallback decoder.
- The MTP head is not loaded.
- Qwen3.8-27B’s chat template options
reasoning_effortandpreserve_thinkingare not forwarded. Every request gets the template’s defaults, and one that sends either is logged as ignoring it. - Prefix caching is off when the LLM spans more than one rank, as in the TP2 and TP4 configs.
- The chat route returns one choice of plain text. It refuses tool calls,
nabove 1, stop sequences, OpenAIlogprobs,logit_bias, presence and frequency penalties, and aresponse_formatother than text. - An encoder step past the vision encoder’s largest captured bucket (16384 patches, such as a long video at ordinary resolution) runs without the graph. The request still succeeds, with more launch overhead.