Run this model with HF Jobs
Run intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound") model = AutoModelForMultimodalLM.from_pretrained("intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound
- SGLang
How to use intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound with Docker Model Runner:
docker model run hf.co/intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound
Update model card according to templates/model_card.md using INC-Quantization-Recipes
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071721 unmodified line747576777879---library_name: transformerslicense: apache-2.0license_link: https://huggingface.co/Qwen/Qwen3.6-27B/blob/main/LICENSEpipeline_tag: image-text-to-text---This model is a MXFP4 mixed model of [Qwen3.6-27B](https://huggingface.co/Qwen/Qwen3.6-27B) tuned by [intel/auto-round](https://github.com/intel/auto-round) with auto_round format. Please follow the license of the original model.| Configuration | GSM8K | MMLU | PIQA | HelleSwag | Average | Relative to BF16 ||--------------|-------|----------|----------|----------|----------|------------------|| BF16 | 0.9735 | 0.8856 | 0.8177 | 0.6402 | 0.819025 | - || MXFP4| 0.9697 | 0.8424 | 0.8107 | 0.6226| 0.81135 | 99.06% |## How to Run Locally```export CUDA_VISIBLE_DEVICES=0export VLLM_WORKER_MULTIPROC_METHOD=spawnMODEL=INCModel2/Qwen3.6-27B-MXFP4-HMT-AutoRoundMODEL_ARGS="pretrained=$MODEL,dtype=bfloat16,enable_thinking=False"lm_eval \--model hf \--model_args $MODEL_ARGS \--tasks gsm8k \--batch_size 64 \--gen_kwargs "max_gen_toks=2048" \--apply_chat_template \--fewshot_as_multiturn \--output_path lm_eval_results````## Generate the Model~~~bashfrom auto_round import AutoRound# Load a model (supports FP8/BF16/FP16/FP32)model_name_or_path = "Qwen/Qwen3.6-27B"output_dir = "./Qwen3.6-27B-MXFP4-HMT-AutoRound"ar = AutoRound(model_name_or_path, scheme="MXFP4", iters=200, rotation_config="hadamard")ar.quantize_and_save(output_dir=output_dir, format="auto_round")~~~## Ethical Considerations and LimitationsThe 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 RecommendationsUsers (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:- [Intel Neural Compressor](https://github.com/intel/neural-compressor)## Disclaimer1 unmodified line## 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](https://arxiv.org/abs/2309.05516) [github](https://github.com/intel/auto-round)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869701 unmodified line727374757677787980818283848586---base_model:- Qwen/Qwen3.6-27Blicense: apache-2.0license_link: https://huggingface.co/Qwen/Qwen3.6-27B/blob/main/LICENSEpipeline_tag: image-text-to-textlibrary_name: transformerstags:- auto-round- mxfp4---## Model DetailsThis model is an MXFP4 (W4A16, group_size 32) model of [Qwen/Qwen3.6-27B](https://huggingface.co/Qwen/Qwen3.6-27B) generated by [intel/auto-round](https://github.com/intel/auto-round) with 200 tuning iterations and Hadamard transformation. Please follow the license of the original model.- **Quantized (MXFP4)**: linear layers- **Kept in BF16**: vision tower / embeddings / lm_head## How to Use### Environment```bashpip install vllm==0.29.0```### vLLM Usage```bashvllm serve intel-ai/Qwen3.6-27B-MXFP4-HMT-AutoRound```## Evaluation| Benchmark | BF16 | MXFP4 | Recovery ||---|---:|---:|---:|| GSM8K | 97.35 | 96.97 | 99.61% || MMLU | 88.56 | 84.24 | 95.12% || PIQA | 81.77 | 81.07 | 99.14% || HellaSwag | 64.02 | 62.26 | 97.25% || **Average** | **82.92** | **81.13** | **97.84%** |## Generate the Model```bashauto-round \--model_name Qwen/Qwen3.6-27B \--scheme MXFP4 \--iters 200 \--hadamard_type hmt \--format auto_round \--output_dir Qwen3.6-27B-MXFP4-HMT-AutoRound```## Ethical Considerations and LimitationsThe 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 RecommendationsUsers (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:- [Intel Neural Compressor](https://github.com/intel/neural-compressor)- [AutoRound](https://github.com/intel/auto-round)## Disclaimer1 unmodified line## 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](https://arxiv.org/abs/2309.05516) [github](https://github.com/intel/auto-round)Signed-off-by: Lv, Kaokao <kaokao.lv@intel.com>
README.md+47-40