Model Details

This model is an int4 (W4A16, group_size 128, symmetric) model of Qwen/Qwen3.8-27B generated by intel/auto-round with 200 tuning iterations. Please follow the license of the original model.

  • Quantized (W4A16): self-attention projections, linear-attention projections, MLP, and the multi-token-prediction block
  • Kept in BF16: embeddings, lm_head, vision tower, normalization layers, linear-attention input gates

How to Use

Environment

pip install vllm==0.33.0 transformers==5.20.2

vLLM Usage

vllm serve INCModel4/Qwen3.8-27B-W4A16-AutoRound \
    --dtype bfloat16 \
    --reasoning-parser qwen3 \
    --language-model-only

Evaluation

Benchmark BF16 W4A16 Recovery
PIQA 80.90 80.85 99.93%
HellaSwag 63.77 63.18 99.08%
MMLU 82.67 82.05 99.25%
GSM8K 97.27 96.51 99.22%
Average 81.15 80.65 99.38%
lm_eval --model vllm \
    --model_args pretrained=INCModel4/Qwen3.8-27B-W4A16-AutoRound,tensor_parallel_size=4,max_model_len=8192,gpu_memory_utilization=0.9,dtype=bfloat16,trust_remote_code=False,add_bos_token=True,enable_prefix_caching=False,max_gen_toks=2048,language_model_only=True,max_num_seqs=32,enable_thinking=False,reasoning_parser=qwen3 \
    --tasks piqa,hellaswag \
    --batch_size 32 \
    --seed 42

lm_eval --model vllm \
    --model_args pretrained=INCModel4/Qwen3.8-27B-W4A16-AutoRound,tensor_parallel_size=4,max_model_len=8192,gpu_memory_utilization=0.9,dtype=bfloat16,trust_remote_code=False,add_bos_token=True,enable_prefix_caching=False,max_gen_toks=2048,language_model_only=True,max_num_seqs=32,enable_thinking=False,reasoning_parser=qwen3 \
    --tasks mmlu \
    --batch_size 32 \
    --num_fewshot 5 \
    --seed 42

lm_eval --model vllm \
    --model_args pretrained=INCModel4/Qwen3.8-27B-W4A16-AutoRound,tensor_parallel_size=4,max_model_len=8192,gpu_memory_utilization=0.9,dtype=bfloat16,trust_remote_code=False,add_bos_token=True,enable_prefix_caching=False,max_gen_toks=2048,language_model_only=True,max_num_seqs=32,enable_thinking=False,reasoning_parser=qwen3 \
    --tasks gsm8k \
    --batch_size 32 \
    --num_fewshot 5 \
    --apply_chat_template \
    --fewshot_as_multiturn \
    --seed 42

Generate the Model

auto-round \
    --model_name Qwen/Qwen3.8-27B \
    --scheme W4A16 \
    --iters 200 \
    --format auto_round \
    --low_gpu_mem_usage \
    --output_dir Qwen3.8-27B-W4A16-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

Downloads last month
106
Safetensors
Model size
6B params
Tensor type
I32
·
BF16
·
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for INCModel4/Qwen3.8-27B-W4A16-AutoRound

Base model

Qwen/Qwen3.8-27B
Quantized
(1,960)
this model

Paper for INCModel4/Qwen3.8-27B-W4A16-AutoRound