hletrd commited on
Commit
f942684
·
verified ·
1 Parent(s): 606b206

Short card: new hardware table, plain rows, shorter Updates

Browse files
Files changed (1) hide show
  1. README.md +12 -12
README.md CHANGED
@@ -44,7 +44,7 @@ Mean KL divergence from BF16 (lower is better) and top-1 agreement with BF16.
44
 
45
  | Quant | Size | WikiText-2 KL | top-1 | Chat KL | top-1 | Held-out KL | top-1 |
46
  |---|---:|---:|---:|---:|---:|---:|---:|
47
- | **MLX 8-bit** | **9.51 GB** | **0.001655** | **98.848%** | **0.004075** | **98.461%** | **0.000569** | **99.039%** |
48
 
49
  <picture>
50
  <source media="(prefers-color-scheme: dark)" srcset="https://huggingface.co/Xylolabs/clairic-flash-MLX-8bit/resolve/main/accuracy-kl-dark.png">
@@ -58,17 +58,17 @@ Mean KL divergence from BF16 (lower is better) and top-1 agreement with BF16.
58
 
59
  ## Which file for your hardware
60
 
61
- Macs only (MLX runs on Apple silicon; memory options as Apple lists them for the Mac Studio, M5 Max 36, 48, 64 and 128 GB, M5 Ultra 96, 256 and 512 GB, and the 14-inch MacBook Pro M5 Max, checked 2026-11-22). The GPU may use about 75% of unified memory by default. Fit rule: file + KV cache at the stated context + about 2 GB must fit in the GPU limit; sizes in GB (10^9 bytes); context is the longest that fits at the default limit, at least 32K. KV cache 33 KB per token (8 full-attention layers x 4 KV heads x 256 x 2 x 2 bytes; the other 24 layers keep a fixed 50 MB state).
62
-
63
- | Hardware | Memory | Recommended file | Context that fits | Notes |
64
- |---|---:|---|---|---|
65
- | Mac Studio M5 Max (also MacBook Pro 14-inch M5 Max, 32-core GPU) | 36 GB unified | `Xylolabs/clairic-flash-MLX-8bit` (8-bit, 9.53 GB) | 256K (model maximum) | Fits at the default GPU limit (75% of memory). |
66
- | Mac Studio M5 Max (also MacBook Pro 14-inch M5 Max, 40-core GPU) | 48 GB unified | `Xylolabs/clairic-flash-MLX-8bit` (8-bit, 9.53 GB) | 256K (model maximum) | Fits at the default GPU limit (75% of memory). |
67
- | Mac Studio M5 Max (also MacBook Pro 14-inch M5 Max, 40-core GPU) | 64 GB unified | `Xylolabs/clairic-flash-MLX-8bit` (8-bit, 9.53 GB) | 256K (model maximum) | Fits at the default GPU limit (75% of memory). |
68
- | Mac Studio M5 Ultra | 96 GB unified | `Xylolabs/clairic-flash-MLX-8bit` (8-bit, 9.53 GB) | 256K (model maximum) | Fits at the default GPU limit (75% of memory). |
69
- | Mac Studio M5 Max, 40-core GPU (also MacBook Pro 14-inch) | 128 GB unified | `Xylolabs/clairic-flash-MLX-8bit` (8-bit, 9.53 GB) | 256K (model maximum) | Fits at the default GPU limit (75% of memory). |
70
- | Mac Studio M5 Ultra | 256 GB unified | `Xylolabs/clairic-flash-MLX-8bit` (8-bit, 9.53 GB) | 256K (model maximum) | Fits at the default GPU limit (75% of memory). |
71
- | Mac Studio M5 Ultra, 80-core GPU | 512 GB unified | `Xylolabs/clairic-flash-MLX-8bit` (8-bit, 9.53 GB) | 256K (model maximum) | Fits at the default GPU limit (75% of memory). |
72
 
73
  ## License and notices
74
 
 
44
 
45
  | Quant | Size | WikiText-2 KL | top-1 | Chat KL | top-1 | Held-out KL | top-1 |
46
  |---|---:|---:|---:|---:|---:|---:|---:|
47
+ | MLX 8-bit | 9.51 GB | 0.001655 | 98.848% | 0.004075 | 98.461% | 0.000569 | 99.039% |
48
 
49
  <picture>
50
  <source media="(prefers-color-scheme: dark)" srcset="https://huggingface.co/Xylolabs/clairic-flash-MLX-8bit/resolve/main/accuracy-kl-dark.png">
 
58
 
59
  ## Which file for your hardware
60
 
61
+ 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.
62
+
63
+ | Hardware | Memory | File | Context |
64
+ |---|---|---|---:|
65
+ | Mac Studio M5 Max, 32-core GPU | 36 GB unified | `Xylolabs/clairic-flash-MLX-8bit` (8-bit, 9.5 GB) | 256K |
66
+ | Mac Studio M5 Max, 40-core GPU | 48 GB unified | `Xylolabs/clairic-flash-MLX-8bit` (8-bit, 9.5 GB) | 256K |
67
+ | Mac Studio M5 Max, 40-core GPU | 64 GB unified | `Xylolabs/clairic-flash-MLX-8bit` (8-bit, 9.5 GB) | 256K |
68
+ | Mac Studio M5 Ultra | 96 GB unified | `Xylolabs/clairic-flash-MLX-8bit` (8-bit, 9.5 GB) | 256K |
69
+ | Mac Studio M5 Max, 40-core GPU | 128 GB unified | `Xylolabs/clairic-flash-MLX-8bit` (8-bit, 9.5 GB) | 256K |
70
+ | Mac Studio M5 Ultra | 256 GB unified | `Xylolabs/clairic-flash-MLX-8bit` (8-bit, 9.5 GB) | 256K |
71
+ | Mac Studio M5 Ultra, 80-core GPU | 512 GB unified | `Xylolabs/clairic-flash-MLX-8bit` (8-bit, 9.5 GB) | 256K |
72
 
73
  ## License and notices
74