Views
No views yet
| Property | Value |
|---|---|
| Base Model | LGAI-EXAONE/K-EXAONE-236B-A23B (236B params, MoE) |
| Precision | MXFP4 (E2M1 weights + E8M0 scales, group_size=32) |
| Activation Quantization | MXFP4 (E2M1), Dynamic, group_size=32 |
| Quantization Tool | quanto + AMD Quark 0.11.1 (file-to-file) |
| Algorithm | RTN (Round-To-Nearest) |
| Original Size | 443 GB |
| Quantized Size | 130 GB |
| Compression Ratio | 3.4x |
1vllm serve haanjack/K-EXAONE-236B-A23B-MXFP4 \
2 --trust-remote-code \
3 --tensor-parallel-size 1 \
4 --max-model-len 40961from quanto import UnifiedQuantizer, UnifiedConfig
2
3NUM_LAYERS = 48
4exclude = ["lm_head", "*embed*", "*norm*", "*.gate"]
5for i in range(NUM_LAYERS):
6 for proj in ["q_proj", "k_proj", "v_proj", "o_proj"]:
7 exclude.append(f"model.layers.{i}.self_attn.{proj}")
8 for proj in ["gate_proj", "up_proj", "down_proj"]:
9 exclude.append(f"model.layers.{i}.mlp.shared_experts.{proj}")
10
11config = UnifiedConfig(
12 model_path="LGAI-EXAONE/K-EXAONE-236B-A23B",
13 output_dir="./K-EXAONE-236B-A23B-MXFP4",
14 precision="mxfp4",
15 sensitivity_analysis=False,
16 exclude_layers=exclude,
17 trust_remote_code=True,
18)
19UnifiedQuantizer(config).run()