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
@@ -0,0 +1,14 @@
|
||||
# Gemma 4 31B-it: int4 trunk (GPTQ from the bf16 checkpoint) with int8 activations, Google's
|
||||
# assistant head merged in as the MTP drafter (depth 3), and the vision tower. Sampling defaults are
|
||||
# the checkpoint's generation_config; thinking is switched per request (chat_template_kwargs).
|
||||
# For the full 262,144-token context use --max-model-len 262144 --max-num-seqs 2.
|
||||
name: radiance-gemma4-31b-w4a8
|
||||
services:
|
||||
radiance:
|
||||
extends: { file: common.yaml, service: radiance }
|
||||
container_name: radiance-gemma4-31b-w4a8
|
||||
command: >
|
||||
--model /models/gemma4-31b-w4a8.rad
|
||||
--host :: --port ${PORT:-8000} --api-key ${RADIANCE_API_KEY:?set RADIANCE_API_KEY in .env}
|
||||
--tp 2 --max-num-seqs 8 --max-model-len 65536 --kv-cache-dtype fp8
|
||||
--num-speculative-tokens 3 --temp 1.0 --top-p 0.95 --top-k 64
|
||||
Reference in new issue
Block a user