quantprobe 1.28.1__tar.gz → 1.29.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {quantprobe-1.28.1/quantprobe.egg-info → quantprobe-1.29.0}/PKG-INFO +8 -6
- {quantprobe-1.28.1 → quantprobe-1.29.0}/README.md +7 -5
- {quantprobe-1.28.1 → quantprobe-1.29.0}/pyproject.toml +1 -1
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/__init__.py +1 -1
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/detect.py +544 -474
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/probe.py +418 -413
- quantprobe-1.29.0/quantprobe/recipes/qwen3.6-35b.json +59 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/recipes.py +47 -5
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/runtime.py +13 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0/quantprobe.egg-info}/PKG-INFO +8 -6
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe.egg-info/SOURCES.txt +1 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/LICENSE +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/__main__.py +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/auto.py +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/branding.py +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/calibrate.py +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/cli.py +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/dashboard.py +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/fetch.py +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/ollama.py +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/optimize.py +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/plan.py +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/recipes/mistral-7b.json +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/recipes/qwen2.5-7b.json +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/recipes/qwen3-30b.json +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/recipes/qwen3.5-35b.json +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/recipes/qwen3.8-27b.json +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/report.py +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/spec.py +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe/target.py +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe.egg-info/dependency_links.txt +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe.egg-info/entry_points.txt +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe.egg-info/requires.txt +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/quantprobe.egg-info/top_level.txt +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/setup.cfg +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/tests/test_engine.py +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/tests/test_evaluator.py +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/tests/test_pipeline.py +0 -0
- {quantprobe-1.28.1 → quantprobe-1.29.0}/tests/test_transforms.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quantprobe
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.29.0
|
|
4
4
|
Summary: Probe-then-quantize for LLMs: measure a model's fragility curve, plan bit/tier placement by the tiered decode law, and emit ready-to-run llama.cpp recipes.
|
|
5
5
|
Author: Federico Sciuca
|
|
6
6
|
License: MIT
|
|
@@ -206,12 +206,13 @@ Copyability is the whole mechanism: code answers repeat their input, prose inven
|
|
|
206
206
|
|
|
207
207
|
| result | number |
|
|
208
208
|
|---|---|
|
|
209
|
-
| Qwen3-30B-A3B on a 2016 desktop | **20.
|
|
209
|
+
| Qwen3-30B-A3B on a 2016 desktop | **median 20.8 tok/s**, 17.4-21.4 typical (p10-p90), best 22.3 - across **1,231 decode requests** in one live working session with a coding agent and desktop apps running ([server log](weights/data/bt_server.log)). 22.94 on a scrubbed box, not quoted as the headline. [Corrected 2026-08-18](FINDINGS.md): the previous "22.69" was the session's 16-token first reply, not a decode rate. |
|
|
210
210
|
| Same config, 40 machine-checked business tasks | **40/40** ([evidence](weights/data/bt_20260803_2228_qwen30b_q2k.json)) |
|
|
211
211
|
| Same model, partial expert offload | **20.62 tok/s** (+12.4%, free) |
|
|
212
212
|
| Depth-aware vs uniform quant, **equal bytes** (7B @ 2-bit, staked A2A) | **-13.2% perplexity, -39.5% median KLD, +5.1 pts same-token, +6.6% tok/s** at +0.48% file size ([prereg + verdict](preregistrations/2026-08-04-a2a-depth-aware-vs-uniform.md)) |
|
|
213
|
-
| Context window trade, measured |
|
|
213
|
+
| Context window trade, measured | median **20.8 tok/s at 4k ctx → 11.2 at 16k** (**1.86x**), from 1,231 and 634 decode requests in two live sessions — KV displaces weights on a 6 GB card; run 4k for chat, open it for long chains |
|
|
214
214
|
| Same bytes, different layers protected (Gemma 4 12B) | **byte-identical files, 2.25 ppl apart** |
|
|
215
|
+
| Same bytes, different layers protected (Qwen3.6-35B-A3B, hybrid MoE) | **29.2% less quality loss** - 5.7796 vs 5.9088 PPL at 14,115,658,720 bytes *each*, decode unchanged ([prereg #104](preregistrations/2026-08-18-qwen36-recipe-vs-naive.md), [the build](https://huggingface.co/FedericoSciuca/Qwen3.6-35B-A3B-depthaware-GGUF)) |
|
|
215
216
|
| Gemma 4 12B depth-aware 2-bit | 1.91× → **1.45×** quality cost, ~4.5 GB resident |
|
|
216
217
|
| GLM-4.5-Air **110B** from a SATA drive, 16 GB RAM | **0.19 tok/s** (capacity demo, not usable inference) |
|
|
217
218
|
| RAM overclock (XMP, 2133→3000) | dense **+52%** |
|
|
@@ -230,9 +231,10 @@ That is not your machine on a normal day, and we will not pretend otherwise:
|
|
|
230
231
|
- **All 14 rows measured faster than the previous pass** — not 13, all of them. Median **+4.6%**,
|
|
231
232
|
up to +27.5%. The scrubbed box is a **ceiling**, not a typical result.
|
|
232
233
|
- Because of that, **the published headline speeds above stay conservative.** Qwen3-30B-A3B measured
|
|
233
|
-
**22.94 tok/s** on the scrubbed pass; the headline quotes
|
|
234
|
-
|
|
235
|
-
reproduce.
|
|
234
|
+
**22.94 tok/s** on the scrubbed pass; the headline quotes the **median of a live session**
|
|
235
|
+
(20.8 tok/s across 1,231 requests, coding agent and desktop apps running), because a number
|
|
236
|
+
you can only get by stopping services is not a number you can reproduce. A single fast reply
|
|
237
|
+
is not one either - that mistake is what C-31 corrected.
|
|
236
238
|
- The median moved 9.0% → 8.4%, which is **inside our own ±1 point noise floor**, so we report it
|
|
237
239
|
as *unchanged* rather than improved — even though the smaller number is the flattering one.
|
|
238
240
|
- An earlier version of this section called the gemma4-12B row "untrustworthy" on a 27% spread.
|
|
@@ -188,12 +188,13 @@ Copyability is the whole mechanism: code answers repeat their input, prose inven
|
|
|
188
188
|
|
|
189
189
|
| result | number |
|
|
190
190
|
|---|---|
|
|
191
|
-
| Qwen3-30B-A3B on a 2016 desktop | **20.
|
|
191
|
+
| Qwen3-30B-A3B on a 2016 desktop | **median 20.8 tok/s**, 17.4-21.4 typical (p10-p90), best 22.3 - across **1,231 decode requests** in one live working session with a coding agent and desktop apps running ([server log](weights/data/bt_server.log)). 22.94 on a scrubbed box, not quoted as the headline. [Corrected 2026-08-18](FINDINGS.md): the previous "22.69" was the session's 16-token first reply, not a decode rate. |
|
|
192
192
|
| Same config, 40 machine-checked business tasks | **40/40** ([evidence](weights/data/bt_20260803_2228_qwen30b_q2k.json)) |
|
|
193
193
|
| Same model, partial expert offload | **20.62 tok/s** (+12.4%, free) |
|
|
194
194
|
| Depth-aware vs uniform quant, **equal bytes** (7B @ 2-bit, staked A2A) | **-13.2% perplexity, -39.5% median KLD, +5.1 pts same-token, +6.6% tok/s** at +0.48% file size ([prereg + verdict](preregistrations/2026-08-04-a2a-depth-aware-vs-uniform.md)) |
|
|
195
|
-
| Context window trade, measured |
|
|
195
|
+
| Context window trade, measured | median **20.8 tok/s at 4k ctx → 11.2 at 16k** (**1.86x**), from 1,231 and 634 decode requests in two live sessions — KV displaces weights on a 6 GB card; run 4k for chat, open it for long chains |
|
|
196
196
|
| Same bytes, different layers protected (Gemma 4 12B) | **byte-identical files, 2.25 ppl apart** |
|
|
197
|
+
| Same bytes, different layers protected (Qwen3.6-35B-A3B, hybrid MoE) | **29.2% less quality loss** - 5.7796 vs 5.9088 PPL at 14,115,658,720 bytes *each*, decode unchanged ([prereg #104](preregistrations/2026-08-18-qwen36-recipe-vs-naive.md), [the build](https://huggingface.co/FedericoSciuca/Qwen3.6-35B-A3B-depthaware-GGUF)) |
|
|
197
198
|
| Gemma 4 12B depth-aware 2-bit | 1.91× → **1.45×** quality cost, ~4.5 GB resident |
|
|
198
199
|
| GLM-4.5-Air **110B** from a SATA drive, 16 GB RAM | **0.19 tok/s** (capacity demo, not usable inference) |
|
|
199
200
|
| RAM overclock (XMP, 2133→3000) | dense **+52%** |
|
|
@@ -212,9 +213,10 @@ That is not your machine on a normal day, and we will not pretend otherwise:
|
|
|
212
213
|
- **All 14 rows measured faster than the previous pass** — not 13, all of them. Median **+4.6%**,
|
|
213
214
|
up to +27.5%. The scrubbed box is a **ceiling**, not a typical result.
|
|
214
215
|
- Because of that, **the published headline speeds above stay conservative.** Qwen3-30B-A3B measured
|
|
215
|
-
**22.94 tok/s** on the scrubbed pass; the headline quotes
|
|
216
|
-
|
|
217
|
-
reproduce.
|
|
216
|
+
**22.94 tok/s** on the scrubbed pass; the headline quotes the **median of a live session**
|
|
217
|
+
(20.8 tok/s across 1,231 requests, coding agent and desktop apps running), because a number
|
|
218
|
+
you can only get by stopping services is not a number you can reproduce. A single fast reply
|
|
219
|
+
is not one either - that mistake is what C-31 corrected.
|
|
218
220
|
- The median moved 9.0% → 8.4%, which is **inside our own ±1 point noise floor**, so we report it
|
|
219
221
|
as *unchanged* rather than improved — even though the smaller number is the flattering one.
|
|
220
222
|
- An earlier version of this section called the gemma4-12B row "untrustworthy" on a 27% spread.
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "quantprobe"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.29.0"
|
|
8
8
|
description = "Probe-then-quantize for LLMs: measure a model's fragility curve, plan bit/tier placement by the tiered decode law, and emit ready-to-run llama.cpp recipes."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "MIT" }
|
|
@@ -8,4 +8,4 @@ Three commands, all grounded in measured laws (see LAWS.md in the repo):
|
|
|
8
8
|
Every constant in `plan` is fitted from measurements published in the repo, including two
|
|
9
9
|
pre-registered hardware predictions confirmed within 8%.
|
|
10
10
|
"""
|
|
11
|
-
__version__ = "1.
|
|
11
|
+
__version__ = "1.29.0"
|