|
Download README.md from OpenTensorLab/Qwen3.8-9B-Distill-W4A16-AutoRound: direct link, hf CLI and curl.
- Browser
- Download file 6.92 kB
-
https://huggingface.co/OpenTensorLab/Qwen3.8-9B-Distill-W4A16-AutoRound/resolve/main/README.md
- Command line
-
hf download hf://OpenTensorLab/Qwen3.8-9B-Distill-W4A16-AutoRound/README.md
-
curl -L -o README.md https://huggingface.co/OpenTensorLab/Qwen3.8-9B-Distill-W4A16-AutoRound/resolve/main/README.md
6.92 kB
| license: apache-2.0 | |
| base_model: empero-ai/Qwen3.8-9B-Distill | |
| tags: | |
| - quantization | |
| - auto-round | |
| - gptq | |
| - llm-compressor | |
| - compressed-tensors | |
| - 4bit | |
| - text-generation | |
| - image-text-to-text | |
| - reasoning | |
| - distillation | |
| pipeline_tag: image-text-to-text | |
| # Qwen3.8-9B-Distill (W4A16 Quantized via AutoRound) | |
| This repository contains a **W4A16 (4-bit weights, 16-bit activations)** quantized version of [empero-ai/Qwen3.8-9B-Distill](https://huggingface.co/empero-ai/Qwen3.8-9B-Distill), quantized using Intel's [AutoRound](https://github.com/intel/auto-round) algorithm. | |
| --- | |
| ## β‘ Quantization Details | |
| Calibrated and quantized with fine-grained group sizes and high iteration depth to preserve reasoning traces (`<think>` blocks) and multimodal capabilities: | |
| * **Algorithm:** [Intel AutoRound](https://github.com/intel/auto-round) | |
| * **Precision / Scheme:** W4A16 (4-bit weights, 16-bit activations) | |
| * **Group Size:** 32 (fine-grained reconstruction fidelity) | |
| * **Symmetric (`sym`):** `True` | |
| * **Calibration Samples (`nsamples`):** 512 | |
| * **Sequence Length (`seqlen`):** 4096 | |
| * **Tuning Iterations (`iters`):** 1000 (Production-grade accuracy) | |
| * **Vision Tower (`quant_nontext_module`):** `False` (Kept in **BF16** to preserve visual reasoning and OCR precision) | |
| * **Special Modules (`layer_config`):** Multi-Token Prediction (`mtp`, `mtp.fc`) kept in native **bfloat16** | |
| --- | |
| ## π¦ Available Formats | |
| Depending on your inference engine, choose the appropriate repository: | |
| * **AutoRound Format:** [`OpenTensorLab/Qwen3.8-9B-Distill-W4A16-AutoRound`](https://huggingface.co/OpenTensorLab/Qwen3.8-9B-Distill-W4A16-AutoRound) | |
| * **AutoGPTQ Format:** [`OpenTensorLab/Qwen3.8-9B-Distill-W4A16-AutoRound-GPTQ`](https://huggingface.co/OpenTensorLab/Qwen3.8-9B-Distill-W4A16-AutoRound-GPTQ) | |
| * **LLM-Compressor / Compressed-Tensors Format:** [`OpenTensorLab/Qwen3.8-9B-Distill-W4A16-AutoRound-LLM-Compressor`](https://huggingface.co/OpenTensorLab/Qwen3.8-9B-Distill-W4A16-AutoRound-LLM-Compressor) | |
| --- | |
| ## π Usage & Quickstart | |
| ### 1. High-Throughput Serving via vLLM | |
| ```bash | |
| # Using the LLM-Compressor / Compressed-Tensors build | |
| vllm serve OpenTensorLab/Qwen3.8-9B-Distill-W4A16-AutoRound \ | |
| --dtype bfloat16 \ | |
| --max-model-len 8192 \ | |
| --gpu-memory-utilization 0.90 | |
| ``` | |
| --- | |
| ## π VRAM & Performance Benefits | |
| * **Original Model (BF16):** ~8β10 GB VRAM required for full context inference | |
| * **Quantized Model (W4A16 Group 32):** ~2.5β3.5 GB VRAM (runs comfortably on 4GB/6GB consumer GPUs, laptops, and edge devices) | |
| * **Throughput:** Lowers memory bandwidth pressure, accelerating token generation speeds during extended chain-of-thought (`<think>`) reasoning. | |
| --- | |
| ### π Deploy on RunPod | |
| One-click launch environments pre-configured with PyTorch, CUDA, and dependencies for fine-tuning or quantization. | |
| > π **Need GPU compute?** Sign up via [RunPod](https://runpod.io?ref=iabrlp7z) and get **$5β$500 in free credits** when you add your first $10. | |
| #### PyTorch 2.15 | |
| | Template | CUDA Version | Docker Image | Template ID | Deploy | | |
| | :--- | :--- | :--- | :--- | :--- | | |
| | **PyTorch 2.15 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.15-runpod` | `0rsw686010` | [](https://runpod.io/console/deploy?template=0rsw686010&ref=iabrlp7z) | | |
| | **PyTorch 2.15 (CUDA 13.4)** | 13.4 | `vishva123/cuda-13.4-pytorch-2.15-runpod` | `0s0rhdfaqy` | [](https://runpod.io/console/deploy?template=0s0rhdfaqy&ref=iabrlp7z) | | |
| #### PyTorch 2.14 | |
| | Template | CUDA Version | Docker Image | Template ID | Deploy | | |
| | :--- | :--- | :--- | :--- | :--- | | |
| | **PyTorch 2.14 (CUDA 12.6)** | 12.6 | `vishva123/cuda-12.6-pytorch-2.14-runpod` | `d7lxsa4w9m` | [](https://runpod.io/console/deploy?template=d7lxsa4w9m&ref=iabrlp7z) | | |
| | **PyTorch 2.14 (CUDA 13.0)** | 13.0 | `vishva123/cuda-13.0-pytorch-2.14-runpod` | `yk0y6j6rpg` | [](https://runpod.io/console/deploy?template=yk0y6j6rpg&ref=iabrlp7z) | | |
| | **PyTorch 2.14 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.14-runpod` | `gsp4gwx0nw` | [](https://runpod.io/console/deploy?template=gsp4gwx0nw&ref=iabrlp7z) | | |
| #### PyTorch 2.13 | |
| | Template | CUDA Version | Docker Image | Template ID | Deploy | | |
| | :--- | :--- | :--- | :--- | :--- | | |
| | **PyTorch 2.13 (CUDA 12.6)** | 12.6 | `vishva123/cuda-12.6-pytorch-2.13-runpod` | `gmlupxnxfk` | [](https://runpod.io/console/deploy?template=gmlupxnxfk&ref=iabrlp7z) | | |
| | **PyTorch 2.13 (CUDA 13.0)** | 13.0 | `vishva123/cuda-13.0-pytorch-2.13-runpod` | `y3j8xvk4f4` | [](https://runpod.io/console/deploy?template=y3j8xvk4f4&ref=iabrlp7z) | | |
| | **PyTorch 2.13 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.13-runpod` | `vigpissn5w` | [](https://runpod.io/console/deploy?template=vigpissn5w&ref=iabrlp7z) | | |
| #### PyTorch 2.12 | |
| | Template | CUDA Version | Docker Image | Template ID | Deploy | | |
| | :--- | :--- | :--- | :--- | :--- | | |
| | **PyTorch 2.12 (CUDA 12.6)** | 12.6 | `vishva123/cuda-12.6-pytorch-2.12-runpod` | `ctmz86zmf0` | [](https://runpod.io/console/deploy?template=ctmz86zmf0&ref=iabrlp7z) | | |
| | **PyTorch 2.12 (CUDA 13.0)** | 13.0 | `vishva123/cuda-13.0-pytorch-2.12-runpod` | `qjko5yiwzi` | [](https://runpod.io/console/deploy?template=qjko5yiwzi&ref=iabrlp7z) | | |
| | **PyTorch 2.12 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.12-runpod` | `ifg6xmye0f` | [](https://runpod.io/console/deploy?template=ifg6xmye0f&ref=iabrlp7z) | | |
| --- | |
| ## π Acknowledgments | |
| * **Original Distilled Model:** Developed by [Empero AI](https://huggingface.co/empero-ai/Qwen3.8-9B-Distill) | |
| * **Base Architecture:** [Qwen Team](https://github.com/QwenLM/Qwen) (Alibaba) | |
| * **Quantization Framework:** [Intel AutoRound](https://github.com/intel/auto-round) | |