MiniCPM-V-4.7-35B-A3B-JANGH2-uzu
This is the MiniCPM-V-4.7 multimodal model converted and optimized for the Uzu / Mirai inference engine on Apple Silicon.
Key Features
- Jangtq2 Mixed Precision Quantization: Extreme compression using Jangtq2 (2-bit / 3-bit codebooks) for MoE experts and MLX 8-bit affine quantization for shared embeddings/layers. Total bundle size is ~13 GB.
- Pure Metal Vision Tower: Implements the SigLIP vision encoder entirely in Metal compute shaders with fused window attention and MPS GEMM acceleration, requiring zero Python/PyTorch dependencies.
- High-Performance Apple Silicon Inference: Native unified-memory prefill, mROPE 3D position embedding, and fast auto-regressive decoding.
- OpenAI-Compatible Multimodal Server: Fully compatible with standard OpenAI
/v1/chat/completions(supporting image URLs, localfile://paths, and base64 data URLs) with streaming (SSE) and sampling parameters (temperature,top_p,top_k,repetition_penalty,seed).
Files Included
config.json: Uzu language model and decoder configuration.vision_config.json: Vision tower architecture and HD slice layout parameters.tokenizer.json: Tokenizer vocabulary and merge tables.model.safetensors.index.json: Safetensors shard mapping index.model-00001-of-00003.safetensors~model-00003-of-00003.safetensors: Quantized model shards.
Usage with Mirai / Uzu
1. Place Model in Local Registry
Place this folder into your local models directory, e.g. ~/MLXModels/derived/MiniCPM-V-4.7-35B-A3B-JANGH2-uzu.
Verify model discovery:
mirai list-models
2. Start Local Server
mirai server --model MiniCPM-V-4.7-35B-A3B-JANGH2-uzu --port 8001
3. Send Multimodal Chat Request
curl http://127.0.0.1:8001/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "MiniCPM-V-4.7-35B-A3B-JANGH2-uzu",
"messages": [
{
"role": "user",
"content": [
{"type": "text", "text": "Describe what is shown in this image."},
{"type": "image_url", "image_url": {"url": "file:///path/to/image.png"}}
]
}
],
"temperature": 0.7,
"max_tokens": 128
}'