Qwen__Qwen2.5-VL-3B-Instruct__torchao_w4a8

This is a torchao W4A8 (4-bit) quantized version of Qwen/Qwen2.5-VL-3B-Instruct.

Quantization Details

  • Method: torchao W4A8
  • Bits: 4
  • Base model: Qwen/Qwen2.5-VL-3B-Instruct
  • Weight bits: 4
  • Activation bits: 8 (dynamic)
  • Group size: 128
  • Backend: torchao (Int8DynamicActivationInt4Weight)

Usage

from transformers import AutoProcessor, AutoModelForImageTextToText
import torch

model = AutoModelForImageTextToText.from_pretrained(
    "{REPO_ID}",
    torch_dtype=torch.float16,
    device_map="auto",
    trust_remote_code=True,
)
processor = AutoProcessor.from_pretrained("{REPO_ID}", trust_remote_code=True)

Replace {REPO_ID} with the repo ID of this model.

Original Model

See Qwen/Qwen2.5-VL-3B-Instruct for the original FP16 model.

Downloads last month
18
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Azaz666/Qwen2.5-VL-3B-Instruct-torchao-W4A8

Finetuned
(772)
this model

Collection including Azaz666/Qwen2.5-VL-3B-Instruct-torchao-W4A8