This repository has been archived on 2026-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
radiance-sycl/data/recipes/nemotron74-fp8.recipe
T
keptn42 882050e45a data/recipes: nemotron74-fp8.recipe and nemotron74-w4nl64-gptq.recipe
Every block linear and routed expert as block FP8; or the routed experts at w4nl64a8h (GPTQ
against $CALIB, rounded to nearest without it) and the rest block FP8. Both carry the LiLiCorr
drafter's linears when it is merged.
2026-11-04 22:08:53 +01:00

22 lines
1.5 KiB
Plaintext

# nemotron74-fp8.recipe -- Nemotron-3.5-Bolt-74B-A9B (nemotron_h_omni) from its bf16 checkpoint: every
# block linear and every routed expert as block fp8 (E4M3 codes, a bf16 scale a 128x128 tile); the
# rest as the checkpoint holds it: dt's 128 rows of in_proj (32 a rank at four ranks, no whole scale
# block), the convolution, A_log, dt_bias, D, the norms, the router (f32), the embedding and lm_head.
#
# rad-convert <checkpoint> --recipe data/recipes/nemotron74-fp8.recipe -o nemotron74-fp8.rad
#
# It is the container the GPTQ calibration runs on (RADIANCE_CALIB_DIR; whole experts per rank,
# RADIANCE_CALIB_LAYERS to split the per-expert Hessians over runs) and the fp8 reference for the
# four-bit containers.
blk.*.ssm_in_z.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
blk.*.ssm_in_xbc.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
blk.*.ssm_out.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
blk.*.attn_qkv.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
blk.*.attn_output.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
blk.*.ffn_latent_in.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
blk.*.ffn_latent_out.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
blk.*.ffn_up_shexp.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
blk.*.ffn_down_shexp.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
blk.*.ffn_*_exps.*.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16