quantprobe 1.6.4__tar.gz → 1.6.5__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 (28) hide show
  1. {quantprobe-1.6.4/quantprobe.egg-info → quantprobe-1.6.5}/PKG-INFO +1 -1
  2. {quantprobe-1.6.4 → quantprobe-1.6.5}/pyproject.toml +1 -1
  3. {quantprobe-1.6.4 → quantprobe-1.6.5}/quantprobe/__init__.py +1 -1
  4. {quantprobe-1.6.4 → quantprobe-1.6.5}/quantprobe/runtime.py +14 -1
  5. {quantprobe-1.6.4 → quantprobe-1.6.5/quantprobe.egg-info}/PKG-INFO +1 -1
  6. {quantprobe-1.6.4 → quantprobe-1.6.5}/LICENSE +0 -0
  7. {quantprobe-1.6.4 → quantprobe-1.6.5}/README.md +0 -0
  8. {quantprobe-1.6.4 → quantprobe-1.6.5}/quantprobe/__main__.py +0 -0
  9. {quantprobe-1.6.4 → quantprobe-1.6.5}/quantprobe/auto.py +0 -0
  10. {quantprobe-1.6.4 → quantprobe-1.6.5}/quantprobe/cli.py +0 -0
  11. {quantprobe-1.6.4 → quantprobe-1.6.5}/quantprobe/dashboard.py +0 -0
  12. {quantprobe-1.6.4 → quantprobe-1.6.5}/quantprobe/detect.py +0 -0
  13. {quantprobe-1.6.4 → quantprobe-1.6.5}/quantprobe/fetch.py +0 -0
  14. {quantprobe-1.6.4 → quantprobe-1.6.5}/quantprobe/optimize.py +0 -0
  15. {quantprobe-1.6.4 → quantprobe-1.6.5}/quantprobe/plan.py +0 -0
  16. {quantprobe-1.6.4 → quantprobe-1.6.5}/quantprobe/probe.py +0 -0
  17. {quantprobe-1.6.4 → quantprobe-1.6.5}/quantprobe/spec.py +0 -0
  18. {quantprobe-1.6.4 → quantprobe-1.6.5}/quantprobe/target.py +0 -0
  19. {quantprobe-1.6.4 → quantprobe-1.6.5}/quantprobe.egg-info/SOURCES.txt +0 -0
  20. {quantprobe-1.6.4 → quantprobe-1.6.5}/quantprobe.egg-info/dependency_links.txt +0 -0
  21. {quantprobe-1.6.4 → quantprobe-1.6.5}/quantprobe.egg-info/entry_points.txt +0 -0
  22. {quantprobe-1.6.4 → quantprobe-1.6.5}/quantprobe.egg-info/requires.txt +0 -0
  23. {quantprobe-1.6.4 → quantprobe-1.6.5}/quantprobe.egg-info/top_level.txt +0 -0
  24. {quantprobe-1.6.4 → quantprobe-1.6.5}/setup.cfg +0 -0
  25. {quantprobe-1.6.4 → quantprobe-1.6.5}/tests/test_engine.py +0 -0
  26. {quantprobe-1.6.4 → quantprobe-1.6.5}/tests/test_evaluator.py +0 -0
  27. {quantprobe-1.6.4 → quantprobe-1.6.5}/tests/test_pipeline.py +0 -0
  28. {quantprobe-1.6.4 → quantprobe-1.6.5}/tests/test_transforms.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quantprobe
3
- Version: 1.6.4
3
+ Version: 1.6.5
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 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "quantprobe"
7
- version = "1.6.4"
7
+ version = "1.6.5"
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.6.4"
11
+ __version__ = "1.6.5"
@@ -66,7 +66,20 @@ def best_flags(a):
66
66
  else m.get("kvp", planmod.DEFAULT_KVP))
67
67
  _, _, cfgs = planmod.evaluate(t, ac, ne, moe, a.bits, vc, vb, rc, rb, db, geta, act_scale, gl,
68
68
  ctx=ctx, kvp=kvp)
69
- best = cfgs[0]
69
+ # run/bench/dashboard LAUNCH stock llama.cpp, so they may only pick placements stock
70
+ # llama.cpp can actually execute. The three-tier expert-cache row's "flags" field is a
71
+ # PROSE description ("+ runtime-managed expert cache"), not argv - exec'ing it hands
72
+ # llama-cli a bare "+" and it dies. optimize/auto already filter this; run/bench must too.
73
+ runnable = [c for c in cfgs if "expert cache" not in c[0]]
74
+ if not runnable:
75
+ raise SystemExit(
76
+ "no placement on this machine is runnable by stock llama.cpp for this file.\n"
77
+ " The planner's best row needs an expert-caching runtime (ktransformers/colibri-class).\n"
78
+ " See the full picture, including that row: quantprobe plan --gguf <file>")
79
+ if runnable[0] is not cfgs[0]:
80
+ print(f"[quantprobe] note: the fastest placement ({cfgs[0][0]}, {cfgs[0][1]:.1f} tok/s) needs an "
81
+ f"expert-caching runtime; launching the fastest STOCK-llama.cpp placement instead.")
82
+ best = runnable[0]
70
83
  return best, best[3].replace('"', "").split()
71
84
 
72
85
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quantprobe
3
- Version: 1.6.4
3
+ Version: 1.6.5
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
File without changes