quantprobe 1.14.0__tar.gz → 1.14.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.
- {quantprobe-1.14.0/quantprobe.egg-info → quantprobe-1.14.1}/PKG-INFO +1 -1
- {quantprobe-1.14.0 → quantprobe-1.14.1}/pyproject.toml +1 -1
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe/__init__.py +1 -1
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe/plan.py +13 -5
- {quantprobe-1.14.0 → quantprobe-1.14.1/quantprobe.egg-info}/PKG-INFO +1 -1
- {quantprobe-1.14.0 → quantprobe-1.14.1}/LICENSE +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/README.md +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe/__main__.py +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe/auto.py +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe/cli.py +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe/dashboard.py +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe/detect.py +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe/fetch.py +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe/optimize.py +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe/probe.py +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe/recipes/mistral-7b.json +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe/recipes/qwen2.5-7b.json +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe/recipes/qwen3-30b.json +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe/recipes/qwen3.5-35b.json +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe/recipes.py +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe/runtime.py +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe/spec.py +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe/target.py +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe.egg-info/SOURCES.txt +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe.egg-info/dependency_links.txt +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe.egg-info/entry_points.txt +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe.egg-info/requires.txt +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/quantprobe.egg-info/top_level.txt +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/setup.cfg +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/tests/test_engine.py +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/tests/test_evaluator.py +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/tests/test_pipeline.py +0 -0
- {quantprobe-1.14.0 → quantprobe-1.14.1}/tests/test_transforms.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quantprobe
|
|
3
|
-
Version: 1.14.
|
|
3
|
+
Version: 1.14.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 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "quantprobe"
|
|
7
|
-
version = "1.14.
|
|
7
|
+
version = "1.14.1"
|
|
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.14.
|
|
11
|
+
__version__ = "1.14.1"
|
|
@@ -141,12 +141,20 @@ def ubatch_flags(placement, vram_resident_gb, vc):
|
|
|
141
141
|
#
|
|
142
142
|
# (label, pp2048, tg128, extra flags beyond the placement's own)
|
|
143
143
|
MOE_FRONTIER = [
|
|
144
|
-
("
|
|
145
|
-
("
|
|
146
|
-
("
|
|
144
|
+
("KV in VRAM, small batch", 280.64, 20.25, "-b 512 -ub 512"),
|
|
145
|
+
("all experts to CPU, big batch", 345.41, 18.68, "-b 2048 -ub 2048"),
|
|
146
|
+
("evict KV to RAM, big batch", 391.72, 16.54, "-b 2048 -ub 2048 -nkvo 1"),
|
|
147
147
|
]
|
|
148
|
-
#
|
|
149
|
-
#
|
|
148
|
+
# Two cells are deliberately EXCLUDED because they are dominated on both axes:
|
|
149
|
+
# all experts to CPU + KV evicted 336.31 / 15.82 - beaten by row 2
|
|
150
|
+
# split + KV in VRAM + ub 2048 163.39 / 20.13 - beaten by row 1
|
|
151
|
+
#
|
|
152
|
+
# That second one shipped ON this frontier in v1.14.0, as the "decode champion", because the
|
|
153
|
+
# frontier was built with -ub pinned at 2048 while only placement and KV were varied. Measured
|
|
154
|
+
# afterwards: the same configuration at ub 512 gives 280.64 pp for the same 20.25 tg - 72% more
|
|
155
|
+
# prompt processing, free. Pinning one dimension while sweeping the others is precisely the error
|
|
156
|
+
# the Law 4 fungibility corollary warns about, made in the code that implements the corollary.
|
|
157
|
+
# A frontier is only Pareto-optimal with respect to the dimensions actually swept.
|
|
150
158
|
|
|
151
159
|
|
|
152
160
|
def workload_frontier(prompt_to_gen):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quantprobe
|
|
3
|
-
Version: 1.14.
|
|
3
|
+
Version: 1.14.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|