Views
No views yet
Qwen/Qwen3.8-27B multimodal (vision-language) model, optimized for Apple Silicon via MLX and mlx-vlm.| Attribute | Details |
|---|---|
| Base Model | Qwen/Qwen3.8-27B |
| Architecture | Vision-Language Dense Model (27 Billion Parameters) |
| Quantization | 3-bit uniform quantization (--q-bits 3) |
| Format | MLX Native (.safetensors) |
| Estimated VRAM | ~11–12 GB Unified Memory (vs. ~54 GB in FP16 / ~15 GB in 4-bit) |
| Primary Target | Apple Silicon Macs (M1/M2/M3/M4 with 16GB+ Unified Memory) |
pip install -U mlx-vlm mlx1python3 -m mlx_vlm.generate \
2 --model <YOUR_HF_USERNAME>/Qwen3.8-27B-3bit-mlx \
3 --prompt "Hello! Write a clean Python script to reverse a string."1python3 -m mlx_vlm.generate \
2 --model <YOUR_HF_USERNAME>/Qwen3.8-27B-3bit-mlx \
3 --image https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/ai2d-demo.jpg \
4 --prompt "Describe what you see in this image."1python3 -m mlx_vlm.server \
2 --model <YOUR_HF_USERNAME>/Qwen3.8-27B-3bit-mlx \
3 --port 8000config.json)~/.continue/config.json:1{
2 "models": [
3 {
4 "title": "Qwen 3.8 27B (3-bit MLX)",
5 "provider": "openai",
6 "model": "default",
7 "apiBase": "http://127.0.0.1:8000/v1",
8 "apiKey": "sk-local"
9 }
10 ]
11}| Precision / Quant | Disk Size | Min VRAM | Coherence / Output Quality |
|---|---|---|---|
| FP16 (Base) | ~54 GB | ~60 GB | Baseline (100%) |
| 4-Bit MLX | ~15 GB | ~16 GB | High (~95% quality retention) |
| 3-Bit MLX (This Repo) | ~11 GB | ~12 GB | Moderate-High (Usable logic, fits 16GB Macs) |
| 2-Bit MLX | ~7.5 GB | ~8 GB | Low (Prone to output artifacts / garbage) |
mlx_vlm.convert on Apple Silicon:1# Convert base model to 3-bit MLX format
2python3 -m mlx_vlm.convert \
3 --hf-path Qwen/Qwen3.8-27B \
4 -q \
5 --q-bits 3 \
6 --mlx-path ~/models/Qwen3.8-27B-3bit-mlx
7
8# Push to Hugging Face Hub
9hf repo create Qwen3.8-27B-3bit-mlx --type model
10hf upload <YOUR_HF_USERNAME>/Qwen3.8-27B-3bit-mlx ~/models/Qwen3.8-27B-3bit-mlx .