Archived
radiance 2.1.0
New models. Recursive Flint (39.8B, about 2.5B active) by everplays (#422): `arch/flint`, as an IQ8R container with rotated int8 experts or a four-bit one, with a sink-aware WMMA prefill attention and the fused attention prologue at `rotary_dim` 0. Meta Muse Glimmer 30B by launch80_assets (#423): bf16, an int4 trunk or IQ8R, its windowed vision tower, its DFlash drafter, the ATEM tool dialect and context extension. Ling-3.0-tiny by RikshaDriver (#441): served from its GGUF releases or as IQ8R on `bailing_hybrid`, with six more libr3d kernels. Block FP8, MXFP4 and NVFP4 conversions of the three are not served. IQ8R containers of all three (round to nearest, no calibration) are on Hugging Face under StillDeadcode: flint-iq8r, muse-glimmer-30b-iq8r-dflash and ling-3.0-tiny-iq8r. They were checked for sane answers on two R9700; nothing was benchmarked, and Muse Glimmer's pictures, video and tool calls were not tried. Speech. Breeze-TTS-2 clones a voice from a reference recording and its transcript, with an optional delivery direction, by farcryjohn (#436). The published Breeze container needs converting again with the updated recipe before it can. Tools. A model entry with `diagnose: DIR` runs a fixed workload on the engine instead of serving and writes a report: step times, tokens a step, draft acceptance, TTFT and prefill rates by category, concurrency and prompt length, and with `diagnose-baseline` a token-for-token comparison against an earlier report (docs/DIAGNOSE.md), by Code000 (#418). Scheduler. `mixed-step-target-ms` holds a mixed prefill and decode step to a service time, off by default, by tnhnyzc (#413). `scheduler.stuck-exit` (60s by default, 0 never) ends the process when the device has advanced nothing for that long, so a restart policy brings a hung server back (#409, #415, #428). Fixed. Draft trees with the int8 KV cache, which stopped Gemma 4 31B with DFlash2 on its first request (#454, diagnosed by aelfwyne). The expert loan held at zero by a few leftover cache blocks after long sessions (#455, diagnosed by thekk1). The mapped tier's pages kept in the page cache across a load and a restore, by C_Tamas (#421). Replayed tool calls with blank arguments, and arguments that are not JSON refused naming the call, by dschmitz (#444). The dashboard's card temperature reads the junction sensor, by dschmitz (#453). The VRAM shortfall report says what the KL mode needs, by baKon (#448). The out-of-tree plugin test builds its plugins in parallel and takes its toolchain from the tree. Plugin ABI 40: out-of-tree plugins need to be rebuilt. Thanks to @everplays, @launch80_assets, @RikshaDriver, @farcryjohn, @Code000, @tnhnyzc, @C_Tamas, @dschmitz, @baKon, @aelfwyne and @thekk1.
This commit is contained in:
1 parent
ddcb9c69bb
commit
2a2b756371
166 files changed
+20749
-327
No files matched your search
+16
-4
@@ -2457,12 +2457,14 @@ void Engine::tier_tick() {
|
||||
/* Release an entry once its host copy has landed, if the expert slab can use the blocks; a
|
||||
* later turn restores it with a copy. Otherwise (no lending, or the loan already covers every
|
||||
* slab slot) it stays in VRAM, and a request needing room takes it through trim. Snapshots
|
||||
* are already in host memory. */
|
||||
* are already in host memory. Stragglers with no host copy coming go too (PrefixCache::
|
||||
* drop_clean): a few thousand such tokens near the top of the pool would otherwise hold the
|
||||
* whole loan at zero until the server restarts. */
|
||||
if (lending_) {
|
||||
int64_t ceiling = 0;
|
||||
for (auto& r : ranks_) ceiling = std::max(ceiling, r->mover.loan_ceiling(Mover::kLendKV));
|
||||
const auto lk = sched_.hold();
|
||||
if (lead.kv.loan_tokens() < ceiling) (void)lead.prefix.drop_clean();
|
||||
if (lead.kv.loan_tokens() < ceiling) (void)lead.prefix.drop_clean(ceiling);
|
||||
}
|
||||
|
||||
/* ---- capacity ---------------------------------------------------------------------------- */
|
||||
@@ -2840,11 +2842,14 @@ int Engine::serve(std::unique_ptr<StallWatch> watch) {
|
||||
stepped.store(true, std::memory_order_release);
|
||||
});
|
||||
|
||||
if (cfg_.kld() || cfg_.calib()) {
|
||||
if (cfg_.kld() || cfg_.calib() || cfg_.diagnose_mode()) {
|
||||
print_startup_report(RAD_OK);
|
||||
startup_watch_.reset();
|
||||
}
|
||||
int s = cfg_.kld() ? run_kld() : cfg_.calib() ? run_calib() : run_server();
|
||||
int s = cfg_.diagnose_mode() ? run_diagnose()
|
||||
: cfg_.kld() ? run_kld()
|
||||
: cfg_.calib() ? run_calib()
|
||||
: run_server();
|
||||
startup_watch_.reset();
|
||||
|
||||
/* Stop the step loop before the server's storage is destroyed: Request::sink points into it,
|
||||
@@ -3120,6 +3125,11 @@ std::string request_overrides(const Config& c) {
|
||||
return out;
|
||||
}
|
||||
} /* namespace */
|
||||
|
||||
SamplingParams Engine::sampling_defaults() const {
|
||||
return resolve_sampling_defaults(meta_, file_ != nullptr, cfg_);
|
||||
}
|
||||
|
||||
/* The HTTP server over the engine. `/v1/completions`, `/v1/chat/completions`, `/v1/models`,
|
||||
* `/metrics` and `/health` are live. `/v1/embeddings` answers 501 unless the program is an
|
||||
* embedding program, and so do image, video and audio content parts unless the program declared an
|
||||
@@ -3951,6 +3961,8 @@ int Engine::run_server() {
|
||||
in.branches = ad.branches == 1 ? 1 : 2;
|
||||
in.input_special = ad.input_special != 0;
|
||||
in.tmpl_ref = pg.agen_str.tmpl_ref;
|
||||
in.tmpl_ref_instruct = pg.agen_str.tmpl_ref_instruct;
|
||||
in.neg_tmpl_ref = pg.agen_str.neg_tmpl_ref;
|
||||
in.ref_item = pg.agen_str.ref_item;
|
||||
in.ref_rate = ad.ref_rate;
|
||||
in.ref_hop = ad.ref_hop;
|
||||
|
||||
Reference in new issue
Block a user