Update README.md
Browse files
README.md
CHANGED
|
@@ -14,7 +14,7 @@ This model [mlx-community/LongCat-Flash-Chat-mlx-DQ6_K_M](https://huggingface.co
|
|
| 14 |
converted to MLX format from [meituan-longcat/LongCat-Flash-Chat](https://huggingface.co/meituan-longcat/LongCat-Flash-Chat)
|
| 15 |
using mlx-lm version **0.28.1**.
|
| 16 |
|
| 17 |
-
This is created for people using a single Apple Mac Studio M3 Ultra with 512 GB. The
|
| 18 |
|
| 19 |
```bash
|
| 20 |
pip install mlx-lm
|
|
@@ -24,7 +24,7 @@ mlx_lm.generate --model mlx-community/LongCat-Flash-Chat-mlx-DQ6_K_M --temp 0.7
|
|
| 24 |
|
| 25 |
---
|
| 26 |
|
| 27 |
-
## What is the
|
| 28 |
|
| 29 |
In the Arxiv paper [Quantitative Analysis of Performance Drop in DeepSeek Model Quantization](https://arxiv.org/abs/2505.02390) the authors write,
|
| 30 |
|
|
@@ -38,7 +38,7 @@ The resulting multi-bitwidth quantization has been well tested and documented.
|
|
| 38 |
|
| 39 |
---
|
| 40 |
|
| 41 |
-
## How can you create your own
|
| 42 |
|
| 43 |
In the `convert.py` file of mlx-lm on your system ( [you can see the original code here](https://github.com/ml-explore/mlx-lm/blob/main/mlx_lm/convert.py) ), replace the code inside `def mixed_quant_predicate()` with something like
|
| 44 |
|
|
|
|
| 14 |
converted to MLX format from [meituan-longcat/LongCat-Flash-Chat](https://huggingface.co/meituan-longcat/LongCat-Flash-Chat)
|
| 15 |
using mlx-lm version **0.28.1**.
|
| 16 |
|
| 17 |
+
This is created for people using a single Apple Mac Studio M3 Ultra with 512 GB. The 8-bit version of Ring 1T does not fit. Using research results, we aim to get almost-8bit performance from a slightly smaller and smarter quantization. It should also not be so large that it leaves no memory for a useful context window.
|
| 18 |
|
| 19 |
```bash
|
| 20 |
pip install mlx-lm
|
|
|
|
| 24 |
|
| 25 |
---
|
| 26 |
|
| 27 |
+
## What is the DQ6_K_M quant about? It comes from a paper on DQ3_K_M
|
| 28 |
|
| 29 |
In the Arxiv paper [Quantitative Analysis of Performance Drop in DeepSeek Model Quantization](https://arxiv.org/abs/2505.02390) the authors write,
|
| 30 |
|
|
|
|
| 38 |
|
| 39 |
---
|
| 40 |
|
| 41 |
+
## How can you create your own DQ6_K_M quants?
|
| 42 |
|
| 43 |
In the `convert.py` file of mlx-lm on your system ( [you can see the original code here](https://github.com/ml-explore/mlx-lm/blob/main/mlx_lm/convert.py) ), replace the code inside `def mixed_quant_predicate()` with something like
|
| 44 |
|