MiniCPM-V-4.7-35B-A3B-URRA-int4-mixed
quantized version of the multimodal model
2 min readupdated
This is an optimized version of the large multimodal model MiniCPM-V-4.7-35B (featuring 35.2 billion parameters, including Gated DeltaNet, Full-Attention, MoE expert layers, and a built-in Vision Tower). The model is compressed using the architecture-aware AWQ (weight quantization method) and mixed precision, reducing the file size from 65.59 GiB to 20.17 GiB. As a result, the model fits on a single graphics card with 24 GB VRAM or a Mac with 32 GB RAM. It handles image-text-to-text tasks with significantly lower hardware requirements.
Key features
- Use of mixed precision distribution (AWQ INT4 for MoE experts, INT8 for linear attention, and protected BF16 for critical layers).
- 69.2% reduction in model weight compared to the original in BF16.
- Full integrity preservation verified through benchmark tests (sha256, causality=0.0).
- Operation without external dependencies thanks to the built-in loader.
What you can do
- Run the heavy multimodal MiniCPM-V-4.7 model on a single consumer graphics card with 24 GB VRAM or an Apple Silicon Mac with 32 GB RAM.
- Integrate the model for analyzing complex images, documents, and charts into local pipelines.
- Perform local multimodal inference tests with minimal RAM and VRAM overhead.
Example
from huggingface_hub import snapshot_download
import sys
local_dir = snapshot_download("gatilin/MiniCPM-V-4.7-35B-A3B-URRA-int4-mixed")
sys.path.insert(0, local_dir)
from urra_loader import load_urra_quantized_model
model, tokenizer = load_urra_quantized_model(local_dir, device="cuda") # или "mps"
Read more
DetailsDisk size: 20.17 GiB (6 shards instead of 16)
Live MPS RAM: ~20.19 GiB
WT103 PPL: 5.436 (+0.146 increase compared to the base BF16 5.290)
Hardware requirements: GPU with 24 GB VRAM or Mac with 32 GB RAM










Comments