Model Details
This model is an MXFP8 (W8A8, group_size 32) model of google/gemma-4-26B-A4B generated by intel/auto-round using RTN. Please follow the license of the original model.
- Quantized (MXFP8): routed experts, attention
- Kept in BF16: shared MLP, router, embeddings, vision tower, vision projection
- Static FP8: KV cache
How to Use
Environment
uv pip install vllm==0.29.0
vLLM Usage
vllm serve intel-ai/gemma-4-26B-A4B-MXFP8-FP8KV-CT-AutoRound \ --attention-backend FLASHINFER \ --language-model-only \ --dtype bfloat16 \ --kv-cache-dtype fp8
Evaluation
Table with columns: Benchmark, BF16, MXFP8, Recovery| Benchmark | BF16 | MXFP8 | Recovery |
|---|
| PIQA | 82.32 | 82.86 | 100.66% |
| HellaSwag | 63.32 | 63.47 | 100.24% |
| MMLU | 74.40 | 74.41 | 100.02% |
| GSM8K | 74.37 | 73.24 | 98.47% |
| Average | 73.60 | 73.50 | 99.85% |
| niah_multiquery (128K) | 97.75 | 96.00 | 98.21% |
| ruler_qa_squad (128K) | 51.83 | 51.50 | 99.36% |
| RULER Average | 74.79 | 73.75 | 98.61% |
Generate the Model
uv pip install git+https://github.com/intel/auto-round.git@22d6e28c0133f3120fa9f5650d990bb65153fe5f
AR_DISABLE_META_LOAD=1 auto-round \ --model_name google/gemma-4-26B-A4B \ --scheme MXFP8 \ --model_free \ --static_kv_dtype fp8 \ --ignore_layers router,vision_tower,embed_vision,embed_tokens,mlp \ --format llm_compressor \ --output_dir gemma-4-26B-A4B-MXFP8-FP8KV-CT-AutoRound
Ethical Considerations and Limitations
The model can produce factually incorrect output, and should not be relied on to produce factually accurate information. Because of the limitations of the pretrained model and the finetuning datasets, it is possible that this model could generate lewd, biased or otherwise offensive outputs.
Therefore, before deploying any applications of the model, developers should perform safety testing.
Caveats and Recommendations
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.
Here are a couple of useful links to learn more about Intel's AI software:
Disclaimer
The license on this model does not constitute legal advice. We are not responsible for the actions of third parties who use this model. Please consult an attorney before using this model for commercial purposes.
Cite
@article{cheng2023optimize, title={Optimize weight rounding via signed gradient descent for the quantization of llms}, author={Cheng, Wenhua and Zhang, Weiwei and Shen, Haihao and Cai, Yiyang and He, Xin and Lv, Kaokao and Liu, Yi}, journal={arXiv preprint arXiv:2309.05516}, year={2023}}
arxiv github
Signed-off-by: Sun, Xuehao xuehao.sun@intel.com