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
23 lines
1.1 KiB
C++
23 lines
1.1 KiB
C++
/* engine_hostmem.h -- the memory cgroup limits bring-up checks before it locks a table into host
|
|
* memory (engine_bringup.cpp, lockable_room). */
|
|
#pragma once
|
|
#include <cstdint>
|
|
#include <functional>
|
|
#include <string>
|
|
|
|
namespace rad {
|
|
|
|
/* A cgroup's limit less the usage reclaim cannot give back: memory.current less file pages (v2)
|
|
* or usage_in_bytes less cache (v1), since page cache yields to a locked allocation and anonymous
|
|
* memory does not. "max" and v1's near-INT64_MAX sentinel mean no limit. True, with `room` set,
|
|
* when `dir` has a limit. */
|
|
bool cgroup_room(const std::string& dir, bool v2, int64_t* room);
|
|
|
|
/* Every level of the memory cgroup at `path` (as /proc/self/cgroup names it), from that level up
|
|
* to the hierarchy's root mounted at `root`, leaf first: `visit(dir, room)` for each level with a
|
|
* limit, until it returns false. Each level is a limit of its own. */
|
|
void cgroup_levels(const std::string& root, std::string path, bool v2,
|
|
const std::function<bool(const std::string& dir, int64_t room)>& visit);
|
|
|
|
} /* namespace rad */
|