Skip to page content
SAVRN
Search Plan a project

Open-weight model · Image and text to text

Qwen3.5-4B-W4A16-AutoRound-NVFP4

by Vishva R Vishva007/Qwen3.5-4B-W4A16-AutoRound-NVFP4

Qwen3.5-4B-W4A16-AutoRound-NVFP4 is an open-weight model for image and text to text from Vishva R, released under Apache License 2.0. It has 3.4B parameters and a 262,144-token context. At 16-bit it needs about 8.2 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index. It draws 33 downloads a month.

This is an NVFP4 (W4A16: 4-bit weight, 16-bit activation) quantized version of Qwen/Qwen3.5-4B, produced using AutoRound — Intel's sign gradient descent based quantization method designed for production-grade accuracy retention.

Parameters3.4B
Context262,144
Weights5.6 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads33

Runs On

What it takes to serve Qwen3.5-4B-W4A16-AutoRound-NVFP4 (3.4B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 6.8 GB 8.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 3.4 GB 4.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 1.7 GB 2.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 23, 2026.

Qwen3.5-4B-W4A16-AutoRound-NVFP4 on every accelerator the SAVRN Index prices, at every precision

Model Card

By Vishva R, published under apache-2.0, revision a6303d919d4a.

This is an NVFP4 (W4A16: 4-bit weight, 16-bit activation) quantized version of Qwen/Qwen3.5-4B, produced using AutoRound — Intel's sign gradient descent based quantization method designed for production-grade accuracy retention. Exported via compressed-tensors (llmcompressor format) with MTP layers preserved. - NVFP4 Quantization — Weights are quantized to FP4 micro-scaled formats using group size 16; activations remain in 16-bit for stable numerical fidelity. - Vision Tower (visual / quantnontextmodule): Kept in BF16 to preserve visual reasoning and OCR precision. - Special Modules (ignorelayers & layerconfig): linearattn, mtp, and mtp.fc are strictly retained in native bfloat16 to ensure…

Read Vishva R's full model card

Vishva007/Qwen3.5-9B-W4A16-AutoRound-NVFP4

This is an NVFP4 (W4A16: 4-bit weight, 16-bit activation) quantized version of Qwen/Qwen3.5-4B, produced using AutoRound — Intel's sign gradient descent based quantization method designed for production-grade accuracy retention. Exported via compressed-tensors (llm_compressor format) with MTP layers preserved.

Quantization Details

Parameter Value
Method AutoRound (NVFP4 Scheme)
Format llm_compressor / compressed-tensors
Group Size 16
Symmetric Yes
Iterations 1000
Calibration Samples 512
Batch Size 4
Sequence Length 2048
Torch Compile Disabled

Key Notes

  • NVFP4 Quantization — Weights are quantized to FP4 micro-scaled formats using group size 16; activations remain in 16-bit for stable numerical fidelity.
  • Vision Tower (visual / quant_nontext_module): Kept in BF16 to preserve visual reasoning and OCR precision.
  • Special Modules (ignore_layers & layer_config): linear_attn, mtp, and mtp.fc are strictly retained in native bfloat16 to ensure zero regression in speculative decoding and attention mechanisms.

vLLM Serving

Serve the model directly via vLLM with tool-calling, MTP speculative decoding, and multimodal options enabled:

vllm serve Vishva007/Qwen3.5-9B-W4A16-AutoRound-NVFP4 \
  --port 8000 \
  --host 0.0.0.0 \
  --max-model-len 18000 \
  --kv-cache-dtype fp8 \
  --gpu-memory-utilization 0.90 \
  --enable-prefix-caching \
  --enable-chunked-prefill \
  --max-num-batched-tokens 18000 \
  --max-num-seqs 128 \
  --trust-remote-code \
  --dtype bfloat16 \
  --mm-processor-kwargs '{"max_pixels": 10485760, "max_length": 65536, "truncation": false}' \
  --mm-processor-cache-type shm \
  --limit-mm-per-prompt '{"image": 50}' \
  --enable-auto-tool-choice \
  --tool-call-parser qwen3_coder \
  --default-chat-template-kwargs '{"enable_thinking": false}' \
  --speculative-config '{"num_speculative_tokens": 3, "method": "mtp"}'

MTP / Speculative Decoding

This model supports Multi-Token Prediction (MTP) for accelerated inference throughput using speculative decoding.

When serving with compatible backends like vLLM, enable MTP using:

--speculative-config '{"num_speculative_tokens": 3, "method": "mtp"}'

Notes

  • Native draft weights for MTP were preserved during quantization to ensure seamless compatibility without drafting degradation.
  • You can tune num_speculative_tokens (e.g., between 1 and 3) to optimize speed and latency depending on context length and hardware.

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 and get $5–$500 in free credits when you add your first $10.

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
PyTorch 2.14 (CUDA 13.0) 13.0 vishva123/cuda-13.0-pytorch-2.14-runpod yk0y6j6rpg
PyTorch 2.14 (CUDA 13.2) 13.2 vishva123/cuda-13.2-pytorch-2.14-runpod gsp4gwx0nw
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
PyTorch 2.13 (CUDA 13.0) 13.0 vishva123/cuda-13.0-pytorch-2.13-runpod y3j8xvk4f4
PyTorch 2.13 (CUDA 13.2) 13.2 vishva123/cuda-13.2-pytorch-2.13-runpod vigpissn5w
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
PyTorch 2.12 (CUDA 13.0) 13.0 vishva123/cuda-13.0-pytorch-2.12-runpod qjko5yiwzi
PyTorch 2.12 (CUDA 13.2) 13.2 vishva123/cuda-13.2-pytorch-2.12-runpod ifg6xmye0f

Configuration

Architecture
Qwen3_5ForConditionalGeneration
Context length (tokens)
262,144
Layers
32
Hidden size
2,560
Feed-forward size
9,216
Attention heads
16
Key/value heads
4
Head dimension
256
Vocabulary size
248,320
Model type
qwen3_5
Quantization
compressed-tensors

Identity and Version

Repository
Vishva007/Qwen3.5-4B-W4A16-AutoRound-NVFP4
Publisher
Vishva R
Task
Image and text to text
Modality
Image and text
Library
Not stated by the source
Parameters
3.4B parameters
Languages
Not stated by the source
Revision
a6303d919d4a90ecabb2c588e03fdaf0a96c219c
First published
2026-10-13
Last updated
2026-10-16

Files and Weights

14 files, 5.7 GB in total. The weights are 3 files totalling 5.6 GB in safetensors.

Weights3 files · 5.6 GB
Configuration6 files · 139.0 KB
Tokenizer2 files · 20.0 MB
Documentation1 file · 6.1 KB
Other1 file · 7.8 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
model-00001-of-00002.safetensorsWeights4.1 GB 91a1f67a292d
model-00002-of-00002.safetensorsWeights1.3 GB 7742b1f1aa8b
model_extra_tensors.safetensorsWeights241.2 MB 7f993d7b896c
config.jsonConfiguration16.0 KB —
generation_config.jsonConfiguration116 B —
model.safetensors.index.jsonConfiguration108.7 KB —
preprocessor_config.jsonConfiguration390 B —
processor_config.jsonConfiguration1.2 KB —
quantization_config.jsonConfiguration12.5 KB —
README.mdDocumentation6.1 KB —
chat_template.jinjaOther7.8 KB —
.gitattributesRepository1.6 KB —
tokenizer.jsonTokenizer20.0 MB a5cd9732badc
tokenizer_config.jsonTokenizer1.5 KB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
5.6 GB
Download from Vishva R

Released by Vishva R through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published5.6 GB
16-bit6.8 GB
8-bit3.4 GB
4-bit1.7 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About Qwen3.5-4B-W4A16-AutoRound-NVFP4

How much GPU memory does Qwen3.5-4B-W4A16-AutoRound-NVFP4 need?

About 8.2 GB at 16-bit and 2.1 GB at 4-bit: the weights (3.4B parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run Qwen3.5-4B-W4A16-AutoRound-NVFP4 on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use Qwen3.5-4B-W4A16-AutoRound-NVFP4 commercially?

Yes. Qwen3.5-4B-W4A16-AutoRound-NVFP4 is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is Qwen3.5-4B-W4A16-AutoRound-NVFP4's context length?

262,144 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Image and text to text

DeepSeek-OCR-2

DeepSeek

Inference using Huggingface transformers on NVIDIA GPUs. Requirements tested on python 3.12.9 + CUDA11.8: Refer to GitHub for guidance on model inference acceleration and PDF processing, etc. We would like to thank DeepSeek-OCR, Vary, GOT-OCR2.0, MinerU, PaddleOCR for their valuable models and ideas. We also appreciate the benchmark OmniDocBench. author={Wei, Haoran and Sun, Yaofeng and Li, Yukun}, year={2025} title={DeepSeek-OCR 2: Visual Causal Flow}, author={Wei, Haoran and Sun, Yaofeng and Li, Yukun}, year={2026}

Open weights apache-2.0 3.4B parameters 8,192 tokens transformers

Model · Image and text to text

Unlimited-OCR-AWQ

Sahil Chachra

AWQ 4-bit (W4A16) quantization of baidu/Unlimited-OCR, a 3B vision-language OCR model that pushes DeepSeek-OCR one step further (one-shot, long-horizon document parsing). This repo quantizes the DeepSeek-V2 MoE text decoder with activation-aware scaling (AWQ) while keeping the vision tower in BF16, so it stays a drop-in transformers model. Unlimited-OCR uses the DeepSeek-OCR prompt vocabulary. The prompt must contain; prefix it with whenever you also want bounding boxes for what was read. - base — basesize=1024, imagesize=1024, cropmode=False. Good default for normal pages. - gundam — basesize=1024, imagesize=640, cropmode=True. Tiles the page; use for dense or large/high-resolution…

Open weights mit 3.4B parameters 32,768 tokens transformers

Model · Image and text to text

Unlimited-OCR

BAIDU

[2026/07/21] Thanks to the ms-swift community for their support, our model now supports training with ms-swift. - [2026/07/03] Thanks to the Baidu Cloud team for their support. Our model is now available on Baidu Cloud. - [2026/06/28] Thanks to the vLLM community and Tianyu Guo for their support, our model now supports vLLM inference. - [2026/06/24] Thanks to AK for creating a demo for us. It is now available at Hugging Face Spaces. - [2026/06/23] Our paper is now available on arXiv. - [2026/06/23] Thanks to the ModelScope community for their support. Our model is now available at ModelScope. - [2026/06/22] We present Unlimited-OCR, aiming to push Deepseek-OCR one step further. Inference…

Open weights mit 3.3B parameters 32,768 tokens transformers

Model · Image and text to text

DeepSeek-OCR

DeepSeek

Inference using Huggingface transformers on NVIDIA GPUs. Requirements tested on python 3.12.9 + CUDA11.8: Refer to GitHub for guidance on model inference acceleration and PDF processing, etc. [2025/10/23] DeepSeek-OCR is now officially supported in upstream vLLM. We would like to thank Vary, GOT-OCR2.0, MinerU, PaddleOCR, OneChart, Slow Perception for their valuable models and ideas. author={Wei, Haoran and Sun, Yaofeng and Li, Yukun}, year={2025}

Open weights mit 3.3B parameters 8,192 tokens transformers

Model · Image and text to text

unlimited-ocr-max

Konstantin

baidu/Unlimited-OCR as one repository max serve opens directly on Apple Silicon: baidu's weights unchanged (model.safetensors, byte-identical to upstream at revision 07dea832e22aefee32ad281d4b80551282e1c168, sha256 2bc48a7a110061ea58fff65d3169367eebe3aee371ca6968dc2219c1b2855fc6), the tokenizer files as published, and the checkpoint's config.json with two keys removed (automap, modeltype) so MAX can load it without trustremotecode. The runtime is a MAX custom architecture with two Mojo custom ops, served from https://github.com/kthr/unlimited-ocr-max as an OpenAI-compatible endpoint on the Metal GPU or the CPU. The repository also carries model-int8.safetensors, this port's weight-only int8…

Open weights mit 3.3B parameters 32,768 tokens

Model · Image and text to text

blip2-opt-2.7b

Salesforce AI Research

BLIP-2 model, leveraging OPT-2.7b (a large language model with 2.7 billion parameters). It was introduced in the paper BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models by Li et al. and first released in this repository. Disclaimer: The team releasing BLIP-2 did not write a model card for this model so this model card has been written by the Hugging Face team. BLIP-2 consists of 3 models: a CLIP-like image encoder, a Querying Transformer (Q-Former) and a large language model. The authors initialize the weights of the image encoder and large language model from pre-trained checkpoints and keep them frozen while training the Querying…

Open weights mit 3.7B parameters transformers