This repository has been archived on 2026-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
radiance-sycl/core/engine_hostmem.h
T
Deadcode 1e968f6e1d radiance 1.7.0
- 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
2026-10-16 18:25:18 +02:00

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 */