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
32 lines
960 B
C++
32 lines
960 B
C++
/* kernel_list.h -- how a kernel hierarchy is spelt in --kernels and $RADIANCE_KERNELS.
|
|
*
|
|
* The engine (core/config.cpp) and the tools (tools/iface.cpp) both read it here, so a list a
|
|
* plugin was validated with in rad-kbench loads the same libraries when the engine serves. Entries
|
|
* are separated by ',' or ':'; empty entries (a doubled or trailing separator) are dropped, since an
|
|
* entry of "" matches no library and would warn on every start.
|
|
*/
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include <string_view>
|
|
#include <vector>
|
|
|
|
namespace rad {
|
|
|
|
inline std::vector<std::string> rad_split_kernel_list(std::string_view s) {
|
|
std::vector<std::string> out;
|
|
std::string cur;
|
|
for (char c : s) {
|
|
if (c == ',' || c == ':') {
|
|
if (!cur.empty()) out.push_back(cur);
|
|
cur.clear();
|
|
} else {
|
|
cur.push_back(c);
|
|
}
|
|
}
|
|
if (!cur.empty()) out.push_back(cur);
|
|
return out;
|
|
}
|
|
|
|
} /* namespace rad */
|