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/hy-memory-30b-a3b-bf16-mxfp4.recipe
T
Constantin 2d2f638fa8 Document HYV3 support and add conversion recipes
Add BF16-source W4/W8/block-FP8/MXFP4, native FP8-source and GGUF-to-W4 recipes. Document supported sources, precision/KV limits and unvalidated paths without calibration environment switches or performance claims.
2026-10-25 12:09:29 +01:00

19 lines
1.1 KiB
Plaintext

# HYV3 from BF16 with OCP MXFP4 weights: e2m1 codes and one e8m0 scale per 32 values of K. Quantize
# attention, dense/shared projections and routed experts; router, norms, embeddings and output head
# stay BF16. Both the regular linears and MoeFP8's expert format-8 path consume this encoding.
#
# rad-convert <Hy-Memory-30B-A3B-BF16> \
# --recipe data/recipes/hy-memory-30b-a3b-bf16-mxfp4.recipe -o hy-memory-30b-a3b-mxfp4.rad
blk.*.attn_q.weight rtn codes=fp4_e2m1 group=32 scale=e8m0
blk.*.attn_k.weight rtn codes=fp4_e2m1 group=32 scale=e8m0
blk.*.attn_v.weight rtn codes=fp4_e2m1 group=32 scale=e8m0
blk.*.attn_output.weight rtn codes=fp4_e2m1 group=32 scale=e8m0
blk.0.ffn_gate_up.weight rtn codes=fp4_e2m1 group=32 scale=e8m0
blk.0.ffn_down.weight rtn codes=fp4_e2m1 group=32 scale=e8m0
blk.*.ffn_gate_up_shexp.weight rtn codes=fp4_e2m1 group=32 scale=e8m0
blk.*.ffn_down_shexp.weight rtn codes=fp4_e2m1 group=32 scale=e8m0
blk.*.ffn_*_exps.*.weight rtn codes=fp4_e2m1 group=32 scale=e8m0