Views
No views yet
experts, shared_expertscd Quark/examples/torch/language_modeling/llm_ptq/
exclude_layers="*self_attn* *mlp.gate *lm_head *mm_projector* *vision_tower*"
python quantize_quark.py \
--model_dir /path/to/Kimi-K2.6-bf16 \
--quant_scheme mxfp4 \
--exclude_layers $exclude_layers \
--output_dir amd/Kimi-K2.6-MXFP4 \
--model_export hf_format \
--file2file_quantization| Benchmark | Kimi-K2.6 | Kimi-K2.6-MXFP4 (this model) | Recovery |
| GSM8K (flexible-extract) | 93.93 | 93.25 | 99.3% |
rocm/vllm-dev:nightly_main_20260417, with lm-eval and amd-quark compiled and installed from source, and vLLM (version 0.19.1rc1.dev369+gb1dc87a09) pre-installed in the docker image.lm_eval \
--model vllm \
--model_args pretrained=amd/Kimi-K2.6-MXFP4,trust_remote_code=True,tensor_parallel_size=4 \
--tasks gsm8k \
--batch_size auto