tuieval 0.2.0.dev154__py3-none-any.whl → 0.2.0.dev156__py3-none-any.whl
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.
- tuieval/_version.py +2 -2
- tuieval/ctxbench.py +8 -2
- {tuieval-0.2.0.dev154.dist-info → tuieval-0.2.0.dev156.dist-info}/METADATA +1 -1
- {tuieval-0.2.0.dev154.dist-info → tuieval-0.2.0.dev156.dist-info}/RECORD +7 -7
- {tuieval-0.2.0.dev154.dist-info → tuieval-0.2.0.dev156.dist-info}/WHEEL +0 -0
- {tuieval-0.2.0.dev154.dist-info → tuieval-0.2.0.dev156.dist-info}/entry_points.txt +0 -0
- {tuieval-0.2.0.dev154.dist-info → tuieval-0.2.0.dev156.dist-info}/licenses/LICENSE +0 -0
tuieval/_version.py
CHANGED
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.2.0.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 2, 0, '
|
|
21
|
+
__version__ = version = '0.2.0.dev156'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 2, 0, 'dev156')
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
tuieval/ctxbench.py
CHANGED
|
@@ -424,10 +424,16 @@ def bench(eng, label, emit=lambda *a, **k: None, max_ctx=None, start=None, step=
|
|
|
424
424
|
room, refuse = room_gb(eng)
|
|
425
425
|
if refuse:
|
|
426
426
|
raise engine_mod.ModelFailed(refuse)
|
|
427
|
-
|
|
428
|
-
|
|
427
|
+
# A model that could be held in memory whole needs that much free before the first load (another
|
|
428
|
+
# model may be loaded). One larger than the machine's memory can't be: its server reads it from
|
|
429
|
+
# disk as needed, so its size says nothing about what it takes, and the probes' guard decides.
|
|
430
|
+
size, whole = model_gb(m), sv.machine.gpu_limit_gb if sv.machine.discrete else sv.machine.ram_gb
|
|
431
|
+
if room is not None and size is not None and room < size <= whole:
|
|
429
432
|
raise engine_mod.ModelFailed(f"the model is {size:.1f} GB and {room:.1f} GB is free for it now: another "
|
|
430
433
|
"model or app is holding memory")
|
|
434
|
+
if size is not None and size > whole:
|
|
435
|
+
emit("tune_step", message=f"the model is {size:.0f} GB on disk, more than this machine's memory: its server "
|
|
436
|
+
"reads it from disk as needed, so its size isn't checked against free memory")
|
|
431
437
|
# Half of what it runs with now, so the second probe is a context expected to work and the two
|
|
432
438
|
# give the memory per token before anything larger is tried.
|
|
433
439
|
usual = sv.ctx if sv.fits and sv.ctx else None
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: tuieval
|
|
3
|
-
Version: 0.2.0.
|
|
3
|
+
Version: 0.2.0.dev156
|
|
4
4
|
Summary: Evaluate local and frontier LLMs on your own questions: accuracy, speed, tokens and PASS/FAIL verdicts, in the terminal.
|
|
5
5
|
Project-URL: Homepage, https://github.com/ashe-wb/tuieval
|
|
6
6
|
Project-URL: Issues, https://github.com/ashe-wb/tuieval/issues
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
tuieval/__init__.py,sha256=myVXVX7htbwezW6k3x_FuKgn1RSZ2WcTaDEMByGn6Wg,312
|
|
2
2
|
tuieval/__main__.py,sha256=E6Gls0DNz8GQK2K-kOUIx8cYhgANW_CH54VKrfCfs14,52
|
|
3
|
-
tuieval/_version.py,sha256=
|
|
3
|
+
tuieval/_version.py,sha256=y45X0y1Jrw6Tah9v8mPLL9xNWKJ_NMzYfhNsb-PN7l8,537
|
|
4
4
|
tuieval/agents.py,sha256=XmY4d4PAnC7BQcs_6KO9WTuIdpnwYVAdyhqItybWdAM,15408
|
|
5
5
|
tuieval/builtin.toml,sha256=QLQP1nh577RW6x0Z38JKNES-MPTSmlZAcxD5Javbk4Q,4768
|
|
6
6
|
tuieval/cli.py,sha256=Q9-b9sg6LSAfNq6o-c3J3hiOIoINgvH_Fe_U1x-0W4U,4915
|
|
7
7
|
tuieval/client.py,sha256=O77uftaxqgQ8b8rMnpR5822kmYFfr574w1pZlaSOFEE,14304
|
|
8
8
|
tuieval/compare.py,sha256=T5MDIkNzPGTFUvYr1EzxVGGlCdvTlO1v5De3gN0Eocw,39654
|
|
9
|
-
tuieval/ctxbench.py,sha256=
|
|
9
|
+
tuieval/ctxbench.py,sha256=wlk5e1q0Y4eW2kf5oJMjx1-vA6lofmo9RV4A37JhDfI,24556
|
|
10
10
|
tuieval/dates.py,sha256=CVazlwNjCRhD__D12zXLdeqF2ySt15X3xLUQeE-o6PY,6293
|
|
11
11
|
tuieval/doctor.py,sha256=j2MdDORstsAGPnRmpsnxau1_fR6sTc_oEFGM5zugTJU,7246
|
|
12
12
|
tuieval/engine.py,sha256=OfAQx4s9A7PfaPJDr5U_MBp69kS3-tI99aPnrCYZ8mU,141469
|
|
@@ -51,8 +51,8 @@ tuieval/templates/packs/tool_call/pack.toml,sha256=n4bx0lGJHSmW41uVqhfIXJ2BWZpmT
|
|
|
51
51
|
tuieval/templates/packs/tool_call/system.txt,sha256=mKxu-lB-0YjLHXdgeFJa8x2C180OvcNz5cHv2N5Bg3U,254
|
|
52
52
|
tuieval/templates/packs/tool_call/tests.yaml,sha256=Nv7c4syrzJ9cU8EBKSK_1ZSFx9V02aCjW4-2TBCPT7s,1859
|
|
53
53
|
tuieval/templates/packs/tool_call/tools.yaml,sha256=HgxCkh0On2VwbHSsjAGM8tNCK7ZtKLGrs7lMCn3Fprs,1048
|
|
54
|
-
tuieval-0.2.0.
|
|
55
|
-
tuieval-0.2.0.
|
|
56
|
-
tuieval-0.2.0.
|
|
57
|
-
tuieval-0.2.0.
|
|
58
|
-
tuieval-0.2.0.
|
|
54
|
+
tuieval-0.2.0.dev156.dist-info/METADATA,sha256=Cr189zzy2uMdrWFnzq35KZ-rP1_eiQSimvd9EaSsCcs,15306
|
|
55
|
+
tuieval-0.2.0.dev156.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
56
|
+
tuieval-0.2.0.dev156.dist-info/entry_points.txt,sha256=7eIhi1GpFxBP2OLJV02Nn8LwsNuO512eKOGt1IBbj04,45
|
|
57
|
+
tuieval-0.2.0.dev156.dist-info/licenses/LICENSE,sha256=7wfRgGtBGH1aXhZkIn47oUznqKC18kEPMvUVgol7Ffc,1077
|
|
58
|
+
tuieval-0.2.0.dev156.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|