Running Gemma 4 to the Limit Locally (31b q8) on M1 Max 64GB* Tested Google DeepMind's Gemma 4 on M1 Max 64GB MacBook Pro* Successfully ran 31b-it-q8_0 by adjusting macOS VRAM limits and context window* KV cache memory consumption is critical for large model deployment小渕ヒューゴ2026.04.06llmailocaldevelopmentmacosoptimizationinferencegeminimemorymanagemntgpu