mlx conversion possible?

#1
by adampotocki - opened

Could you provide MLX 8bit quant and MLX BF16 for this model?

Just download all files, instal mlx-lm ( pip install mlx-lm) and then:

  1. BF16
python -m mlx_lm.convert \
    --hf-path /path/to/safetensors_folder \
    --mlx-path /path/to/output_mlx_bf16
  1. 8-bit
python -m mlx_lm.convert \
    --hf-path /path/to/safetensors_folder \
    -q 8 \
    --mlx-path /path/to/output_mlx_8bit

Sign up or log in to comment