hletrd's picture
docs(card): ๐Ÿ“ cut disclaimers and the copied upstream description
d92cac3 verified
|
Raw History Blame Contribute Delete
3.76 kB
metadata
license: apache-2.0
license_link: LICENSE
base_model:
  - Cloudflare/clairic-flash
base_model_relation: quantized
library_name: mlx
pipeline_tag: text-generation
tags:
  - mlx
  - quantized
  - clairic
  - qwen3_5
Xylolabs

Clairic Flash MLX 8-bit

Base model Format License Code

The language model of Cloudflare/clairic-flash (9B, Qwen3.5 architecture) converted to 8-bit MLX for mlx-lm; the vision tower and the scoring head of the original are not included.

How to run

pip install mlx-lm==0.32.2

mlx_lm.generate --model Xylolabs/clairic-flash-MLX-8bit --prompt 'Summarize the invoice: Northwind Supply, 2026-09-02, pens and paper, total $1080.00.'
mlx_lm.chat     --model Xylolabs/clairic-flash-MLX-8bit

Accuracy

Against BF16.

Quant Size WikiText-2 KL top-1 Chat KL top-1 Held-out KL top-1
MLX 8-bit 9.51 GB 0.001655 98.848% 0.004075 98.461% 0.000569 99.039%
Mean KL divergence by file size Top-1 agreement by file size

Which file for your hardware

A file fits when its size plus the KV cache at that context (f16) plus 2 GB for the runtime is under 75% of the memory, the default macOS GPU limit.

Hardware Memory File Context
Mac Studio M5 Max, 32-core GPU 36 GB unified Xylolabs/clairic-flash-MLX-8bit (8-bit, 9.5 GB) 256K
Mac Studio M5 Max, 40-core GPU 48 GB unified Xylolabs/clairic-flash-MLX-8bit (8-bit, 9.5 GB) 256K
Mac Studio M5 Max, 40-core GPU 64 GB unified Xylolabs/clairic-flash-MLX-8bit (8-bit, 9.5 GB) 256K
Mac Studio M5 Ultra 96 GB unified Xylolabs/clairic-flash-MLX-8bit (8-bit, 9.5 GB) 256K
Mac Studio M5 Max, 40-core GPU 128 GB unified Xylolabs/clairic-flash-MLX-8bit (8-bit, 9.5 GB) 256K
Mac Studio M5 Ultra 256 GB unified Xylolabs/clairic-flash-MLX-8bit (8-bit, 9.5 GB) 256K
Mac Studio M5 Ultra, 80-core GPU 512 GB unified Xylolabs/clairic-flash-MLX-8bit (8-bit, 9.5 GB) 256K

License and notices

Apache License 2.0, copied in LICENSE. We quantized the language-model weights to MLX 8-bit; the vision tower, scoring head and Python runtime are left out.

Updates

  • 2026-11-22: Added a hardware recommendation table.
  • 2026-11-22: First release.