Dashboard: a reasoning chooser, offering only what the model accepts

Reasoning effort isn't a backend flag -- vLLM's --reasoning-parser only parses
the output. It's a chat-template kwarg read per request, and the models differ:
Qwen3.8 27B's template takes enable_thinking plus reasoning_effort in
('low','medium','xhigh') and raises on anything else, while Ornith 1.5 9B takes
only enable_thinking. Note 'xhigh', not OpenAI's 'high'.

So the chooser is built from what the loaded model's own template actually reads
(hfcache.template_controls), with the level names from the catalog, which is the
part that can't be inferred -- a level the template doesn't know would make it
raise, so an undeclared or unreadable one is never offered or sent.

The proxy injects the setting into chat completions, with a key the client set
itself always winning, the same precedence mlx_lm gives its own
--chat-template-kwargs. Reading it from config per request (mtime-cached) means
the dashboard changes it with no restart, so the model stays loaded -- the
startup flag would have cost a full reload per change.

vLLM gets no control: llm-host runs it without a proxy, so there is nothing in
the path to inject the kwarg. The panel hides itself rather than pretend.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Neil Bantoc 2026-11-03 02:15:12 -08:00
parent 944eda06cc
commit 623d093b81
6 changed files with 395 additions and 44 deletions

View file

@ -9,16 +9,52 @@
"context": 262144,
"hybrid": true,
"reasoning": true,
"vllm": {"tool_parser": "qwen3_coder", "reasoning_parser": "qwen3", "kv_cache_dtype": "fp8", "mtp_tokens": 3},
"vllm": {
"tool_parser": "qwen3_coder",
"reasoning_parser": "qwen3",
"kv_cache_dtype": "fp8",
"mtp_tokens": 3
},
"mlx": {},
"variants": {
"fp8": {"repo": "Qwen/Qwen3.8-27B-FP8", "gb": 30.9, "mtp": true},
"bf16": {"repo": "Qwen/Qwen3.8-27B", "gb": 55.6, "mtp": true},
"nvfp4": {"repo": "nvidia/Qwen3.8-27B-NVFP4", "gb": 21.9},
"awq": {"repo": "cyankiwi/Qwen3.8-27B-AWQ-INT4", "gb": 21.0},
"mlx-8bit": {"repo": "lmstudio-community/Qwen3.8-27B-MLX-8bit", "gb": 29.5},
"mlx-6bit": {"repo": "lmstudio-community/Qwen3.8-27B-MLX-6bit", "gb": 22.8},
"mlx-4bit": {"repo": "lmstudio-community/Qwen3.8-27B-MLX-4bit", "gb": 16.1}
"fp8": {
"repo": "Qwen/Qwen3.8-27B-FP8",
"gb": 30.9,
"mtp": true
},
"bf16": {
"repo": "Qwen/Qwen3.8-27B",
"gb": 55.6,
"mtp": true
},
"nvfp4": {
"repo": "nvidia/Qwen3.8-27B-NVFP4",
"gb": 21.9
},
"awq": {
"repo": "cyankiwi/Qwen3.8-27B-AWQ-INT4",
"gb": 21.0
},
"mlx-8bit": {
"repo": "lmstudio-community/Qwen3.8-27B-MLX-8bit",
"gb": 29.5
},
"mlx-6bit": {
"repo": "lmstudio-community/Qwen3.8-27B-MLX-6bit",
"gb": 22.8
},
"mlx-4bit": {
"repo": "lmstudio-community/Qwen3.8-27B-MLX-4bit",
"gb": 16.1
}
},
"effort": {
"levels": [
"low",
"medium",
"xhigh"
],
"default": "xhigh"
}
},
{
@ -29,16 +65,44 @@
"context": 262144,
"hybrid": true,
"reasoning": true,
"vllm": {"tool_parser": "qwen3_xml", "reasoning_parser": "qwen3", "kv_cache_dtype": "fp8", "trust_remote_code": true},
"mlx": {"trust_remote_code": true},
"vllm": {
"tool_parser": "qwen3_xml",
"reasoning_parser": "qwen3",
"kv_cache_dtype": "fp8",
"trust_remote_code": true
},
"mlx": {
"trust_remote_code": true
},
"variants": {
"fp8": {"repo": "ornith-ai/Ornith-1.5-35B-A3B-FP8", "gb": 39.4},
"bf16": {"repo": "ornith-ai/Ornith-1.5-35B-A3B", "gb": 71.9},
"nvfp4": {"repo": "ornith-ai/Ornith-1.5-35B-A3B-NVFP4", "gb": 23.4},
"awq": {"repo": "cyankiwi/Ornith-1.5-35B-A3B-AWQ-INT4", "gb": 26.1},
"mlx-8bit": {"repo": "ornith-ai/Ornith-1.5-35B-A3B-MLX-8bit", "gb": 36.8},
"mlx-6bit": {"repo": "ornith-ai/Ornith-1.5-35B-A3B-MLX-6bit", "gb": 28.2},
"mlx-4bit": {"repo": "ornith-ai/Ornith-1.5-35B-A3B-MLX-4bit", "gb": 19.5}
"fp8": {
"repo": "ornith-ai/Ornith-1.5-35B-A3B-FP8",
"gb": 39.4
},
"bf16": {
"repo": "ornith-ai/Ornith-1.5-35B-A3B",
"gb": 71.9
},
"nvfp4": {
"repo": "ornith-ai/Ornith-1.5-35B-A3B-NVFP4",
"gb": 23.4
},
"awq": {
"repo": "cyankiwi/Ornith-1.5-35B-A3B-AWQ-INT4",
"gb": 26.1
},
"mlx-8bit": {
"repo": "ornith-ai/Ornith-1.5-35B-A3B-MLX-8bit",
"gb": 36.8
},
"mlx-6bit": {
"repo": "ornith-ai/Ornith-1.5-35B-A3B-MLX-6bit",
"gb": 28.2
},
"mlx-4bit": {
"repo": "ornith-ai/Ornith-1.5-35B-A3B-MLX-4bit",
"gb": 19.5
}
}
},
{
@ -49,15 +113,36 @@
"context": 262144,
"hybrid": false,
"reasoning": false,
"vllm": {"tool_parser": "qwen3_coder", "kv_cache_dtype": "fp8"},
"vllm": {
"tool_parser": "qwen3_coder",
"kv_cache_dtype": "fp8"
},
"mlx": {},
"variants": {
"fp8": {"repo": "Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8", "gb": 31.2},
"bf16": {"repo": "Qwen/Qwen3-Coder-30B-A3B-Instruct", "gb": 61.1},
"awq": {"repo": "cyankiwi/Qwen3-Coder-30B-A3B-Instruct-AWQ-4bit", "gb": 18.1},
"mlx-8bit": {"repo": "lmstudio-community/Qwen3-Coder-30B-A3B-Instruct-MLX-8bit", "gb": 32.4},
"mlx-6bit": {"repo": "lmstudio-community/Qwen3-Coder-30B-A3B-Instruct-MLX-6bit", "gb": 24.8},
"mlx-4bit": {"repo": "lmstudio-community/Qwen3-Coder-30B-A3B-Instruct-MLX-4bit", "gb": 17.2}
"fp8": {
"repo": "Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8",
"gb": 31.2
},
"bf16": {
"repo": "Qwen/Qwen3-Coder-30B-A3B-Instruct",
"gb": 61.1
},
"awq": {
"repo": "cyankiwi/Qwen3-Coder-30B-A3B-Instruct-AWQ-4bit",
"gb": 18.1
},
"mlx-8bit": {
"repo": "lmstudio-community/Qwen3-Coder-30B-A3B-Instruct-MLX-8bit",
"gb": 32.4
},
"mlx-6bit": {
"repo": "lmstudio-community/Qwen3-Coder-30B-A3B-Instruct-MLX-6bit",
"gb": 24.8
},
"mlx-4bit": {
"repo": "lmstudio-community/Qwen3-Coder-30B-A3B-Instruct-MLX-4bit",
"gb": 17.2
}
}
},
{
@ -68,15 +153,40 @@
"context": 262144,
"hybrid": true,
"reasoning": true,
"vllm": {"tool_parser": "qwen3_xml", "reasoning_parser": "qwen3", "kv_cache_dtype": "fp8", "trust_remote_code": true},
"mlx": {"trust_remote_code": true},
"vllm": {
"tool_parser": "qwen3_xml",
"reasoning_parser": "qwen3",
"kv_cache_dtype": "fp8",
"trust_remote_code": true
},
"mlx": {
"trust_remote_code": true
},
"variants": {
"fp8": {"repo": "ornith-ai/Ornith-1.5-122B-FP8", "gb": 132.9},
"bf16": {"repo": "ornith-ai/Ornith-1.5-122B", "gb": 250.2},
"nvfp4": {"repo": "ornith-ai/Ornith-1.5-122B-NVFP4", "gb": 77.6},
"awq": {"repo": "cyankiwi/Ornith-1.5-122B-AWQ-INT4", "gb": 85.3},
"mlx-8bit": {"repo": "ornith-ai/Ornith-1.5-122B-MLX-8bit", "gb": 130.6},
"mlx-4bit": {"repo": "ornith-ai/Ornith-1.5-122B-MLX-4bit", "gb": 69.6}
"fp8": {
"repo": "ornith-ai/Ornith-1.5-122B-FP8",
"gb": 132.9
},
"bf16": {
"repo": "ornith-ai/Ornith-1.5-122B",
"gb": 250.2
},
"nvfp4": {
"repo": "ornith-ai/Ornith-1.5-122B-NVFP4",
"gb": 77.6
},
"awq": {
"repo": "cyankiwi/Ornith-1.5-122B-AWQ-INT4",
"gb": 85.3
},
"mlx-8bit": {
"repo": "ornith-ai/Ornith-1.5-122B-MLX-8bit",
"gb": 130.6
},
"mlx-4bit": {
"repo": "ornith-ai/Ornith-1.5-122B-MLX-4bit",
"gb": 69.6
}
}
},
{
@ -87,15 +197,40 @@
"context": 262144,
"hybrid": true,
"reasoning": true,
"vllm": {"tool_parser": "qwen3_xml", "reasoning_parser": "qwen3", "kv_cache_dtype": "fp8", "trust_remote_code": true},
"mlx": {"trust_remote_code": true},
"vllm": {
"tool_parser": "qwen3_xml",
"reasoning_parser": "qwen3",
"kv_cache_dtype": "fp8",
"trust_remote_code": true
},
"mlx": {
"trust_remote_code": true
},
"variants": {
"bf16": {"repo": "ornith-ai/Ornith-1.5-9B", "gb": 19.3},
"nvfp4": {"repo": "ornith-ai/Ornith-1.5-9B-NVFP4", "gb": 8.8},
"awq": {"repo": "cyankiwi/Ornith-1.5-9B-AWQ-INT4", "gb": 9.0},
"mlx-8bit": {"repo": "ornith-ai/Ornith-1.5-9B-MLX-8bit", "gb": 9.5},
"mlx-6bit": {"repo": "ornith-ai/Ornith-1.5-9B-MLX-6bit", "gb": 7.3},
"mlx-4bit": {"repo": "ornith-ai/Ornith-1.5-9B-MLX-4bit", "gb": 5.0}
"bf16": {
"repo": "ornith-ai/Ornith-1.5-9B",
"gb": 19.3
},
"nvfp4": {
"repo": "ornith-ai/Ornith-1.5-9B-NVFP4",
"gb": 8.8
},
"awq": {
"repo": "cyankiwi/Ornith-1.5-9B-AWQ-INT4",
"gb": 9.0
},
"mlx-8bit": {
"repo": "ornith-ai/Ornith-1.5-9B-MLX-8bit",
"gb": 9.5
},
"mlx-6bit": {
"repo": "ornith-ai/Ornith-1.5-9B-MLX-6bit",
"gb": 7.3
},
"mlx-4bit": {
"repo": "ornith-ai/Ornith-1.5-9B-MLX-4bit",
"gb": 5.0
}
}
}
]