Apple M4 Pro meets the minimum VRAM requirement for Q4 inference of codellama/CodeLlama-34b-hf. Review the quantization breakdown below to see how higher precision settings impact VRAM and throughput.
Apple M4 Pro can run codellama/CodeLlama-34b-hf with Q4 quantization. At approximately 13 tokens/second, you can expect Basic speed - best for non-interactive tasks.
You have 47GB headroom, which is sufficient for system overhead and smooth operation.
| Quantization | VRAM needed | VRAM available | Estimated speed | Verdict |
|---|---|---|---|---|
| Q4 | 17GB | 64GB | 12.77 tok/s | ✅ Fits comfortably |
| Q8 | 35GB | 64GB | 8.84 tok/s | ✅ Fits comfortably |
| FP16 | 70GB | 64GB | 4.78 tok/s | ❌ Not recommended |