Qwen2.5 and Qwen3¶
| Checkpoints | Inputs |
|---|---|
| Qwen/Qwen2.5-0.5B-Instruct Qwen/Qwen2.5-1.5B-Instruct Qwen/Qwen3-4B |
text |
Any dense Qwen2.5 or Qwen3 chat model serves as it is. Each question is asked in the user turn after the state, with one line per option labeled A, B, C and so on and a line that asks for one label, and its answer is read from the probabilities of those labels at the first token of the reply. A noul is answered yes or no, and score levels are labeled 0 to 9, or with letters past ten levels. After Z come two-letter labels, AA, AB and so on, each one token, so a question takes up to 256 options or levels. Thinking is off. The models the table names are the ones tested.
Speed¶
On one H200, one request at a time, the median latency of a request over HTTP. The requests carry several questions on the Decision Index and MultiRC and one on RACE and QuALITY long. Flide and vLLM read the same prompt, and SGLang writes its own. vLLM 0.32.0rc1 refuses Qwen2.5 on its decision endpoint, so Qwen2.5 compares with SGLang alone.
| Decision Index | RACE | MultiRC | QuALITY long | |
|---|---|---|---|---|
| Qwen2.5-0.5B, Flide | 5.7 ms | 5.1 ms | 12.7 ms | 13.5 ms |
| Qwen2.5-0.5B, SGLang | 10.5 ms | 10.1 ms | 71.8 ms | 19.6 ms |
| Qwen2.5-1.5B, Flide | 7.3 ms | 6.6 ms | 20.3 ms | 25.2 ms |
| Qwen2.5-1.5B, SGLang | 11.3 ms | 10.6 ms | 107.0 ms | 31.1 ms |
| Qwen3-4B, Flide | 10.9 ms | 9.6 ms | 48.4 ms | 60.4 ms |
| Qwen3-4B, vLLM | 13.6 ms | 12.7 ms | 112.2 ms | 66.8 ms |
| Qwen3-4B, SGLang | 14.6 ms | 13.3 ms | 217.2 ms | 67.0 ms |
Start a server¶
flide serve --model Qwen/Qwen3-4B
The prompt styles and limits on the Qwen3.5 page apply to Qwen2.5 and Qwen3 as well. Images do not.
8-bit weights¶
flide serve --model Qwen/Qwen3-4B --quantize int8
--quantize fp8 runs the decoder's projections in FP8 on NVIDIA Ada, Hopper and Blackwell GPUs, and --quantize int8
in int8 on NVIDIA Ampere and later GPUs and on AMD Instinct GPUs, the inputs of each projection scaled by calibration
requests at startup. The numbers move a little, and with --batch-invariant every answer keeps its bits at any load.