Instructions to use infosave/humanizer-cmf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- cortiq
How to use infosave/humanizer-cmf with cortiq:
# one Rust binary, no additional dependencies cargo install cortiq-cli # or a prebuilt binary from github.com/infosave2007/cmf/releases hf download infosave/humanizer-cmf --include "*.cmf" --local-dir . ls *.cmf # some repos ship more than one quantization
cortiq run FILE.cmf --prompt "What is the capital of France?"
cortiq serve FILE.cmf --port 8080 # OpenAI-compatible server
- Notebooks
- Google Colab
- Kaggle
Metal numbers with the Gemma-4 graph (cortiq 0.8.16)
Browse files
README.md
CHANGED
|
@@ -48,7 +48,7 @@ cortiq run humanizer-12b-q8_2f.cmf --max-tokens 2048 --prompt "$(cat draft.txt)"
|
|
| 48 |
```
|
| 49 |
|
| 50 |
`humanizer-12b-q8_2f.cmf` (11.97 GB) is the default: 31.7 tokens/s on an RTX
|
| 51 |
-
PRO 4000 and
|
| 52 |
(7.89 GB) fits GPUs with 12 GB and decodes 41.6 tokens/s on the RTX PRO 4000,
|
| 53 |
at slightly lower quality ([Files](#files)).
|
| 54 |
|
|
@@ -85,8 +85,8 @@ on Apple silicon and on the CPU both files ran on a 24 GB Mac mini.
|
|
| 85 |
|---|---|---|---:|---:|---:|---:|
|
| 86 |
| RTX PRO 4000 Blackwell (24 GB) | Vulkan | `q4tp-ffn` | 41.6 | 36.3 | 137 | 6.9 s |
|
| 87 |
| RTX PRO 4000 Blackwell (24 GB) | Vulkan | `q8_2f` | 31.7 | 28.3 | 90.2 | 10.8 s |
|
| 88 |
-
| Mac mini M4 (24 GB) | Metal | `q8_2f` |
|
| 89 |
-
| Mac mini M4 (24 GB) | Metal | `q4tp-ffn` |
|
| 90 |
| Mac mini M4 (24 GB) | CPU | `q8_2f` | 4.7 | | | |
|
| 91 |
| Mac mini M4 (24 GB) | CPU | `q4tp-ffn` | 4.6 | | | |
|
| 92 |
|
|
@@ -97,8 +97,6 @@ rewrites through `cortiq serve`:
|
|
| 97 |
|---|---|---:|---:|---:|---:|
|
| 98 |
| RTX PRO 4000 Blackwell | `q4tp-ffn` | 7.5 s | 901 tokens in 37.1 s | 30.1 tok/s | 10.6 s |
|
| 99 |
| RTX PRO 4000 Blackwell | `q8_2f` | 11.2 s | 932 tokens in 48.9 s | 24.7 tok/s | 14.8 s |
|
| 100 |
-
| Mac mini M4, Metal | `q8_2f` | 26.1 s | | | 61.5 s (226 tokens out) |
|
| 101 |
-
| Mac mini M4, Metal | `q4tp-ffn` | 27.8 s | | | 79.9 s (256 tokens out) |
|
| 102 |
|
| 103 |
RTX rows use the authors' sampling (medians of three); Mac rows are greedy.
|
| 104 |
`cortiq run` loads the weights onto the GPU at every start (about 13 s on the
|
|
@@ -316,7 +314,7 @@ cortiq run humanizer-12b-q8_2f.cmf --max-tokens 2048 --prompt "$(cat draft.txt)"
|
|
| 316 |
```
|
| 317 |
|
| 318 |
`humanizer-12b-q8_2f.cmf` (11.97 ГБ) — файл по умолчанию: 31.7 ток/с на RTX
|
| 319 |
-
PRO 4000 и
|
| 320 |
помещается в GPU с 12 ГБ и выдаёт 41.6 ток/с на RTX PRO 4000 при чуть меньшем
|
| 321 |
качестве ([Файлы](#файлы)).
|
| 322 |
|
|
@@ -353,8 +351,8 @@ silicon и на CPU оба файла работали на Mac mini с 24 ГБ.
|
|
| 353 |
|---|---|---|---:|---:|---:|---:|
|
| 354 |
| RTX PRO 4000 Blackwell (24 ГБ) | Vulkan | `q4tp-ffn` | 41.6 | 36.3 | 137 | 6.9 с |
|
| 355 |
| RTX PRO 4000 Blackwell (24 ГБ) | Vulkan | `q8_2f` | 31.7 | 28.3 | 90.2 | 10.8 с |
|
| 356 |
-
| Mac mini M4 (24 ГБ) | Metal | `q8_2f` |
|
| 357 |
-
| Mac mini M4 (24 ГБ) | Metal | `q4tp-ffn` |
|
| 358 |
| Mac mini M4 (24 ГБ) | CPU | `q8_2f` | 4.7 | | | |
|
| 359 |
| Mac mini M4 (24 ГБ) | CPU | `q4tp-ffn` | 4.6 | | | |
|
| 360 |
|
|
@@ -365,8 +363,6 @@ silicon и на CPU оба файла работали на Mac mini с 24 ГБ.
|
|
| 365 |
|---|---|---:|---:|---:|---:|
|
| 366 |
| RTX PRO 4000 Blackwell | `q4tp-ffn` | 7.5 с | 901 токен за 37.1 с | 30.1 ток/с | 10.6 с |
|
| 367 |
| RTX PRO 4000 Blackwell | `q8_2f` | 11.2 с | 932 токена за 48.9 с | 24.7 ток/с | 14.8 с |
|
| 368 |
-
| Mac mini M4, Metal | `q8_2f` | 26.1 с | | | 61.5 с (226 токенов на выходе) |
|
| 369 |
-
| Mac mini M4, Metal | `q4tp-ffn` | 27.8 с | | | 79.9 с (256 токенов на выходе) |
|
| 370 |
|
| 371 |
Строки RTX — с сэмплингом авторов (медианы трёх), строки Mac — жадные.
|
| 372 |
`cortiq run` при каждом запуске загружает веса в GPU (около 13 с на RTX PRO
|
|
@@ -491,7 +487,7 @@ cortiq run humanizer-12b-q8_2f.cmf --max-tokens 2048 --prompt "$(cat draft.txt)"
|
|
| 491 |
```
|
| 492 |
|
| 493 |
默认文件为 `humanizer-12b-q8_2f.cmf`(11.97 GB):RTX PRO 4000 上 31.7 tok/s,M4 Mac mini
|
| 494 |
-
上
|
| 495 |
|
| 496 |
需要 cortiq 0.8.16 或更新版本;Linux、macOS、Windows 预编译二进制见
|
| 497 |
[发布页面](https://github.com/infosave2007/cmf/releases)。直接传入草稿即可:文件会自动套上作者的提示词,并使用作者的采样设置。请把 `--max-tokens` 设得足够大(默认 256):改写长度与草稿相当(我们测试中 957 token 的草稿改写为 932 token)。
|
|
@@ -517,8 +513,8 @@ Mac mini 上运行。
|
|
| 517 |
|---|---|---|---:|---:|---:|---:|
|
| 518 |
| RTX PRO 4000 Blackwell(24 GB) | Vulkan | `q4tp-ffn` | 41.6 | 36.3 | 137 | 6.9 s |
|
| 519 |
| RTX PRO 4000 Blackwell(24 GB) | Vulkan | `q8_2f` | 31.7 | 28.3 | 90.2 | 10.8 s |
|
| 520 |
-
| Mac mini M4(24 GB) | Metal | `q8_2f` |
|
| 521 |
-
| Mac mini M4(24 GB) | Metal | `q4tp-ffn` |
|
| 522 |
| Mac mini M4(24 GB) | CPU | `q8_2f` | 4.7 | | | |
|
| 523 |
| Mac mini M4(24 GB) | CPU | `q4tp-ffn` | 4.6 | | | |
|
| 524 |
|
|
@@ -528,8 +524,6 @@ Mac mini 上运行。
|
|
| 528 |
|---|---|---:|---:|---:|---:|
|
| 529 |
| RTX PRO 4000 Blackwell | `q4tp-ffn` | 7.5 s | 901 token,37.1 s | 30.1 tok/s | 10.6 s |
|
| 530 |
| RTX PRO 4000 Blackwell | `q8_2f` | 11.2 s | 932 token,48.9 s | 24.7 tok/s | 14.8 s |
|
| 531 |
-
| Mac mini M4,Metal | `q8_2f` | 26.1 s | | | 61.5 s(输出 226 token) |
|
| 532 |
-
| Mac mini M4,Metal | `q4tp-ffn` | 27.8 s | | | 79.9 s(输出 256 token) |
|
| 533 |
|
| 534 |
RTX 各行使用作者的采样设置(三次中位数),Mac 各行为贪心解码。`cortiq run` 每次启动都要把权重载入 GPU(RTX PRO 4000 上约 13 s),处理多篇草稿时请保持 `cortiq serve` 运行。
|
| 535 |
Apple silicon 上请用 `q8_2f`:4 位文件在那里并不更快,读取提示词还更慢。
|
|
|
|
| 48 |
```
|
| 49 |
|
| 50 |
`humanizer-12b-q8_2f.cmf` (11.97 GB) is the default: 31.7 tokens/s on an RTX
|
| 51 |
+
PRO 4000 and 6.6 on an M4 Mac mini (Metal). `humanizer-12b-q4tp-ffn.cmf`
|
| 52 |
(7.89 GB) fits GPUs with 12 GB and decodes 41.6 tokens/s on the RTX PRO 4000,
|
| 53 |
at slightly lower quality ([Files](#files)).
|
| 54 |
|
|
|
|
| 85 |
|---|---|---|---:|---:|---:|---:|
|
| 86 |
| RTX PRO 4000 Blackwell (24 GB) | Vulkan | `q4tp-ffn` | 41.6 | 36.3 | 137 | 6.9 s |
|
| 87 |
| RTX PRO 4000 Blackwell (24 GB) | Vulkan | `q8_2f` | 31.7 | 28.3 | 90.2 | 10.8 s |
|
| 88 |
+
| Mac mini M4 (24 GB) | Metal | `q8_2f` | 6.6 | 6.0 | 68 | 14.7 s |
|
| 89 |
+
| Mac mini M4 (24 GB) | Metal | `q4tp-ffn` | 8.5 | 8.3 | 72 | 14.0 s |
|
| 90 |
| Mac mini M4 (24 GB) | CPU | `q8_2f` | 4.7 | | | |
|
| 91 |
| Mac mini M4 (24 GB) | CPU | `q4tp-ffn` | 4.6 | | | |
|
| 92 |
|
|
|
|
| 97 |
|---|---|---:|---:|---:|---:|
|
| 98 |
| RTX PRO 4000 Blackwell | `q4tp-ffn` | 7.5 s | 901 tokens in 37.1 s | 30.1 tok/s | 10.6 s |
|
| 99 |
| RTX PRO 4000 Blackwell | `q8_2f` | 11.2 s | 932 tokens in 48.9 s | 24.7 tok/s | 14.8 s |
|
|
|
|
|
|
|
| 100 |
|
| 101 |
RTX rows use the authors' sampling (medians of three); Mac rows are greedy.
|
| 102 |
`cortiq run` loads the weights onto the GPU at every start (about 13 s on the
|
|
|
|
| 314 |
```
|
| 315 |
|
| 316 |
`humanizer-12b-q8_2f.cmf` (11.97 ГБ) — файл по умолчанию: 31.7 ток/с на RTX
|
| 317 |
+
PRO 4000 и 6.6 на Mac mini M4 (Metal). `humanizer-12b-q4tp-ffn.cmf` (7.89 ГБ)
|
| 318 |
помещается в GPU с 12 ГБ и выдаёт 41.6 ток/с на RTX PRO 4000 при чуть меньшем
|
| 319 |
качестве ([Файлы](#файлы)).
|
| 320 |
|
|
|
|
| 351 |
|---|---|---|---:|---:|---:|---:|
|
| 352 |
| RTX PRO 4000 Blackwell (24 ГБ) | Vulkan | `q4tp-ffn` | 41.6 | 36.3 | 137 | 6.9 с |
|
| 353 |
| RTX PRO 4000 Blackwell (24 ГБ) | Vulkan | `q8_2f` | 31.7 | 28.3 | 90.2 | 10.8 с |
|
| 354 |
+
| Mac mini M4 (24 ГБ) | Metal | `q8_2f` | 6.6 | 6.0 | 68 | 14.7 с |
|
| 355 |
+
| Mac mini M4 (24 ГБ) | Metal | `q4tp-ffn` | 8.5 | 8.3 | 72 | 14.0 с |
|
| 356 |
| Mac mini M4 (24 ГБ) | CPU | `q8_2f` | 4.7 | | | |
|
| 357 |
| Mac mini M4 (24 ГБ) | CPU | `q4tp-ffn` | 4.6 | | | |
|
| 358 |
|
|
|
|
| 363 |
|---|---|---:|---:|---:|---:|
|
| 364 |
| RTX PRO 4000 Blackwell | `q4tp-ffn` | 7.5 с | 901 токен за 37.1 с | 30.1 ток/с | 10.6 с |
|
| 365 |
| RTX PRO 4000 Blackwell | `q8_2f` | 11.2 с | 932 токена за 48.9 с | 24.7 ток/с | 14.8 с |
|
|
|
|
|
|
|
| 366 |
|
| 367 |
Строки RTX — с сэмплингом авторов (медианы трёх), строки Mac — жадные.
|
| 368 |
`cortiq run` при каждом запуске загружает веса в GPU (около 13 с на RTX PRO
|
|
|
|
| 487 |
```
|
| 488 |
|
| 489 |
默认文件为 `humanizer-12b-q8_2f.cmf`(11.97 GB):RTX PRO 4000 上 31.7 tok/s,M4 Mac mini
|
| 490 |
+
上 6.6 tok/s(Metal)。`humanizer-12b-q4tp-ffn.cmf`(7.89 GB)可放入 12 GB 显存,在 RTX PRO 4000 上达到 41.6 tok/s,质量略低(见[文件](#文件))。
|
| 491 |
|
| 492 |
需要 cortiq 0.8.16 或更新版本;Linux、macOS、Windows 预编译二进制见
|
| 493 |
[发布页面](https://github.com/infosave2007/cmf/releases)。直接传入草稿即可:文件会自动套上作者的提示词,并使用作者的采样设置。请把 `--max-tokens` 设得足够大(默认 256):改写长度与草稿相当(我们测试中 957 token 的草稿改写为 932 token)。
|
|
|
|
| 513 |
|---|---|---|---:|---:|---:|---:|
|
| 514 |
| RTX PRO 4000 Blackwell(24 GB) | Vulkan | `q4tp-ffn` | 41.6 | 36.3 | 137 | 6.9 s |
|
| 515 |
| RTX PRO 4000 Blackwell(24 GB) | Vulkan | `q8_2f` | 31.7 | 28.3 | 90.2 | 10.8 s |
|
| 516 |
+
| Mac mini M4(24 GB) | Metal | `q8_2f` | 6.6 | 6.0 | 68 | 14.7 s |
|
| 517 |
+
| Mac mini M4(24 GB) | Metal | `q4tp-ffn` | 8.5 | 8.3 | 72 | 14.0 s |
|
| 518 |
| Mac mini M4(24 GB) | CPU | `q8_2f` | 4.7 | | | |
|
| 519 |
| Mac mini M4(24 GB) | CPU | `q4tp-ffn` | 4.6 | | | |
|
| 520 |
|
|
|
|
| 524 |
|---|---|---:|---:|---:|---:|
|
| 525 |
| RTX PRO 4000 Blackwell | `q4tp-ffn` | 7.5 s | 901 token,37.1 s | 30.1 tok/s | 10.6 s |
|
| 526 |
| RTX PRO 4000 Blackwell | `q8_2f` | 11.2 s | 932 token,48.9 s | 24.7 tok/s | 14.8 s |
|
|
|
|
|
|
|
| 527 |
|
| 528 |
RTX 各行使用作者的采样设置(三次中位数),Mac 各行为贪心解码。`cortiq run` 每次启动都要把权重载入 GPU(RTX PRO 4000 上约 13 s),处理多篇草稿时请保持 `cortiq serve` 运行。
|
| 529 |
Apple silicon 上请用 `q8_2f`:4 位文件在那里并不更快,读取提示词还更慢。
|