Apple M2 Max meets the minimum VRAM requirement for Q4 inference of trl-internal-testing/tiny-random-LlamaForCausalLM. Review the quantization breakdown below to see how higher precision settings impact VRAM and throughput.
Apple M2 Max can run trl-internal-testing/tiny-random-LlamaForCausalLM with Q4 quantization. At approximately 51 tokens/second, you can expect Good speed - acceptable for interactive use.
You have 92GB headroom, which is sufficient for system overhead and smooth operation.
| Quantization | VRAM needed | VRAM available | Estimated speed | Verdict |
|---|---|---|---|---|
| Q4 | 4GB | 96GB | 50.91 tok/s | ✅ Fits comfortably |
| Q8 | 7GB | 96GB | 41.13 tok/s | ✅ Fits comfortably |
| FP16 | 15GB | 96GB | 19.99 tok/s | ✅ Fits comfortably |