quantprobe 1.35.0__tar.gz → 1.35.1__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 (41) hide show
  1. {quantprobe-1.35.0/quantprobe.egg-info → quantprobe-1.35.1}/PKG-INFO +1 -1
  2. {quantprobe-1.35.0 → quantprobe-1.35.1}/pyproject.toml +1 -1
  3. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/__init__.py +1 -1
  4. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/auto.py +3 -1
  5. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/recipes.py +17 -1
  6. {quantprobe-1.35.0 → quantprobe-1.35.1/quantprobe.egg-info}/PKG-INFO +1 -1
  7. {quantprobe-1.35.0 → quantprobe-1.35.1}/LICENSE +0 -0
  8. {quantprobe-1.35.0 → quantprobe-1.35.1}/README.md +0 -0
  9. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/__main__.py +0 -0
  10. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/branding.py +0 -0
  11. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/calibrate.py +0 -0
  12. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/cli.py +0 -0
  13. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/dashboard.py +0 -0
  14. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/detect.py +0 -0
  15. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/fetch.py +0 -0
  16. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/ollama.py +0 -0
  17. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/optimize.py +0 -0
  18. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/plan.py +0 -0
  19. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/probe.py +0 -0
  20. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/recipes/deepseek-v2-lite.json +0 -0
  21. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/recipes/mistral-7b.json +0 -0
  22. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/recipes/qwen2.5-7b.json +0 -0
  23. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/recipes/qwen3-30b.json +0 -0
  24. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/recipes/qwen3.5-35b.json +0 -0
  25. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/recipes/qwen3.5-4b.json +0 -0
  26. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/recipes/qwen3.6-35b.json +0 -0
  27. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/recipes/qwen3.8-27b.json +0 -0
  28. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/report.py +0 -0
  29. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/runtime.py +0 -0
  30. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/spec.py +0 -0
  31. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe/target.py +0 -0
  32. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe.egg-info/SOURCES.txt +0 -0
  33. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe.egg-info/dependency_links.txt +0 -0
  34. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe.egg-info/entry_points.txt +0 -0
  35. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe.egg-info/requires.txt +0 -0
  36. {quantprobe-1.35.0 → quantprobe-1.35.1}/quantprobe.egg-info/top_level.txt +0 -0
  37. {quantprobe-1.35.0 → quantprobe-1.35.1}/setup.cfg +0 -0
  38. {quantprobe-1.35.0 → quantprobe-1.35.1}/tests/test_engine.py +0 -0
  39. {quantprobe-1.35.0 → quantprobe-1.35.1}/tests/test_evaluator.py +0 -0
  40. {quantprobe-1.35.0 → quantprobe-1.35.1}/tests/test_pipeline.py +0 -0
  41. {quantprobe-1.35.0 → quantprobe-1.35.1}/tests/test_transforms.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quantprobe
3
- Version: 1.35.0
3
+ Version: 1.35.1
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.35.0"
7
+ version = "1.35.1"
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.\
@@ -9,4 +9,4 @@ Every constant in `plan` is fitted from measurements published in the repo, incl
9
9
  pre-registered hardware predictions confirmed within 8%.
10
10
  """
11
11
 
12
- __version__ = "1.35.0"
12
+ __version__ = "1.35.1"
@@ -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['provenance']['raw_log']}",
239
+ f" evidence: {recmod.evidence_url(rec)}",
238
240
  ]
239
241
 
240
242
 
@@ -66,6 +66,22 @@ def _repo_from_url(url):
66
66
  return m.group(1) if m else None
67
67
 
68
68
 
69
+ REPO_URL = "https://github.com/FedericoTs/quantprobe/blob/master/"
70
+
71
+
72
+ def evidence_url(r):
73
+ """The raw log that proves this recipe, as something the reader can actually open.
74
+
75
+ The module docstring says a recipe you cannot check is a recipe you should not use - but the
76
+ stored path is repo-relative, so for anyone who arrived through `pip install` the citation
77
+ named a file they do not have. Every recipe's log is committed on master (checked before this
78
+ was added); a path that resolves nowhere would be worse than no citation at all."""
79
+ p = (r.get("provenance") or {}).get("raw_log")
80
+ if not p or "://" in p:
81
+ return p
82
+ return REPO_URL + p.replace("\\", "/").lstrip("./")
83
+
84
+
69
85
  def artifact(r):
70
86
  """The prebuilt file for this recipe, if someone already built and published it.
71
87
 
@@ -126,7 +142,7 @@ def describe(r):
126
142
  f"fragile band layers {lo}-{hi} ({p['shape']}-fragile, {p['fragility_ratio']}x "
127
143
  f"the median band)\n"
128
144
  f" measured {pr['measured']} on {pr['hardware']}, eval {pr['eval']}\n"
129
- f" evidence: {pr['raw_log']}"
145
+ f" evidence: {evidence_url(r)}"
130
146
  )
131
147
  a = artifact(r)
132
148
  if a and a["url"]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quantprobe
3
- Version: 1.35.0
3
+ Version: 1.35.1
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
File without changes
File without changes
File without changes