inferencerlabs commited on
Commit
eb2d0f0
·
verified ·
1 Parent(s): a72975c

Upload complete model

Browse files
Files changed (1) hide show
  1. README.md +36 -5
README.md CHANGED
@@ -1,5 +1,36 @@
1
- ---
2
- license: other
3
- license_name: modified-mit
4
- license_link: https://github.com/moonshotai/Kimi-K2/blob/main/LICENSE
5
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: modified-mit
4
+ library_name: mlx
5
+ base_model: moonshotai/Kimi-K2-Instruct
6
+ pipeline_tag: text-generation
7
+ tags:
8
+ - mlx
9
+ ---
10
+ <div>
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
+ <h1 style="margin-top: 0rem;">Kimi K2 Usage Notes</h1>
30
+ - Built with a modified version of MLX 0.26
31
+ - Runs on a single M3 Ultra 512GB RAM
32
+ - Requires expanding VRAM limit to at least ~500000 MB (I use 507000 for a larger context window)
33
+ <em>sudo sysctl iogpu.wired_limit_mb=507000</em>
34
+ - Expect ~20 tokens/s
35
+ - For more details see <a href="https://youtu.be/-zfUvA2CDqE">demonstration video</> or visit <a href="https://moonshotai.github.io/Kimi-K2/">Kimi K2</a>.
36
+ ---