Can't Quantize Muse-Glimmer-30B
I was able to quantize the following models on my M3Max 64GB with 58GB allocated to max GPU limit:
- Qwen3.8-27B-oQ8e-mtp (Original: 55.59 GB)
- Qwen3.6-35B-A3B-oQ8e-mtp (Original: 71.93 GB)
- gemma-4-31B-it-oQ8e (Original 62.58 GB)
Muse-Glimmer-30B (Original: 59.58 GB) is smaller than Qwen3.6-35B and gemma-4-31B. However, I get out of memory error when I try to quantize Muse-Glimmer-30B.
- OQ LEVEL: oQ8e
- Enhanced quantization: On
- Text Only: Off
I'm including the error below. I'd appreciate any suggestion.
Thanks!
2026-08-16 00:36:56,868 - omlx.admin.oq_manager - ERROR - oQ quantization failed: Muse-Glimmer-30B -> oQ8: auto-proxy sensitivity failed ([METAL] Command buffer execution failed: Insufficient Memory (00000008:kIOGPUCommandBufferCallbackErrorOutOfMemory).). Pass sensitivity_model_path with a pre-quantized version of this model, or run on a machine with enough RAM for full-fp16 sensitivity measurement.
Traceback (most recent call last):
File "/Volumes/Samples/ai/omlx/omlx/oq.py", line 5716, in quantize_oq_streaming
sensitivity_map = _measure_sensitivity_from_quantized_model(
str(_proxy_dir),
...<4 lines>...
trust_remote_code=trust_remote_code,
)
File "/Volumes/Samples/ai/omlx/omlx/oq.py", line 8340, in _measure_sensitivity_from_quantized_model
mx.synchronize()
~~~~~~~~~~~~~~^^
RuntimeError: [METAL] Command buffer execution failed: Insufficient Memory (00000008:kIOGPUCommandBufferCallbackErrorOutOfMemory).
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Volumes/Samples/ai/omlx/omlx/admin/oq_manager.py", line 611, in _run_quantization
await asyncio.to_thread(
...<19 lines>...
)
File "/Users/cgk/.pyenv/versions/3.13.14/lib/python3.13/asyncio/threads.py", line 26, in to_thread
return await loop.run_in_executor(None, func_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cgk/.pyenv/versions/3.13.14/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/Volumes/Samples/ai/omlx/omlx/oq.py", line 5725, in quantize_oq_streaming
raise RuntimeError(
...<4 lines>...
) from e
RuntimeError: oQ8: auto-proxy sensitivity failed ([METAL] Command buffer execution failed: Insufficient Memory (00000008:kIOGPUCommandBufferCallbackErrorOutOfMemory).). Pass sensitivity_model_path with a pre-quantized version of this model, or run on a machine with enough RAM for full-fp16 sensitivity measurement.