Archived
radiance 1.0.6
- A text prompt to /v1/completions reads the model's control tokens as tokens, as vLLM and llama.cpp do. A client that renders its own chat template can send "<|im_start|>user ..." and the model sees the turn markers; they used to reach it as plain text. /tokenize and /v1/embeddings read a text prompt the same way, and a prompt that already opens with BOS gets no second one. - The VRAM budget counts the engine's own hardware queues, which the driver backs with about 33 MiB of VRAM each, and the KV tiers' copy staging. Both used to come out of --gpu-headroom-mib: Qwen3.8-Flash-Next ran with 9 MiB free under load against the 96 MiB it asked to keep, the room a kernel's first launch allocates from. The startup receipt has a "hardware queues" line. - Running the whole model on the CPU (RADIANCE_HOST_DOMAIN=1 with no GPU visible) no longer repeats words or answers differently at temperature 0. A decode step could read its input token before the copy that delivers it had landed. - The README says to clone the repository before installing.
This commit is contained in:
1 parent
6c11671bdd
commit
6df26315b9
25 files changed
+432
-82
No files matched your search
@@ -76,6 +76,14 @@ public:
|
||||
bool enabled() const { return enabled_; }
|
||||
std::string report() const { return report_; }
|
||||
|
||||
/* THE SIZES A CONFIGURE IS GIVEN, from one entry's bytes on this rank, the longest context and
|
||||
* the block size, and the VRAM device_init() then takes for them. The VRAM budget reserves
|
||||
* device_bytes() before any of this exists and bringup configures with sizes(), so the two
|
||||
* cannot drift apart. */
|
||||
struct Sizes { int max_batch = 0; int64_t max_copy = 0, max_chain = 0; };
|
||||
static Sizes sizes(int64_t entry_bytes, int64_t max_ctx, int64_t block_size);
|
||||
static int64_t device_bytes(int64_t entry_bytes, int n_groups, const Sizes& s);
|
||||
|
||||
/* DECIDING AND DOING ARE SEPARATE, and under tensor parallelism that is the point. The policy
|
||||
* is one object describing CONVERSATIONS, which are not sharded; the transfer is per rank,
|
||||
* because each rank holds its own shard of every block. So the leader plans, every rank runs
|
||||
|
||||
Reference in new issue
Block a user