Archived
radiance 1.8.0
- video: MiniMax-H3 and FastVideo's FastH3 8-Step V2, a video with its stereo soundtrack from text on OpenAI's /v1/videos, block fp8 on two cards - music: MiniMax-Music3, songs from lyrics and a description on /v1/audio/speech - speech: Breeze-TTS-2 on /v1/audio/speech and vLLM-Omni's realtime WebSocket - runtime LoRA adapters beside the base model, picked per request by `model` (baKon, #105) - several agent streams keep their cached history: --checkpoint-slots auto, the new default, sizes the snapshot store by --max-num-seqs (#108) - the Swift 1.5 27B W4 releases convert and serve: compressed-tensors AWQ and GPTQ int4, AutoRound, ModelOpt NVFP4 (#110) - the image's host tests pass where perf_event_open is refused, as in BuildKit's sandbox (#106) - plugin ABI 21: out-of-tree plugins must be rebuilt
This commit is contained in:
1 parent
91127395ee
commit
7a7707a955
179 files changed
+37542
-1892
No files matched your search
@@ -899,8 +899,9 @@ int Ctx::lane_join(int from, int to) {
|
||||
|
||||
/* The key below reads every RadBatch field a pass's shape or arguments can depend on, by hand. A
|
||||
* field added to RadBatch changes its size: decide whether the key must read it, then update the
|
||||
* size here. */
|
||||
static_assert(sizeof(void*) != 8 || sizeof(RadBatch) == 320,
|
||||
* size here. `agen_b` and `vgen_b` are set only on generator passes, which are never recorded
|
||||
* (below). */
|
||||
static_assert(sizeof(void*) != 8 || sizeof(RadBatch) == 336,
|
||||
"RadBatch changed: check that Ctx::pass_key reads every new field a pass depends on");
|
||||
static_assert(sizeof(void*) != 8 || sizeof(RadKVGroupBatch) == 72,
|
||||
"RadKVGroupBatch changed: check that Ctx::pass_key reads every new field");
|
||||
@@ -909,7 +910,8 @@ uint64_t Ctx::pass_key(const RadBatch* b) const {
|
||||
/* Not recordable: encoder passes are shaped by their media, and passes carrying encoder rows
|
||||
* issue the scatter only when they have some. */
|
||||
if (b->enc || b->n_mm_rows > 0) return 0;
|
||||
/* A generator pass is shaped by what RadBatch::gen_b carries, which no key below reads. */
|
||||
/* A generator pass is shaped by what RadBatch::gen_b, agen_b or vgen_b carries, which no key
|
||||
* below reads. */
|
||||
if (b->gen) return 0;
|
||||
uint64_t h = 0x9e3779b97f4a7c15ull;
|
||||
auto mix = [&](uint64_t v) {
|
||||
@@ -927,9 +929,8 @@ uint64_t Ctx::pass_key(const RadBatch* b) const {
|
||||
ptr(b->token_ids); ptr(b->positions); ptr(b->cu_seqlens); ptr(b->seq_ids);
|
||||
ptr(b->out_ids); ptr(b->q_lens); ptr(b->ctx_lens); ptr(b->num_accepted);
|
||||
ptr(b->spec_parent); ptr(b->checkpoint_tok); ptr(b->checkpoint_slot); ptr(b->draft_out_ids);
|
||||
/* The adapter ops' slot pointer. One address per rank for the engine's life, null without
|
||||
* adapters; the slots themselves are read on the card, and the ops are issued whether or not a
|
||||
* row has an adapter, so what a recorded pass launches never depends on their values. */
|
||||
/* Null on a step with no adapter row, which then issues no adapter op (Ctx::issue_lora): the
|
||||
* two are different passes. The slots themselves are read on the card. */
|
||||
ptr(b->lora_slot);
|
||||
for (int g = 0; g < b->n_kv_groups; ++g) {
|
||||
const RadKVGroupBatch& k = b->kv[g];
|
||||
|
||||
Reference in new issue
Block a user