Views
No views yet

Quantized for local Mac inference (Apple Silicon / Metal) by worthdoing
llama.cpp, Ollama, or LM Studio.| File | Quant | BPW | Size | Use Case |
|---|---|---|---|---|
phi-4-mini-Q4_K_M-worthdoing.gguf | Q4_K_M | 4.58 | ~2.0 GB | Recommended - Best quality/size ratio |
phi-4-mini-Q5_K_M-worthdoing.gguf | Q5_K_M | 5.33 | ~2.4 GB | Higher quality, still fast |
phi-4-mini-Q8_0-worthdoing.gguf | Q8_0 | 7.96 | ~3.5 GB | Near-original quality |
1# Create a Modelfile
2cat > Modelfile <<'MODELEOF'
3FROM ./phi-4-mini-Q4_K_M-worthdoing.gguf
4MODELEOF
5
6ollama create phi-4-mini -f Modelfile
7ollama run phi-4-minillama-cli -m phi-4-mini-Q4_K_M-worthdoing.gguf -p "Your prompt here" -ngl 99.safetensors).bin, .pt) are excluded to ensure clean, verified weightsconvert_hf_to_gguf.py from llama.cppllama-quantize with k-quant methods| Method | Bits per Weight | Strategy |
|---|---|---|
| Q4_K_M | ~4.58 bpw | Mixed 4/5-bit. Attention & output layers use Q5_K, FFN layers use Q4_K. Best balance of quality and size. |
| Q5_K_M | ~5.33 bpw | Mixed 5/6-bit. Attention & output layers use Q6_K, FFN layers use Q5_K. Higher quality with moderate size increase. |
| Q8_0 | ~7.96 bpw | Uniform 8-bit. All layers quantized to 8-bit. Near-lossless quality, largest file size. |
general.quantized_by: worthdoinggeneral.quantization_version: corelm-1.0llama.cpp, Ollama, LM Studio, koboldcpp, and any GGUF-compatible runtime| Quant | Min RAM | Recommended |
|---|---|---|
| Q4_K_M | 4 GB | Mac with 8 GB+ RAM |
| Q5_K_M | 4 GB | Mac with 8 GB+ RAM |
| Q8_0 | 4 GB | Mac with 8 GB+ RAM |
general, reasoning, coding, math