d3¶
| Checkpoints | Inputs |
|---|---|
| vllm-sr/d3-ultra | text |
| vllm-sr/d3-turbo | text, images |
| vllm-sr/d3.1-nano | text, images |
| vllm-sr/d3-flash | text, images |
| vllm-sr/d3-mini | text, images |
| vllm-sr/d3-nano | text, images |
| vllm-sr/d3-lite | text, images |
| vllm-sr/d3-edge | text, images |
d3 models are the decision models of Decision 3.0 from vLLM Semantic Router, with a readout of answer codes. d3-ultra and d3-turbo are 27B; d3.1-nano is a 2B model on Qwen3.5 with its vision encoder. Flide asks them with the release's own prompt, from its d3_format.py and d3_runtime.py. Each question is one chat prompt: the release's system line, then a user turn with "State:" and the state, "Question:" with the instructions, "Options:" with one coded line per option (A, B and so on, then AA, AB), and a closing line, with thinking off. A state that is not a string is written as JSON. d3-ultra also lists every question of the request, numbered, at the top of the user turn, as its release does.
Everything before the question block is the same for every question of a request. As in the release, that shared part is read in both directions and each question sees it and itself, so Flide computes the state once and forks every question from it. The answer is the readout at the question's last token in float32, softmaxed over its options at the release's temperature. A score is asked as a choice over its levels, and its answer is the expected level. Between the layers Flide keeps the residual stream in float32, which brings the answers closer to a float32 reference than the release's own runtime.
Images go before the text of the user turn, one image block each, read at 65,536 to 1,638,400 pixels, as in the release. They sit in the shared part, so every question sees them. Videos are not supported yet.
The small d3 models¶
d3-flash, d3-mini, d3-nano, d3-lite and d3-edge are smaller d3 models on Qwen3.5 with its vision encoder, from 8.4B
parameters (d3-flash) down to 0.59B (d3-edge). They read a request in the layout of JDI-Decision: each
question is a prompt of its own, a system turn and then one user turn with the state, the question and its options
under single-token codes, and the whole prompt is read in both directions. The answer is the softmax over the codes
of the question's options at the last position. Flide reads all the questions of a request in one batch. Images go
before the text of the user turn as they are, read at 65,536 to 1,638,400 pixels, as the release's d3_runtime reads
them. Flide finds these checkpoints by their decision_config.json and serves them with the jdi family.
Speed¶
On one H200, one request at a time, Flide answers 1.3 to 13.0 times faster than d3's own runtime (d3_runtime, as its README loads it) on transformers 5.17.0. Each workload is 32 requests, each run once on both sides before timing, and the tables give the median latency of a request. MultiRC requests ask about 49 questions each.
d3-ultra:
| Workload | Flide | Release | Speedup |
|---|---|---|---|
| Decision Index | 75 ms | 175 ms | 2.3× |
| RACE | 49 ms | 172 ms | 3.5× |
| MultiRC | 743 ms | 961 ms | 1.3× |
| QuALITY long | 352 ms | 510 ms | 1.5× |
d3-turbo:
| Workload | Flide | Release | Speedup |
|---|---|---|---|
| Decision Index | 57.7 ms | 173.4 ms | 3.0× |
| RACE | 41.7 ms | 172.3 ms | 4.1× |
| MultiRC | 399.1 ms | 683.1 ms | 1.7× |
| QuALITY long | 341.4 ms | 501.6 ms | 1.5× |
| GQA (images) | 104.0 ms | 199.7 ms | 1.9× |
d3.1-nano:
| Workload | Flide | Release | Speedup |
|---|---|---|---|
| Decision Index | 6.7 ms | 64.5 ms | 9.7× |
| RACE | 4.9 ms | 63.8 ms | 13.0× |
| MultiRC | 68.0 ms | 108.3 ms | 1.6× |
| QuALITY long | 31.3 ms | 78.7 ms | 2.5× |
| GQA (images) | 23.1 ms | 88.9 ms | 3.9× |
d3-lite:
| Workload | Flide | Release | Speedup |
|---|---|---|---|
| Decision Index | 5.3 ms | 32.3 ms | 6.1× |
| RACE | 3.8 ms | 31.7 ms | 8.2× |
| MultiRC | 67.1 ms | 263.3 ms | 3.9× |
| QuALITY long | 21.1 ms | 38.9 ms | 1.8× |
| GQA (images) | 28.6 ms | 129.0 ms | 4.5× |
d3-edge:
| Workload | Flide | Release | Speedup |
|---|---|---|---|
| Decision Index | 3.7 ms | 15.9 ms | 4.3× |
| RACE | 2.6 ms | 15.0 ms | 5.7× |
| MultiRC | 35.1 ms | 123.6 ms | 3.5× |
| QuALITY long | 14.4 ms | 24.4 ms | 1.7× |
| GQA (images) | 20.4 ms | 92.8 ms | 4.6× |
Start a server¶
flide serve --model vllm-sr/d3-turbo
flide serve --model vllm-sr/d3-ultra
flide serve --model vllm-sr/d3.1-nano
flide serve --model vllm-sr/d3-lite
Send a request¶
curl http://localhost:8000/v1/systemone -H "Content-Type: application/json" -d '{
"state": "Order #1182 arrived with a cracked screen. The customer asks for a refund.",
"questions": {
"action": {"type": "choice", "instructions": "What should support do next?",
"criteria": {"refund": "refund the order", "replace": "send a replacement", "escalate": "ask a human"}},
"urgent": {"type": "noul", "instructions": "Does this need a reply within the hour?"}
}
}'
d3-turbo and d3.1-nano read images. They go in images, as data URLs or plain base64, as for the chat models.
IMG=$(base64 -w0 photo.jpg)
curl http://localhost:8000/v1/systemone -H "Content-Type: application/json" -d @- <<EOF
{
"state": "Order #1182 arrived with a cracked screen. The customer asks for a refund. A photo is attached.",
"images": ["data:image/jpeg;base64,$IMG"],
"questions": {
"cracked": {"type": "noul", "instructions": "Does the photo show a cracked screen?"},
"action": {"type": "choice", "instructions": "What should support do next?",
"criteria": {"refund": "refund the order", "replace": "send a replacement", "escalate": "ask a human"}}
}
}
EOF