Archived
arch, data/recipes, libr4d: the 31B's prefill overlap, q|k|v as one linear, RedHatAI's DFlash2, its fc split
The 31B's prefill steps of 1024 rows or more run as two slices with each slice's all-reduces beside the other's compute; q, k and v as one linear where the container holds them so; the 31B serves RedHatAI's DFlash2 speculator; DFlash2's fc projection is split over the ranks, bit for bit. Squashed from: - arch/gemma4_bf16: a prefill step in two slices, each slice's reductions on the second lane - arch/gemma4_bf16: q, k and v as one linear where the container holds them so - data/recipes: the 31B -df recipes make q, k and v one linear (blk.*.attn_qkv) - arch/gemma4: the 31B serves RedHatAI's DFlash2 speculator (gemma-4-31B-it-speculator.dflash2) - libr4d: gemm_nt_q takes split_n, and all_gather lands rows at a wider output pitch - arch/common: DFlash2's fc split over the ranks as windows of block-aligned rows, bit for bit Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bdb37d5d16
commit
04e5480387
21 files changed
+1805
-199
No files matched your search
@@ -35,11 +35,10 @@
|
||||
# 32 GiB R9700.
|
||||
#
|
||||
# This starts from bf16 for the reason gemma4-31b-dense-bf16-w4a8-df.recipe gives: the drafter
|
||||
# reads the trunk's hidden states and was trained beside the bf16 trunk.
|
||||
# reads the trunk's hidden states and was trained beside the bf16 trunk. q, k and v are one linear
|
||||
# (blk.*.attn_qkv), for the reason that recipe gives.
|
||||
|
||||
blk.*.attn_q.weight rtn codes=i8 group=128 scale=f16 clamp=sym
|
||||
blk.*.attn_k.weight rtn codes=i8 group=128 scale=f16 clamp=sym
|
||||
blk.*.attn_v.weight rtn codes=i8 group=128 scale=f16 clamp=sym
|
||||
blk.*.attn_qkv.weight rtn codes=i8 group=128 scale=f16 clamp=sym
|
||||
blk.*.attn_o.weight rtn codes=i8 group=128 scale=f16 clamp=sym
|
||||
blk.*.ffn_down.weight rtn codes=i8 group=128 scale=f16 clamp=sym
|
||||
blk.*.ffn_gate_up.weight rtn codes=i8 group=128 scale=f16 clamp=sym
|
||||
|
||||
Reference in new issue
Block a user