|
Seeing how Qwen recommends different sampling parameters for thinking and non-thinking, I wonder what the approach is here. The UI llama.cpp UI permits disabling thinking (for models and templates supporting that). But I only see how to set the sampling parameters at startup. These are the suggestede parameters for Qwen 3.8 27B: Also, i still wonder about SPLIT_MODE_TENSOR and backend sampling. Is it fundamentally impossible to do, or simply not done yet? |
Replies: 1 comment 4 replies
|
The startup flags are only defaults — sampling is per-request, so nothing stops you sending different values for the two modes.
and the OpenAI-compatible endpoints accept the same, so any client that lets you save two presets gives you exactly what Qwen recommends without restarting anything. What doesn't exist is a runtime switch on the server side. so you can't flip the server's defaults between requests either. And there's no link between the thinking toggle and sampling — the toggle changes the template, nothing reaches the sampler. Whatever the UI has configured stays put when you flip it. For the built-in UI, settings can at least be seeded rather than clicked in each time: That gets you one profile on startup, not two on demand. If you switch modes often, a client with two presets pointed at the same server is less friction than editing settings each time — one server, two saved parameter sets, pick per conversation. |
The startup flags are only defaults — sampling is per-request, so nothing stops you sending different values for the two modes.
/completiontakes them in the body (tools/server/README.md):and the OpenAI-compatible endpoints accept the same, so any client that lets you save two presets gives you exactly what Qwen recommends without restarting anything.
What doesn't exist is a runtime switch on the server side.
POST…