quantprobe 1.10.1__tar.gz → 1.10.4__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.
Files changed (33) hide show
  1. {quantprobe-1.10.1/quantprobe.egg-info → quantprobe-1.10.4}/PKG-INFO +10 -5
  2. {quantprobe-1.10.1 → quantprobe-1.10.4}/README.md +9 -4
  3. {quantprobe-1.10.1 → quantprobe-1.10.4}/pyproject.toml +1 -1
  4. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe/__init__.py +1 -1
  5. {quantprobe-1.10.1 → quantprobe-1.10.4/quantprobe.egg-info}/PKG-INFO +10 -5
  6. {quantprobe-1.10.1 → quantprobe-1.10.4}/LICENSE +0 -0
  7. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe/__main__.py +0 -0
  8. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe/auto.py +0 -0
  9. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe/cli.py +0 -0
  10. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe/dashboard.py +0 -0
  11. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe/detect.py +0 -0
  12. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe/fetch.py +0 -0
  13. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe/optimize.py +0 -0
  14. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe/plan.py +0 -0
  15. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe/probe.py +0 -0
  16. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe/recipes/mistral-7b.json +0 -0
  17. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe/recipes/qwen2.5-7b.json +0 -0
  18. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe/recipes/qwen3-30b.json +0 -0
  19. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe/recipes/qwen3.5-35b.json +0 -0
  20. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe/recipes.py +0 -0
  21. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe/runtime.py +0 -0
  22. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe/spec.py +0 -0
  23. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe/target.py +0 -0
  24. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe.egg-info/SOURCES.txt +0 -0
  25. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe.egg-info/dependency_links.txt +0 -0
  26. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe.egg-info/entry_points.txt +0 -0
  27. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe.egg-info/requires.txt +0 -0
  28. {quantprobe-1.10.1 → quantprobe-1.10.4}/quantprobe.egg-info/top_level.txt +0 -0
  29. {quantprobe-1.10.1 → quantprobe-1.10.4}/setup.cfg +0 -0
  30. {quantprobe-1.10.1 → quantprobe-1.10.4}/tests/test_engine.py +0 -0
  31. {quantprobe-1.10.1 → quantprobe-1.10.4}/tests/test_evaluator.py +0 -0
  32. {quantprobe-1.10.1 → quantprobe-1.10.4}/tests/test_pipeline.py +0 -0
  33. {quantprobe-1.10.1 → quantprobe-1.10.4}/tests/test_transforms.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quantprobe
3
- Version: 1.10.1
3
+ Version: 1.10.4
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
@@ -59,17 +59,19 @@ Most guides put *all* of a mixture-of-experts model's experts in system RAM and
59
59
 
60
60
  | | all experts → RAM | **partial offload** |
61
61
  |---|---|---|
62
- | generation | 15.18 tok/s | **20.44 tok/s** (+34.7%) |
62
+ | generation | 18.35 tok/s | **20.62 tok/s** (+12.4%) |
63
63
  | prompt reading | 88 tok/s | **~238 tok/s** (2–3×) |
64
64
 
