quantprobe 1.11.1__tar.gz → 1.12.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.
Files changed (33) hide show
  1. {quantprobe-1.11.1/quantprobe.egg-info → quantprobe-1.12.0}/PKG-INFO +2 -1
  2. {quantprobe-1.11.1 → quantprobe-1.12.0}/README.md +1 -0
  3. {quantprobe-1.11.1 → quantprobe-1.12.0}/pyproject.toml +1 -1
  4. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe/__init__.py +1 -1
  5. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe/auto.py +303 -281
  6. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe/optimize.py +11 -6
  7. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe/plan.py +443 -405
  8. {quantprobe-1.11.1 → quantprobe-1.12.0/quantprobe.egg-info}/PKG-INFO +2 -1
  9. {quantprobe-1.11.1 → quantprobe-1.12.0}/LICENSE +0 -0
  10. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe/__main__.py +0 -0
  11. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe/cli.py +0 -0
  12. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe/dashboard.py +0 -0
  13. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe/detect.py +0 -0
  14. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe/fetch.py +0 -0
  15. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe/probe.py +0 -0
  16. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe/recipes/mistral-7b.json +0 -0
  17. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe/recipes/qwen2.5-7b.json +0 -0
  18. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe/recipes/qwen3-30b.json +0 -0
  19. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe/recipes/qwen3.5-35b.json +0 -0
  20. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe/recipes.py +0 -0
  21. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe/runtime.py +0 -0
  22. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe/spec.py +0 -0
  23. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe/target.py +0 -0
  24. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe.egg-info/SOURCES.txt +0 -0
  25. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe.egg-info/dependency_links.txt +0 -0
  26. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe.egg-info/entry_points.txt +0 -0
  27. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe.egg-info/requires.txt +0 -0
  28. {quantprobe-1.11.1 → quantprobe-1.12.0}/quantprobe.egg-info/top_level.txt +0 -0
  29. {quantprobe-1.11.1 → quantprobe-1.12.0}/setup.cfg +0 -0
  30. {quantprobe-1.11.1 → quantprobe-1.12.0}/tests/test_engine.py +0 -0
  31. {quantprobe-1.11.1 → quantprobe-1.12.0}/tests/test_evaluator.py +0 -0
  32. {quantprobe-1.11.1 → quantprobe-1.12.0}/tests/test_pipeline.py +0 -0
  33. {quantprobe-1.11.1 → quantprobe-1.12.0}/tests/test_transforms.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quantprobe
3
- Version: 1.11.1
3
+ Version: 1.12.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
@@ -118,6 +118,7 @@ Copyability is the whole mechanism: code answers repeat their input, prose inven
118
118
  ## When quantprobe won't help you
119
119
 
120
120
  - **Your model already fits comfortably in VRAM at 4 bits or more.** Community quants are near-lossless there, and — measured — quantizing further buys almost no speed once a model is resident: the same 7B at Q2_K vs Q4_K_M is 36% smaller and **4% slower**. Quantize to make a model *fit*; once it fits, stop.
121
+ - **You want a tight number for a model that fits entirely in VRAM.** This is the placement the law knows least well: across all seven models measured there, the real speed came in **faster than predicted every time — by 2% to 67%.** Read that row as a floor, not a ceiling. Seven points on one GPU don't identify a better formula, and we'd rather say so than move a constant on thin evidence. **This is the single most useful thing you can send us:** `quantprobe bench --contribute` on a GPU-resident model turns your machine into the datapoint that fixes it.
121
122
  - **You need task-level eval scores** (MMLU, HellaSwag). quantprobe measures perplexity and KL divergence only.
122
123
  - **Your architecture isn't in the fragility atlas** (four families so far). The probe still works on your model; the published priors just won't apply. *Open an issue with your result — those are the most valuable datapoints.*
123
124
  - **You want multi-token prediction modeled in the planner.** It isn't. Measured, the effect runs from **+17% (dense, GPU-resident) to −24% (MoE, experts in RAM)** — there's no single multiplier to apply. [Full 2×2 →](preregistrations/2026-07-24-law6-speculation-economics.md)
@@ -100,6 +100,7 @@ Copyability is the whole mechanism: code answers repeat their input, prose inven
100
100
  ## When quantprobe won't help you
101
101
 
102
102
  - **Your model already fits comfortably in VRAM at 4 bits or more.** Community quants are near-lossless there, and — measured — quantizing further buys almost no speed once a model is resident: the same 7B at Q2_K vs Q4_K_M is 36% smaller and **4% slower**. Quantize to make a model *fit*; once it fits, stop.
103
+ - **You want a tight number for a model that fits entirely in VRAM.** This is the placement the law knows least well: across all seven models measured there, the real speed came in **faster than predicted every time — by 2% to 67%.** Read that row as a floor, not a ceiling. Seven points on one GPU don't identify a better formula, and we'd rather say so than move a constant on thin evidence. **This is the single most useful thing you can send us:** `quantprobe bench --contribute` on a GPU-resident model turns your machine into the datapoint that fixes it.
103
104
  - **You need task-level eval scores** (MMLU, HellaSwag). quantprobe measures perplexity and KL divergence only.
104
105
  - **Your architecture isn't in the fragility atlas** (four families so far). The probe still works on your model; the published priors just won't apply. *Open an issue with your result — those are the most valuable datapoints.*
105
106
  - **You want multi-token prediction modeled in the planner.** It isn't. Measured, the effect runs from **+17% (dense, GPU-resident) to −24% (MoE, experts in RAM)** — there's no single multiplier to apply. [Full 2×2 →](preregistrations/2026-07-24-law6-speculation-economics.md)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "quantprobe"
7
- version = "1.11.1"
7
+ version = "1.12.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.1"
11
+ __version__ = "1.12.0"