Archived
radiance 1.0.7
- Chat responses report usage.completion_tokens_details.reasoning_tokens: how much of completion_tokens was the reasoning block. A reply that ran out of max_tokens inside <think> now reads as that, instead of as a model that answered nothing. - thinking_token_budget (vLLM's name; thinking_budget is read as the same field) caps the reasoning. At that many tokens the block is closed and the model answers from what it has reasoned so far. It holds under speculative decoding and at any temperature. --thinking-token-budget sets the default for clients that send none. - Every completion response carries a `timings` object in llama.cpp's shape: prompt and generated token counts, times and rates, and the speculative tokens drafted and accepted for that request. It is on the buffered response, on each streamed choice's final chunk and on the usage chunk, so a proxy such as llama-swap can read per-request speed. /metrics stays the aggregate. - Peer-to-peer access between the cards is checked at launch. The all-reduce kernels need it; on a machine where the cards cannot reach each other's memory, startup stops and names device.p2p instead of the first all-reduce faulting or hanging. A kernel library can require it with a constraint on the new "device." keys, which match the machine and not the op's parameters. - A pool allocation the driver refuses says why, with the card's free VRAM at that moment and, for the host pool, the pinned memory taken against the amdgpu limit (ttm.pages_limit). Every rank pins its own --host-pool-mib, so --tp 2 pins it twice.
This commit is contained in:
1 parent
6df26315b9
commit
966bda899a
39 files changed
+1304
-52
No files matched your search
@@ -114,6 +114,10 @@ static const Flag g_flags[] = {
|
||||
" set is the template's: Qwen3.8 takes xhigh|medium|low and defaults\n"
|
||||
" to xhigh, which on a short task can spend the whole token budget\n"
|
||||
" inside <think> and answer nothing. \"none\" turns thinking off" },
|
||||
{ "--thinking-token-budget", "N", "default `thinking_token_budget` for chat requests that do not set one: at\n"
|
||||
" N reasoning tokens the reasoning block is closed and the answer follows,\n"
|
||||
" so a client's max_tokens is not spent on reasoning alone. Unset is no\n"
|
||||
" limit. Needs a reasoning block that ends in one token, as </think> is" },
|
||||
{ "--typical-p", "F", "default typical_p, (0, 1]. This flag and the eleven below set the default\n"
|
||||
" for requests that do not name the field; a request that names it wins" },
|
||||
{ "--presence-penalty", "F", "default presence_penalty, [-2, 2]" },
|
||||
@@ -449,6 +453,10 @@ int config_parse(int argc, char** argv, Config* c) {
|
||||
}
|
||||
else if (S("--reasoning-effort")) { if (!(v = need(i))) return RAD_E_INVAL;
|
||||
c->reasoning_effort = v; }
|
||||
else if (S("--thinking-token-budget")) { if (!(v = need(i)) ||
|
||||
!parse_int(a.c_str(), v, 0, INT32_MAX,
|
||||
&c->thinking_token_budget))
|
||||
return RAD_E_INVAL; }
|
||||
else if (S("--generation-config")) { if (!(v = need(i))) return RAD_E_INVAL;
|
||||
c->generation_config = v; }
|
||||
else if (S("--override-chat-template")) { if (!(v = need(i))) return RAD_E_INVAL;
|
||||
|
||||
Reference in new issue
Block a user