quantprobe 1.35.0__tar.gz → 1.36.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.35.0/quantprobe.egg-info → quantprobe-1.36.0}/PKG-INFO +13 -4
- {quantprobe-1.35.0 → quantprobe-1.36.0}/README.md +12 -3
- {quantprobe-1.35.0 → quantprobe-1.36.0}/pyproject.toml +1 -1
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/__init__.py +1 -1
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/auto.py +11 -1
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/plan.py +2987 -2957
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/recipes/deepseek-v2-lite.json +9 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/recipes/mistral-7b.json +9 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/recipes/qwen2.5-7b.json +9 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/recipes/qwen3-30b.json +9 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/recipes/qwen3.5-35b.json +9 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/recipes/qwen3.5-4b.json +9 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/recipes/qwen3.6-35b.json +9 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/recipes/qwen3.8-27b.json +9 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/recipes.py +52 -1
- {quantprobe-1.35.0 → quantprobe-1.36.0/quantprobe.egg-info}/PKG-INFO +13 -4
- {quantprobe-1.35.0 → quantprobe-1.36.0}/LICENSE +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/__main__.py +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/branding.py +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/calibrate.py +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/cli.py +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/dashboard.py +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/detect.py +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/fetch.py +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/ollama.py +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/optimize.py +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/probe.py +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/report.py +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/runtime.py +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/spec.py +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe/target.py +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe.egg-info/SOURCES.txt +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe.egg-info/dependency_links.txt +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe.egg-info/entry_points.txt +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe.egg-info/requires.txt +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/quantprobe.egg-info/top_level.txt +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/setup.cfg +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/tests/test_engine.py +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/tests/test_evaluator.py +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.0}/tests/test_pipeline.py +0 -0
- {quantprobe-1.35.0 → quantprobe-1.36.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.36.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
|
|
@@ -94,9 +94,18 @@ Or skip straight to a model we already did the surgery on — the 35B whose dept
|
|
|
94
94
|
quantprobe fetch qwen3.6-35b ./models
|
|
95
95
|
```
|
|
96
96
|
|
|
97
|
-
Every model in the [fragility atlas](quantprobe/recipes/) answers to its own name
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
Every model in the [fragility atlas](quantprobe/recipes/) answers to its own name — including the
|
|
98
|
+
opening question, *before* you spend the download:
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
quantprobe plan --model qwen3.6-35b --bits 2.9
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Those parameter counts are read from a real GGUF, never typed in. Worth knowing why that matters:
|
|
105
|
+
two uploads under the same model name can differ by a **whole transformer block** — one Qwen3.6-35B
|
|
106
|
+
build ships an MTP head that others strip, 41 layers against 40 ([L-33](FINDINGS.md)). So a stored
|
|
107
|
+
number travels with the file it was measured on, and quantprobe checks the layer count instead of
|
|
108
|
+
trusting the name.
|
|
100
109
|
|
|
101
110
|
## What it does
|
|
102
111
|
|
|
@@ -72,9 +72,18 @@ Or skip straight to a model we already did the surgery on — the 35B whose dept
|
|
|
72
72
|
quantprobe fetch qwen3.6-35b ./models
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
-
Every model in the [fragility atlas](quantprobe/recipes/) answers to its own name
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
Every model in the [fragility atlas](quantprobe/recipes/) answers to its own name — including the
|
|
76
|
+
opening question, *before* you spend the download:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
quantprobe plan --model qwen3.6-35b --bits 2.9
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Those parameter counts are read from a real GGUF, never typed in. Worth knowing why that matters:
|
|
83
|
+
two uploads under the same model name can differ by a **whole transformer block** — one Qwen3.6-35B
|
|
84
|
+
build ships an MTP head that others strip, 41 layers against 40 ([L-33](FINDINGS.md)). So a stored
|
|
85
|
+
number travels with the file it was measured on, and quantprobe checks the layer count instead of
|
|
86
|
+
trusting the name.
|
|
78
87
|
|
|
79
88
|
## What it does
|
|
80
89
|
|
|
@@ -4,7 +4,7 @@ requires = [ "setuptools>=68" ]
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "quantprobe"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.36.0"
|
|
8
8
|
description = """\
|
|
9
9
|
Probe-then-quantize for LLMs: measure a model's fragility curve, plan bit/tier placement by the tiered decode law, \
|
|
10
10
|
and emit ready-to-run llama.cpp recipes.\
|
|
@@ -228,13 +228,15 @@ def atlas_lines(rec):
|
|
|
228
228
|
`auto`'s preset table and the measured recipe atlas grew as separate lists, so the command
|
|
229
229
|
that spends the hours never asked whether the answer was already recorded. Both callers below
|
|
230
230
|
print these; keeping the wording in one place stops the two paths from drifting apart."""
|
|
231
|
+
from . import recipes as recmod
|
|
232
|
+
|
|
231
233
|
lo, hi = rec["probe"]["fragile_band"]
|
|
232
234
|
return [
|
|
233
235
|
(
|
|
234
236
|
f" fragile band: layers {lo}-{hi} ({rec['probe']['shape']}-fragile, "
|
|
235
237
|
f"{rec['probe']['fragility_ratio']}x the median band)"
|
|
236
238
|
),
|
|
237
|
-
f" evidence: {rec
|
|
239
|
+
f" evidence: {recmod.evidence_url(rec)}",
|
|
238
240
|
]
|
|
239
241
|
|
|
240
242
|
|
|
@@ -267,6 +269,14 @@ def resolve_model(a, target):
|
|
|
267
269
|
"",
|
|
268
270
|
" build it yourself from a high-precision source (f16/bf16/Q8_0):",
|
|
269
271
|
f" quantprobe quantize --gguf <source.gguf> --recipe {target}",
|
|
272
|
+
]
|
|
273
|
+
if recmod.params(rec):
|
|
274
|
+
msg += [
|
|
275
|
+
"",
|
|
276
|
+
" or find out what it does on THIS box before downloading anything:",
|
|
277
|
+
f" quantprobe plan --model {target}",
|
|
278
|
+
]
|
|
279
|
+
msg += [
|
|
270
280
|
"",
|
|
271
281
|
" `auto` needs a fetchable source repo, which this recipe does not carry yet.",
|
|
272
282
|
]
|