65
- `plan` and `run` now compute the cutoff from your *free* VRAM and emit the exact flags. It costs nothing and needs no new download. ([pre-registration #13](preregistrations/2026-07-26-moe-partial-expert-offload.md) — staked before measuring, including the non-ship condition.)
65
+ `plan` and `run` compute the cutoff from your *free* VRAM and emit the exact flags. It costs nothing and needs no new download.
66
+
67
+ *This number was first published as +34.7% and is now corrected downward: that baseline was measured without `--no-mmap`, a flag the tool already recommended, so the control was worse than what a user would actually run. The [correction is published in full](preregistrations/2026-07-26-moe-partial-expert-offload.md#correction-2026-07-26-the-baseline-above-was-mis-configured-and-347-is-overstated) beneath the original — a community report about llama.cpp's `-fit` is what led us to check.*
66
68
 
67
69
  ## Measured results
68
70
 
69
71
  | result | number |
70
72
  |---|---|
71
73
  | Qwen3-30B-A3B on the 2016 desktop | **19.3 tok/s** — *predicted 19 before measuring* |
72
- | Same model, partial expert offload | **20.44 tok/s**, +34.7% for free |
74
+ | Same model, partial expert offload | **20.62 tok/s**, +12.4% for free (corrected from a first-published +34.7%) |
73
75
  | Same bytes, different layers (Gemma 4 12B) | **byte-identical files, 2.25 ppl apart** |
74
76
  | Gemma 4 12B depth-aware 2-bit | 1.91× → **1.45×** quality cost, ~4.5 GB resident |
75
77
  | GLM-4.5-Air **110B** from a SATA drive, 16 GB RAM | 0.19 tok/s — inside the pre-registered 0.2–0.3 band |
@@ -131,7 +133,7 @@ quantprobe dashboard --gguf 2bit.gguf # the law live, every r
131
133
 
132
134
  ## Help grow the law
133
135
 
134
- `quantprobe bench --contribute` prints exactly what would be shared plus a pre-filled issue link — **you review and submit; nothing is ever sent automatically.** Points that land *outside* the predicted bands are the most valuable ones. Open predictions anyone can settle: [preregistrations/](preregistrations/).
136
+ `quantprobe bench --contribute` prints exactly what would be shared plus a pre-filled issue link — **you review and submit; nothing is ever sent automatically.** Points that land *outside* the predicted bands are the most valuable ones. Open predictions anyone can settle: [preregistrations/](preregistrations/) — including [Law 6, staked before launch](preregistrations/2026-07-24-law6-speculation-economics.md) and scored in public during launch week.
135
137
 
136
138
  ## Deep dives
137
139
 
@@ -141,6 +143,8 @@ quantprobe dashboard --gguf 2bit.gguf # the law live, every r
141
143
  | [LAWS.md](LAWS.md) | the four laws — statements, measurements, falsifiable predictions |
142
144
  | [docs/EXAMPLES.md](docs/EXAMPLES.md) | worked examples with real output, including the ×5.4 optimizer A/B |
143
145
  | [docs/HARDWARE.md](docs/HARDWARE.md) | the 2016 box: exact specs, measured bandwidths, what the next euro buys |
146
+ | [docs/DEEP-DIVE.md](docs/DEEP-DIVE.md) | what's new vs. built-on, parity tables, and the **repository map** (this repo also holds the earlier research spike that led here) |
147
+ | [papers/arxiv/](papers/arxiv/) | the paper (submission-ready LaTeX) |
144
148
  | [preregistrations/](preregistrations/) | every staked prediction with its verdict — hits **and** misses |
145
149
  | [weights/LAW5_PROTOCOL.md](weights/LAW5_PROTOCOL.md) | the live Law-5 research ledger, including the retraction |
146
150
  | [CHANGELOG.md](CHANGELOG.md) | every release |
@@ -150,6 +154,7 @@ quantprobe dashboard --gguf 2bit.gguf # the law live, every r
150
154
  - Perplexity and KL divergence are my metrics; I haven't run task-level evals (MMLU/HellaSwag) yet.
151
155
  - The fragility atlas covers four model families — enough to *disprove* universality, not to chart every architecture.
152
156
  - 0.19 tok/s for a 110B is a **capacity demonstration, not usable inference.**
157
+ - **We do not model multi-token prediction (MTP) or speculative decoding.** If your runtime uses either, expect roughly **1.5–2.5× above** our estimate — a user measured 29–30 tok/s where we predicted ~16. That is a missing term, not a wrong one: the placement arithmetic still holds, MTP just emits several tokens per weight read. Being measured and modelled during launch week ([staked here](preregistrations/2026-07-24-law6-speculation-economics.md)).
153
158
  - Speed numbers are single-stream decode on one machine (±25% across environments); the η values are fitted, not derived.
154
159
  - No custom runtime: everything rides stock llama.cpp.
155
160
 
@@ -41,17 +41,19 @@ Most guides put *all* of a mixture-of-experts model's experts in system RAM and
41
41
 
42
42
  | | all experts → RAM | **partial offload** |
43
43
  |---|---|---|
44
- | generation | 15.18 tok/s | **20.44 tok/s** (+34.7%) |
44
+ | generation | 18.35 tok/s | **20.62 tok/s** (+12.4%) |
45
45
  | prompt reading | 88 tok/s | **~238 tok/s** (2–3×) |
46
46
 
47
- `plan` and `run` now compute the cutoff from your *free* VRAM and emit the exact flags. It costs nothing and needs no new download. ([pre-registration #13](preregistrations/2026-07-26-moe-partial-expert-offload.md) — staked before measuring, including the non-ship condition.)
47
+ `plan` and `run` compute the cutoff from your *free* VRAM and emit the exact flags. It costs nothing and needs no new download.
48
+
49
+ *This number was first published as +34.7% and is now corrected downward: that baseline was measured without `--no-mmap`, a flag the tool already recommended, so the control was worse than what a user would actually run. The [correction is published in full](preregistrations/2026-07-26-moe-partial-expert-offload.md#correction-2026-07-26-the-baseline-above-was-mis-configured-and-347-is-overstated) beneath the original — a community report about llama.cpp's `-fit` is what led us to check.*
48
50
 
49
51
  ## Measured results
50
52
 
51
53
  | result | number |
52
54
  |---|---|
53
55
  | Qwen3-30B-A3B on the 2016 desktop | **19.3 tok/s** — *predicted 19 before measuring* |
54
- | Same model, partial expert offload | **20.44 tok/s**, +34.7% for free |
56
+ | Same model, partial expert offload | **20.62 tok/s**, +12.4% for free (corrected from a first-published +34.7%) |
55
57
  | Same bytes, different layers (Gemma 4 12B) | **byte-identical files, 2.25 ppl apart** |
56
58
  | Gemma 4 12B depth-aware 2-bit | 1.91× → **1.45×** quality cost, ~4.5 GB resident |
57
59
  | GLM-4.5-Air **110B** from a SATA drive, 16 GB RAM | 0.19 tok/s — inside the pre-registered 0.2–0.3 band |
@@ -113,7 +115,7 @@ quantprobe dashboard --gguf 2bit.gguf # the law live, every r
113
115
 
114
116
  ## Help grow the law
115
117
 
116
- `quantprobe bench --contribute` prints exactly what would be shared plus a pre-filled issue link — **you review and submit; nothing is ever sent automatically.** Points that land *outside* the predicted bands are the most valuable ones. Open predictions anyone can settle: [preregistrations/](preregistrations/).
118
+ `quantprobe bench --contribute` prints exactly what would be shared plus a pre-filled issue link — **you review and submit; nothing is ever sent automatically.** Points that land *outside* the predicted bands are the most valuable ones. Open predictions anyone can settle: [preregistrations/](preregistrations/) — including [Law 6, staked before launch](preregistrations/2026-07-24-law6-speculation-economics.md) and scored in public during launch week.
117
119
 
118
120
  ## Deep dives
119
121
 
@@ -123,6 +125,8 @@ quantprobe dashboard --gguf 2bit.gguf # the law live, every r
123
125
  | [LAWS.md](LAWS.md) | the four laws — statements, measurements, falsifiable predictions |
124
126
  | [docs/EXAMPLES.md](docs/EXAMPLES.md) | worked examples with real output, including the ×5.4 optimizer A/B |
125
127
  | [docs/HARDWARE.md](docs/HARDWARE.md) | the 2016 box: exact specs, measured bandwidths, what the next euro buys |
128
+ | [docs/DEEP-DIVE.md](docs/DEEP-DIVE.md) | what's new vs. built-on, parity tables, and the **repository map** (this repo also holds the earlier research spike that led here) |
129
+ | [papers/arxiv/](papers/arxiv/) | the paper (submission-ready LaTeX) |
126
130
  | [preregistrations/](preregistrations/) | every staked prediction with its verdict — hits **and** misses |
127
131
  | [weights/LAW5_PROTOCOL.md](weights/LAW5_PROTOCOL.md) | the live Law-5 research ledger, including the retraction |
128
132
  | [CHANGELOG.md](CHANGELOG.md) | every release |
@@ -132,6 +136,7 @@ quantprobe dashboard --gguf 2bit.gguf # the law live, every r
132
136
  - Perplexity and KL divergence are my metrics; I haven't run task-level evals (MMLU/HellaSwag) yet.
133
137
  - The fragility atlas covers four model families — enough to *disprove* universality, not to chart every architecture.
134
138
  - 0.19 tok/s for a 110B is a **capacity demonstration, not usable inference.**
139
+ - **We do not model multi-token prediction (MTP) or speculative decoding.** If your runtime uses either, expect roughly **1.5–2.5× above** our estimate — a user measured 29–30 tok/s where we predicted ~16. That is a missing term, not a wrong one: the placement arithmetic still holds, MTP just emits several tokens per weight read. Being measured and modelled during launch week ([staked here](preregistrations/2026-07-24-law6-speculation-economics.md)).
135
140
  - Speed numbers are single-stream decode on one machine (±25% across environments); the η values are fitted, not derived.
136
141
  - No custom runtime: everything rides stock llama.cpp.
137
142
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "quantprobe"
7
- version = "1.10.1"
7
+ version = "1.10.4"
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.10.1"
11
+ __version__ = "1.10.4"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quantprobe
3
- Version: 1.10.1
3
+ Version: 1.10.4
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
@@ -59,17 +59,19 @@ Most guides put *all* of a mixture-of-experts model's experts in system RAM and
59
59
 
60
60
  | | all experts → RAM | **partial offload** |
61
61
  |---|---|---|
62
- | generation | 15.18 tok/s | **20.44 tok/s** (+34.7%) |
62
+ | generation | 18.35 tok/s | **20.62 tok/s** (+12.4%) |
63
63
  | prompt reading | 88 tok/s | **~238 tok/s** (2–3×) |
64
64
 
65
- `plan` and `run` now compute the cutoff from your *free* VRAM and emit the exact flags. It costs nothing and needs no new download. ([pre-registration #13](preregistrations/2026-07-26-moe-partial-expert-offload.md) — staked before measuring, including the non-ship condition.)
65
+ `plan` and `run` compute the cutoff from your *free* VRAM and emit the exact flags. It costs nothing and needs no new download.
66
+
67
+ *This number was first published as +34.7% and is now corrected downward: that baseline was measured without `--no-mmap`, a flag the tool already recommended, so the control was worse than what a user would actually run. The [correction is published in full](preregistrations/2026-07-26-moe-partial-expert-offload.md#correction-2026-07-26-the-baseline-above-was-mis-configured-and-347-is-overstated) beneath the original — a community report about llama.cpp's `-fit` is what led us to check.*
66
68
 
67
69
  ## Measured results
68
70
 
69
71
  | result | number |
70
72
  |---|---|
71
73
  | Qwen3-30B-A3B on the 2016 desktop | **19.3 tok/s** — *predicted 19 before measuring* |
72
- | Same model, partial expert offload | **20.44 tok/s**, +34.7% for free |
74
+ | Same model, partial expert offload | **20.62 tok/s**, +12.4% for free (corrected from a first-published +34.7%) |
73
75
  | Same bytes, different layers (Gemma 4 12B) | **byte-identical files, 2.25 ppl apart** |
74
76
  | Gemma 4 12B depth-aware 2-bit | 1.91× → **1.45×** quality cost, ~4.5 GB resident |
75
77
  | GLM-4.5-Air **110B** from a SATA drive, 16 GB RAM | 0.19 tok/s — inside the pre-registered 0.2–0.3 band |
@@ -131,7 +133,7 @@ quantprobe dashboard --gguf 2bit.gguf # the law live, every r
131
133
 
132
134
  ## Help grow the law
133
135
 
134
- `quantprobe bench --contribute` prints exactly what would be shared plus a pre-filled issue link — **you review and submit; nothing is ever sent automatically.** Points that land *outside* the predicted bands are the most valuable ones. Open predictions anyone can settle: [preregistrations/](preregistrations/).
136
+ `quantprobe bench --contribute` prints exactly what would be shared plus a pre-filled issue link — **you review and submit; nothing is ever sent automatically.** Points that land *outside* the predicted bands are the most valuable ones. Open predictions anyone can settle: [preregistrations/](preregistrations/) — including [Law 6, staked before launch](preregistrations/2026-07-24-law6-speculation-economics.md) and scored in public during launch week.
135
137
 
136
138
  ## Deep dives
137
139
 
@@ -141,6 +143,8 @@ quantprobe dashboard --gguf 2bit.gguf # the law live, every r
141
143
  | [LAWS.md](LAWS.md) | the four laws — statements, measurements, falsifiable predictions |
142
144
  | [docs/EXAMPLES.md](docs/EXAMPLES.md) | worked examples with real output, including the ×5.4 optimizer A/B |
143
145
  | [docs/HARDWARE.md](docs/HARDWARE.md) | the 2016 box: exact specs, measured bandwidths, what the next euro buys |
146
+ | [docs/DEEP-DIVE.md](docs/DEEP-DIVE.md) | what's new vs. built-on, parity tables, and the **repository map** (this repo also holds the earlier research spike that led here) |
147
+ | [papers/arxiv/](papers/arxiv/) | the paper (submission-ready LaTeX) |
144
148
  | [preregistrations/](preregistrations/) | every staked prediction with its verdict — hits **and** misses |
145
149
  | [weights/LAW5_PROTOCOL.md](weights/LAW5_PROTOCOL.md) | the live Law-5 research ledger, including the retraction |
146
150
  | [CHANGELOG.md](CHANGELOG.md) | every release |
@@ -150,6 +154,7 @@ quantprobe dashboard --gguf 2bit.gguf # the law live, every r
150
154
  - Perplexity and KL divergence are my metrics; I haven't run task-level evals (MMLU/HellaSwag) yet.
151
155
  - The fragility atlas covers four model families — enough to *disprove* universality, not to chart every architecture.
152
156
  - 0.19 tok/s for a 110B is a **capacity demonstration, not usable inference.**
157
+ - **We do not model multi-token prediction (MTP) or speculative decoding.** If your runtime uses either, expect roughly **1.5–2.5× above** our estimate — a user measured 29–30 tok/s where we predicted ~16. That is a missing term, not a wrong one: the placement arithmetic still holds, MTP just emits several tokens per weight read. Being measured and modelled during launch week ([staked here](preregistrations/2026-07-24-law6-speculation-economics.md)).
153
158
  - Speed numbers are single-stream decode on one machine (±25% across environments); the η values are fitted, not derived.
154
159
  - No custom runtime: everything rides stock llama.cpp.
155
160
 
File without changes
File without changes