Qwen3-ASR-0.6B β€” int8 (bitsandbytes)

8-bit quantized build of Qwen/Qwen3-ASR-0.6B-hf, produced with bitsandbytes load_in_8bit.

Why

The fp16 checkpoint is 1.49 GB. On a Windows laptop (RTX 4060 Laptop, 8 GB VRAM) the fp16 model cannot load reliably: Windows WDDM charges ~1.3 GB of system commit per GB of VRAM, and a 16 GB machine with a small pagefile runs out of commit before it runs out of VRAM. The int8 build halves the footprint and fits comfortably.

fp16 int8 (this repo)
weights on disk 1492 MB 945 MB
VRAM allocated ~1.6 GB 0.97 GB (peak 1.07 GB)
load time (RTX 3090) β€” 87 s (first run, includes download)
inference, 10.4 s audio β€” 3.2–4.6 s

Usage

import torch
from transformers import AutoProcessor, AutoModelForMultimodalLM, BitsAndBytesConfig
import soundfile as sf

repo = "warlockzero/Qwen3-ASR-0.6B-int8"
processor = AutoProcessor.from_pretrained(repo)
model = AutoModelForMultimodalLM.from_pretrained(
    repo,
    quantization_config=BitsAndBytesConfig(load_in_8bit=True),
    device_map={"": 0},
    dtype=torch.float16,
).eval()

data, sr = sf.read("audio.wav")
if data.ndim > 1:
    data = data.mean(axis=1)

inputs = processor.apply_transcription_request(audio=data, sampling_rate=sr)
inputs = inputs.to("cuda", torch.float16)
with torch.inference_mode():
    ids = model.generate(**inputs, max_new_tokens=256, do_sample=False)
out = ids[:, inputs["input_ids"].shape[1]:]
print(processor.decode(out, return_format="transcription_only"))

Requires bitsandbytes, accelerate, transformers, and a CUDA GPU.

Verification

  • Reference audio (10.44 s English speech) transcribed identically across two consecutive runs and after a full save β†’ reload round-trip.
  • Output: "He hoped there would be stew for dinner: turnips and carrots and bruised potatoes and fat mutton pieces to be ladled out in thick peppered flour-fatted sauce."
  • Peak VRAM 1.07 GB on an RTX 3090.

Notes

  • Transcription only (no translation), same as the base model.
  • The bundled quantization_config means you do not need to pass BitsAndBytesConfig explicitly; passing it is harmless.
  • CPU inference is not supported for this int8 build β€” bitsandbytes 8-bit kernels require CUDA. Use the fp16 base model on CPU.
Downloads last month
30
Safetensors
Model size
0.8B params
Tensor type
F32
Β·
F16
Β·
I8
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for warlockzero/Qwen3-ASR-0.6B-int8

Quantized
(12)
this model