Archived
radiance 1.0.5
- Answers no longer stop partway through. A request without max_tokens got 512 tokens, and a reasoning model can think for thousands before it answers, so the reply ended inside the reasoning with finish_reason "length", which chat clients do not show. It now gets whatever the context leaves after the prompt, as in vLLM. --default-max-tokens N sets a number, and --max-tokens-cap bounds every request. - Qwen3.8-Flash-Next in Docker without --security-opt seccomp=unconfined is refused at startup, in about a second, with a message naming that option. It used to load the whole model and then fail every request as "unsupported", and a restart policy reloaded it over and over. The n-gram table is read through io_uring, which Docker's default seccomp profile refuses. - A request the engine fails says what failed, in the 500 or the stream's error event. It read "the engine failed this request: ok". - Flash-Next no longer crashes at startup about one start in seven (a race between the parallel declares that size the activation arena). - rad-convert no longer needs io_uring, so it converts in a sandbox that forbids it.
This commit is contained in:
1 parent
09fb41735b
commit
6c11671bdd
30 files changed
+541
-120
No files matched your search
+7
-2
@@ -109,8 +109,13 @@ struct OaiLimits {
|
||||
std::string model_id = "radiance";
|
||||
int64_t max_ctx = 0; /* 0 = unknown, no length check */
|
||||
/* What a request that names no max_tokens may generate. 0 is "whatever the context leaves",
|
||||
* resolved against the prompt in clamp_max_tokens. */
|
||||
int64_t default_max_tokens = 512;
|
||||
* resolved against the prompt in clamp_max_tokens, which needs max_ctx to resolve against.
|
||||
*
|
||||
* 0 BY DEFAULT, as vLLM's is: many clients send no max_tokens, and a reasoning model spends
|
||||
* the first thousands of tokens of an answer thinking. A fixed default of 512 ended those
|
||||
* answers inside the reasoning, with finish_reason "length" that a chat client does not show,
|
||||
* so they read as a model that stops at random. */
|
||||
int64_t default_max_tokens = 0;
|
||||
/* The most any request may generate; a larger max_tokens is clamped, not refused. 0 = none. */
|
||||
int64_t max_tokens_cap = 0;
|
||||
int max_n = 8;
|
||||
|
||||
Reference in new issue
Block a user