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:
Deadcode committed 2026-10-04 18:44:29 +02:00
1 parent 09fb41735b
commit 6c11671bdd
30 files changed
+541 -120

No files matched your search

+8
View File
@@ -802,6 +802,8 @@ static bool schema_same(const RadOpSchema& a, const RadOpSchema& b, std::string*
/* embed_lookup_q over a file-backed table, two ranks and the reader racing (avx_check_rows.cpp). */
bool row_gather_case(const Lib& avx, const std::string& dir, int64_t calls, bool verbose,
bool bf16);
/* embed_lookup_q's init, where io_uring is refused and here (avx_check_rows.cpp). */
bool ngram_init_case(const Lib& avx);
int main(int argc, char** argv) {
std::string ref_path = "libref.so", avx_path = "libavx.so", only_op;
@@ -885,6 +887,12 @@ int main(int argc, char** argv) {
}
int rc = missing ? 1 : 0;
/* Before anything runs a gather: the case forks, and a child is cleanest taken from a process
* that has started none of the gather's threads. */
if (only_op.empty() || only_op == "embed_lookup_q") {
std::printf("\n");
if (!ngram_init_case(avx)) rc = 1;
}
const int lo = only_level >= 0 ? only_level : 0;
const int hi = only_level >= 0 ? only_level : AVX_N_LEVELS - 1;
std::vector<std::string> declined_ops;