docs, recipes, compose: TranslateGemma 27B

The gemma3 section of ARCHITECTURES.md (geometry, traps, KV groups, linears, calibration,
measurements, the DFlash2 drafter), the calibration variable and the conversion of record in
GUIDE.md, the README's models table. Recipes: the int8 calibration container (KL 0.003),
MXFP4 + GPTQ (KL 0.042, 56 tok/s a stream on two R9700s), and with a drafter. The compose file
serves a plain Gemma 3 template: TranslateGemma's own refuses the startup render's plain turn.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mici81andClaude Opus 5.5 authored and StillDeadcode committed 2026-10-19 10:44:46 +02:00
1 parent a91a2837ff
commit f2c0468335
8 files changed
+194

No files matched your search

@@ -0,0 +1,14 @@
# translategemma-27b-i8a8.recipe -- TranslateGemma 27B (arch/gemma3) for calibration: every linear
# int8 with a bf16 scale a 128 columns, served at i8a8 over an int8 activation scaled per (row, 128).
# KL 0.003 against the bf16 model, and it fits two 32 GB cards with room for the tap's Grams.
#
# rad-convert <translategemma-27b-it> --recipe data/recipes/translategemma-27b-i8a8.recipe \
# -o translategemma-27b-i8a8.rad
blk.*.attn_q.weight rtn codes=i8 group=128 scale=bf16 clamp=sym
blk.*.attn_k.weight rtn codes=i8 group=128 scale=bf16 clamp=sym
blk.*.attn_v.weight rtn codes=i8 group=128 scale=bf16 clamp=sym
blk.*.attn_o.weight rtn codes=i8 group=128 scale=bf16 clamp=sym
blk.*.ffn_down.weight rtn codes=i8 group=128 scale=bf16 clamp=sym
blk.*.ffn_gate_up.weight rtn codes=i8 group=128 scale=bf16 clamp=sym
output.weight rtn codes=i8 group=128 scale=bf16 clamp=sym