Upload complete model
Browse files
README.md
CHANGED
|
@@ -7,30 +7,24 @@ pipeline_tag: text-generation
|
|
| 7 |
tags:
|
| 8 |
- mlx
|
| 9 |
---
|
| 10 |
-
|
| 11 |
-
<p style="margin-bottom: 0; margin-top: 0;">
|
| 12 |
-
<strong>See Kimi-K2 Dynamic MLX in action - <a href="https://youtu.be/-zfUvA2CDqE">https://youtu.be/-zfUvA2CDqE</a></strong>
|
| 13 |
-
</p>
|
| 14 |
-
<p style="margin-top: 0;margin-bottom: 0;">
|
| 15 |
-
<em>q3.95bit dynamic quant achieves 1.243 perplexity in our testing, slotting closer to q4 perplexity (1.168) than q3 perplexity (1.900).</em>
|
| 16 |
-
<div align="center">
|
| 17 |
-
| | |
|
| 18 |
-
|:---:|:---:|
|
| 19 |
-
| **q2** | perplexity: 41.293 |
|
| 20 |
-
| **q3** | perplexity: 1.900 |
|
| 21 |
-
| **q3.95** | perplexity: 1.243 |
|
| 22 |
-
| **q4** | perplexity: 1.168 |
|
| 23 |
-
| **q6** | perplexity: 1.128 |
|
| 24 |
-
| **q8** | perplexity: 1.128 |
|
| 25 |
-
</div>
|
| 26 |
-
</p>
|
| 27 |
-
</div>
|
| 28 |
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
tags:
|
| 8 |
- mlx
|
| 9 |
---
|
| 10 |
+
**See Kimi-K2 Dynamic MLX in action - [https://youtu.be/-zfUvA2CDqE](https://youtu.be/-zfUvA2CDqE)**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
+
*q3.95bit dynamic quant achieves 1.243 perplexity in our testing, slotting closer to q4 perplexity (1.168) than q3 perplexity (1.900).*
|
| 13 |
+
|
| 14 |
+
| Quantization | Perplexity |
|
| 15 |
+
|:------------:|:----------:|
|
| 16 |
+
| **q2** | 41.293 |
|
| 17 |
+
| **q3** | 1.900 |
|
| 18 |
+
| **q3.95** | 1.243 |
|
| 19 |
+
| **q4** | 1.168 |
|
| 20 |
+
| **q6** | 1.128 |
|
| 21 |
+
| **q8** | 1.128 |
|
| 22 |
+
|
| 23 |
+
## Kimi K2 Usage Notes
|
| 24 |
+
|
| 25 |
+
* Built with a modified version of MLX 0.26
|
| 26 |
+
* Runs on a single M3 Ultra 512GB RAM
|
| 27 |
+
* Requires expanding VRAM limit to at least ~500000 MB (507000 used below for a larger context window)
|
| 28 |
+
* `sudo sysctl iogpu.wired_limit_mb=507000`
|
| 29 |
+
* Expect ~20 tokens/s
|
| 30 |
+
* For more details see [demonstration video](https://youtu.be/-zfUvA2CDqE) or visit [Kimi K2](https://moonshotai.github.io/Kimi-K2/).
|