Downloads · 30 days
146
3% of all-time downloads
Vishva007/Qwen3-VL-8B-Instruct-W4A16-AutoRound-GPTQ
Qwen3-VL-8B-Instruct-W4A16-AutoRound-GPTQ is a image-text-to-text model from Vishva007. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
This is a 4-bit quantized GPTQ version of the state-of-the-art Qwen/Qwen3-VL-8B-Instruct vision-language model.
Downloads · 30 days
146
3% of all-time downloads
All-time downloads
4.6K
Public
Parameters
1.8B
7.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors7.3 GB · 100%
How the weights are stored.
I326.9B · 79%
From the Hugging Face model README
This is a 4-bit quantized GPTQ version of the state-of-the-art Qwen/Qwen3-VL-8B-Instruct vision-language model.
Unlike standard GPTQ conversions which rely on a greedy layer-wise algorithm, this model was optimized using Intel's AutoRound. AutoRound analyzes the model's weights over 800 tuning steps with 512 calibration samples to find the optimal quantization points. This results in significantly lower perplexity and better reasoning retention than standard GPTQ, while maintaining full compatibility with all GPTQ inference backends.
AutoGPTQ, Transformers, and older vLLM versions that support GPTQ.| Feature | Detail |
|---|---|
| Quantization Format | GPTQ |
| Quantization Scheme | W4A16 (4-bit weights, 16-bit activations) |
| Optimization Algo | Intel AutoRound (Symmetric, Group Size 128) |
| Vision Tower | FP16 (Original Precision) |
| Model Size | ~5.5 GB (vs ~16GB Original) |
| VRAM Requirement | ~6-8 GB for Inference |
To run this model, you need transformers and the auto-gptq kernel library.
pip install auto-gptq transformers torch
This snippet demonstrates how to load the model and analyze an image.
from transformers import Qwen2VLForConditionalGeneration, AutoProcessor
from qwen_vl_utils import process_vision_info
import torch
# 1. Load the Model
model_id = "Vishva007/Qwen3-VL-8B-Instruct-W4A16-AutoRound-GPTQ"
model = Qwen2VLForConditionalGeneration.from_pretrained(
model_id,
torch_dtype=torch.float16,
device_map="auto",
trust_remote_code=True,
)
# 2. Load the Processor
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
# 3. Prepare Input (Image + Text)
messages = [
{
"role": "user",
"content": [
{
"type": "image",
"image": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg",
},
{"type": "text", "text": "Describe this image in detail."},
],
}
]
# 4. Process Inputs
text = processor.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
image_inputs, video_inputs = process_vision_info(messages)
inputs = processor(
text=[text],
images=image_inputs,
videos=video_inputs,
padding=True,
return_tensors="pt",
).to(model.device)
# 5. Generate Output
generated_ids = model.generate(**inputs, max_new_tokens=128)
generated_ids_trimmed = [
out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
]
output_text = processor.batch_decode(
generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
)
print(f"Model Response:\n{output_text}")
This quantized model aims to match the performance of the FP16 original model while reducing memory usage by nearly 70%.
One-click launch environments pre-configured with PyTorch, CUDA, and dependencies for fine-tuning or quantization.
🎁 Need GPU compute? Sign up via RunPod and get $5–$500 in free credits when you add your first $10.
If you use this model, please cite the original Qwen3-VL paper:
@misc{qwen3technicalreport,
title={Qwen3 Technical Report},
author={Qwen Team},
year={2025}
}