--- 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](https://img.shields.io/badge/base-Cloudflare%2Fclairic--flash-blue)](https://huggingface.co/Cloudflare/clairic-flash) [![Format](https://img.shields.io/badge/format-MLX%208--bit-5B2C83)](#accuracy) [![License](https://img.shields.io/badge/license-Apache--2.0-green)](https://huggingface.co/Xylolabs/clairic-flash-MLX-8bit/blob/main/LICENSE) [![Code](https://img.shields.io/badge/code-mlx--lm%200.32.2-black)](https://github.com/ml-explore/mlx-lm)
The language model of [Cloudflare/clairic-flash](https://huggingface.co/Cloudflare/clairic-flash) (9B, Qwen3.5 architecture) converted to 8-bit [MLX](https://github.com/ml-explore/mlx) for `mlx-lm`; the vision tower and the scoring head of the original are not included. ## How to run ```sh 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.