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-w8.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

18 lines
1.1 KiB
Plaintext

# HYV3 from BF16 with signed INT8 W8A8 linears. Attention, the dense first MLP, shared MLPs and
# output head are quantized on the 128-value K grid. Routed experts stay BF16: the current MoE block
# has no INT8 expert kernel, so this recipe does not pretend the expert weights are W8.
#
# rad-convert <Hy-Memory-30B-A3B-BF16> \
# --recipe data/recipes/hy-memory-30b-a3b-bf16-w8.recipe -o hy-memory-30b-a3b-w8.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_output.weight rtn codes=i8 group=128 scale=bf16 clamp=sym
blk.0.ffn_gate_up.weight rtn codes=i8 group=128 scale=bf16 clamp=sym
blk.0.ffn_down.weight rtn codes=i8 group=128 scale=bf16 clamp=sym
blk.*.ffn_gate_up_shexp.weight rtn codes=i8 group=128 scale=bf16 clamp=sym
blk.*.ffn_down_shexp.weight rtn codes=i8 group=128 scale=bf16 clamp=sym
output.weight rtn codes=i8 group=128 scale=bf16 clamp=sym