Views
No views yet
mlx_lm.dynamic_quant. The model size is about the maximum my M1 Max 32 GB laptop can handle before performance throttling. During the run, the laptop had to turn off the screen because there were insufficient resources to allocate to the WindowServer process, but after a while it managed to finish and produce the sensitivities.json file required for the quantization. While it might be possible to push the limits further by trying a 1B parameter model, essentially no other apps can run simultaneously.export OMP_NUM_THREADS=2 This is a Open Multi-Processing environment variable that sets the default number of threads used for parallel regions. You will likely need to install libomp for this variable to work. If you have homebrew installed you can use brew install libompexport MKL_NUM_THREADS=2 This sets Intel MKL thread count. If you have an Intel device you can use this. This may work on apple silicon, but it is often ignored due to compatibility issues.