Archived
The gemma4_bf16 architecture (sliding and global attention, the proportional RoPE ladder, the assistant head as a drafter that reads the trunk's cache, the vision tower), its w4a8 decode junctions, the h512/gqa8 and h256/gqa2 attention kernels, compressed-tensors int4 import, multi-EOS from generation_config, the call/reasoning reply format, a window group that keeps the keys a prefill chunk still reads, and window snapshots in checkpoint slots so a prefix hit on a sliding-window trunk resumes. Fixes on top: the investigation switches and diagnostic blocks out of the served paths; int4 import through the checkpoint import framework; attention_k_eq_v from the config; the fused junctions only where every reader takes their pair; a shared-KV head binds no group of its own; the compose file without HSA_ENABLE_IPC_MODE_LEGACY (TP2 fails with it on ROCm 10.1); a checkpoint carries a window only where a hit resumes from it; the README says the linked container is keptn42's calibrated GPTQ build and what the in-tree recipe gives.
This commit is contained in:
commit
7c7f755931
84 files changed
+10292
-230
No files matched your search
+4
-2
@@ -85,7 +85,8 @@ static const Flag g_flags[] = {
|
||||
{ "--prefix-cache-host-mib", "N", "copy finished conversations' KV to host memory, up to N MiB,\n"
|
||||
" so their VRAM can go to experts and a return restores\n"
|
||||
" instead of re-prefilling. 0 is off. Part of it holds\n"
|
||||
" linear-state snapshots on a hybrid model; startup says how many" },
|
||||
" snapshots on a hybrid or sliding-window model;\n"
|
||||
" startup says how many" },
|
||||
{ "--prefix-cache-dir", "DIR", "where the disk tier keeps them. Not --weights-disk-tier, which is\n"
|
||||
" about WEIGHTS" },
|
||||
{ "--prefix-cache-disk-mib", "N", "and copy them on to disk under --prefix-cache-dir, up to N MiB,\n"
|
||||
@@ -104,7 +105,8 @@ static const Flag g_flags[] = {
|
||||
* 2 for the whole server rather than 2 x --max-num-seqs. At the default 8 slots and
|
||||
* 8 sequences that is one snapshot a sequence, which is what an append-only chat wants --
|
||||
* the next turn's hit lands at the end of the last one. */
|
||||
{ "--checkpoint-slots", "N", "linear-state snapshots retained IN TOTAL (not "
|
||||
{ "--checkpoint-slots", "N", "linear-state or sliding-window snapshots "
|
||||
"retained IN TOTAL (not "
|
||||
"per sequence), in pinned host memory; compare "
|
||||
"against --max-num-seqs" },
|
||||
{ "--no-prefix-cache", nullptr, "disable prefix caching" },
|
||||
|
||||
Reference in new issue
Block a user