quantprobe 1.36.0__tar.gz → 1.37.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.36.0/quantprobe.egg-info → quantprobe-1.37.0}/PKG-INFO +1 -1
- {quantprobe-1.36.0 → quantprobe-1.37.0}/pyproject.toml +1 -1
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/__init__.py +1 -1
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/auto.py +26 -1
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/plan.py +1 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/probe.py +623 -623
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/recipes/deepseek-v2-lite.json +3 -1
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/recipes/mistral-7b.json +3 -1
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/recipes/qwen2.5-7b.json +3 -1
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/recipes/qwen3-30b.json +3 -1
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/recipes/qwen3.5-35b.json +3 -1
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/recipes/qwen3.5-4b.json +3 -1
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/recipes/qwen3.6-35b.json +3 -1
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/recipes/qwen3.8-27b.json +10 -6
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/recipes.py +14 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/report.py +1214 -1211
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/spec.py +53 -7
- {quantprobe-1.36.0 → quantprobe-1.37.0/quantprobe.egg-info}/PKG-INFO +1 -1
- {quantprobe-1.36.0 → quantprobe-1.37.0}/LICENSE +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/README.md +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/__main__.py +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/branding.py +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/calibrate.py +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/cli.py +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/dashboard.py +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/detect.py +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/fetch.py +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/ollama.py +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/optimize.py +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/runtime.py +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe/target.py +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe.egg-info/SOURCES.txt +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe.egg-info/dependency_links.txt +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe.egg-info/entry_points.txt +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe.egg-info/requires.txt +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/quantprobe.egg-info/top_level.txt +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/setup.cfg +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/tests/test_engine.py +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/tests/test_evaluator.py +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.0}/tests/test_pipeline.py +0 -0
- {quantprobe-1.36.0 → quantprobe-1.37.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.37.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
|
|
@@ -4,7 +4,7 @@ requires = [ "setuptools>=68" ]
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "quantprobe"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.37.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.\
|
|
@@ -28,7 +28,10 @@ MODEL_REPOS = {
|
|
|
28
28
|
"glm-air": ("unsloth/GLM-4.5-Air-GGUF", 110, 12, 2.7, True),
|
|
29
29
|
"laguna-s": ("unsloth/Laguna-S-2.1-GGUF", 117.6, 8, 2.5, True),
|
|
30
30
|
"gemma-12b": ("unsloth/gemma-4-12b-it-GGUF", 11.9, 11.9, 11.9, False),
|
|
31
|
-
|
|
31
|
+
# unsloth/Mistral-7B-Instruct-v0.3-GGUF was gated and now 404s outright (verified 2026-08-24
|
|
32
|
+
# against the Hub). bartowski's is public and carries a Q8_0 source, and it is the repo the
|
|
33
|
+
# measured recipe records - a preset pointing at a dead repo is worse than no preset.
|
|
34
|
+
"mistral-7b": ("bartowski/Mistral-7B-Instruct-v0.3-GGUF", 7.2, 7.2, 7.2, False),
|
|
32
35
|
"qwen3-235b": (
|
|
33
36
|
"unsloth/Qwen3-235B-A22B-GGUF",
|
|
34
37
|
235.1,
|
|
@@ -256,6 +259,28 @@ def resolve_model(a, target):
|
|
|
256
259
|
from . import recipes as recmod
|
|
257
260
|
|
|
258
261
|
rec = recmod.find(key=target)
|
|
262
|
+
# A recipe that records a verified high-precision source CAN drive the whole
|
|
263
|
+
# pipeline - that was the only thing `auto` was missing to build any atlas model
|
|
264
|
+
# from its name. Params supply the spec; the repo supplies the bytes.
|
|
265
|
+
src = recmod.source_repo(rec) if rec else None
|
|
266
|
+
p = recmod.params(rec) if rec else None
|
|
267
|
+
if rec and src and p:
|
|
268
|
+
repo = src
|
|
269
|
+
t, ac, ne = p["total_b"], p["active_b"], p["always_active_b"]
|
|
270
|
+
moe = p.get("moe", ac < t * 0.9)
|
|
271
|
+
print(f"[quantprobe auto] '{target}' resolved from the measured atlas -> {repo}")
|
|
272
|
+
print(
|
|
273
|
+
f" {rec['model']['name']}: {t:.1f}B total, {ac:.1f}B active, "
|
|
274
|
+
f"{p['n_layer']} layers, band {rec['probe']['fragile_band']}"
|
|
275
|
+
)
|
|
276
|
+
return ModelSpec(
|
|
277
|
+
repo=repo,
|
|
278
|
+
total=t,
|
|
279
|
+
active=ac,
|
|
280
|
+
always_active=ne,
|
|
281
|
+
moe=moe,
|
|
282
|
+
n_layer=p["n_layer"],
|
|
283
|
+
)
|
|
259
284
|
if rec:
|
|
260
285
|
msg = [
|
|
261
286
|
f"'{target}' is not an `auto` preset - but quantprobe HAS MEASURED it.",
|