Archived
- every model serves without a GPU: libavx covers every op, so `--kernels libavx` alone serves every shipped container - Qwen3-ASR (zivius): speech to text on /v1/audio/transcriptions and live over /v1/realtime - /v1/messages works with Claude Code as it ships (gearwave00001) - a long agent conversation keeps its cached history when the client rewrites its last turn (manueloverride) - a stream's first event goes out with the first token, so llama-benchy measures prefill right - opt-in --prefill-interleave (Smellyyyy, baKon) and --prefill-span (keptn42) - four-rank TP releases the link early; four-rank selftests and docs/TP4.md (goodman-b) - NVFP4 and FP8 compressed-tensors imports (devmilan); tools/rad-export for finetunes and LoRA adapters (baKon) - many fixes, among them lost tokens on stop strings under concurrency, keep-alive, MiniCPM5 tool arguments and the CPU's vision and audio encoders - plugin ABI 17 and changed op schemas: out-of-tree plugins must be rebuilt
20 lines
756 B
C++
20 lines
756 B
C++
/* kvbind.h -- the KV group pools as the run phase addresses them (KVPoolBinding, ctx.h). */
|
|
#pragma once
|
|
#include "ctx.h"
|
|
|
|
#include <functional>
|
|
#include <vector>
|
|
|
|
namespace rad {
|
|
|
|
struct KVGroupPlan;
|
|
|
|
/* One binding per KV group of `p`, from the block manager's plan for it (`plan_of(g)`, null for a
|
|
* group with none). An operand names an absolute model layer while a pool holds only its group's
|
|
* layers, so each bound layer maps to its position in the group: in a group of layers 3, 7, ...,
|
|
* layer 7 is the second; subtracting the first bound layer would give the fifth. */
|
|
void bind_kv_pools(const Program& p, const std::function<const KVGroupPlan*(int32_t)>& plan_of,
|
|
std::vector<KVPoolBinding>* out);
|
|
|
|
} /* namespace rad */
|