tuieval 0.2.0.dev50__py3-none-any.whl → 0.2.0.dev55__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/machines.py +4 -4
- tuieval/watch_proxy.py +7 -0
- {tuieval-0.2.0.dev50.dist-info → tuieval-0.2.0.dev55.dist-info}/METADATA +1 -1
- {tuieval-0.2.0.dev50.dist-info → tuieval-0.2.0.dev55.dist-info}/RECORD +8 -8
- {tuieval-0.2.0.dev50.dist-info → tuieval-0.2.0.dev55.dist-info}/WHEEL +0 -0
- {tuieval-0.2.0.dev50.dist-info → tuieval-0.2.0.dev55.dist-info}/entry_points.txt +0 -0
- {tuieval-0.2.0.dev50.dist-info → tuieval-0.2.0.dev55.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.dev55'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 2, 0, 'dev55')
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
tuieval/machines.py
CHANGED
|
@@ -65,10 +65,10 @@ def detect():
|
|
|
65
65
|
# macOS default when unset: about 2/3 of RAM up to 36 GB, 3/4 above.
|
|
66
66
|
limit = wired / 1024 if wired > 0 else ram * (0.75 if ram > 36 else 2 / 3)
|
|
67
67
|
gpu_cores = None
|
|
68
|
-
try:
|
|
69
|
-
out = subprocess.run(["
|
|
70
|
-
timeout=
|
|
71
|
-
m = re.search(r"
|
|
68
|
+
try: # the GPU driver's own count: instant, where system_profiler can take seconds (CI's virtual Macs)
|
|
69
|
+
out = subprocess.run(["ioreg", "-rc", "AGXAccelerator", "-d1"], capture_output=True, text=True,
|
|
70
|
+
timeout=5).stdout
|
|
71
|
+
m = re.search(r'"gpu-core-count"\s*=\s*(\d+)', out)
|
|
72
72
|
gpu_cores = int(m.group(1)) if m else None
|
|
73
73
|
except (OSError, subprocess.TimeoutExpired):
|
|
74
74
|
pass
|
tuieval/watch_proxy.py
CHANGED
|
@@ -18,6 +18,7 @@ import http.client
|
|
|
18
18
|
import itertools
|
|
19
19
|
import json
|
|
20
20
|
import os
|
|
21
|
+
import socketserver
|
|
21
22
|
import sys
|
|
22
23
|
import threading
|
|
23
24
|
import time
|
|
@@ -129,6 +130,12 @@ class Proxy:
|
|
|
129
130
|
class Server(ThreadingHTTPServer):
|
|
130
131
|
daemon_threads = True
|
|
131
132
|
|
|
133
|
+
def server_bind(self):
|
|
134
|
+
# HTTPServer looks up its own hostname here (socket.getfqdn), which can take half a
|
|
135
|
+
# minute where DNS is slow; the name is only cosmetic, so use the address.
|
|
136
|
+
socketserver.TCPServer.server_bind(self)
|
|
137
|
+
self.server_name, self.server_port = self.server_address[:2]
|
|
138
|
+
|
|
132
139
|
def handle_error(self, request, client_address):
|
|
133
140
|
err = sys.exc_info()[1]
|
|
134
141
|
if isinstance(err, (BrokenPipeError, ConnectionResetError)):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: tuieval
|
|
3
|
-
Version: 0.2.0.
|
|
3
|
+
Version: 0.2.0.dev55
|
|
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,6 +1,6 @@
|
|
|
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=1ZPMt5NERZZN86PFadmP7kAdrSCtNEk8dYfg9p2vGXg,535
|
|
4
4
|
tuieval/builtin.toml,sha256=Kxw22RZCJhURUyu5Wz8tj5Y1nM85A8hFVRbA4ocoPUg,4293
|
|
5
5
|
tuieval/cli.py,sha256=gzGBzhqvR0WKJQQNHB8CudpgViIeIyawrNWa54whmoI,4502
|
|
6
6
|
tuieval/client.py,sha256=kpsyLEZKfxCsvIGBHBbBy83TpI97CvnGCDq-4AbJS4Y,9986
|
|
@@ -8,7 +8,7 @@ tuieval/compare.py,sha256=SHN_o_nlppFcHMBqBZRITIkeQDPaR_JxhUZItQLMBwo,26270
|
|
|
8
8
|
tuieval/doctor.py,sha256=y1C_ggjd8oikXTrovgTBf26wjThP8EoVkfTVeO_n5dQ,6070
|
|
9
9
|
tuieval/engine.py,sha256=w3KsgxzFAMcRyVzFGQXhTgN3d9qYRtAZZxNLXZOgnrQ,114222
|
|
10
10
|
tuieval/export.py,sha256=dbHQgL_ubWtIPM1sLzAew_gETnrDJyd0zgqVA5vkpXM,9657
|
|
11
|
-
tuieval/machines.py,sha256=
|
|
11
|
+
tuieval/machines.py,sha256=tdRrn3WNOmCHwfcxcWz1NuAuOJdI7WnJFR1y6xgF89c,13512
|
|
12
12
|
tuieval/onboard.py,sha256=IYETVDWCCo9vF0Dtj4_rr9VanYeCky8PwP3-2g5A_l0,6215
|
|
13
13
|
tuieval/packs.py,sha256=tiLmxsrX_M5EUMuR4Yvb7pLBLEI15wamHSjflD6wjoY,11299
|
|
14
14
|
tuieval/profiles.py,sha256=soeLxjdB-l-OxSY8jZ4yjwfdSnsBV-QICcwKxRJS7nQ,3663
|
|
@@ -20,7 +20,7 @@ tuieval/selftest.py,sha256=nExkrOidgymlmvkxImEBfrQG5iTUN5WuRMIKtqusCCs,9835
|
|
|
20
20
|
tuieval/tui.py,sha256=21Re8fM5rf3zbHIKvK9laMV-mL2HjcGfMReoRg0DRLw,164268
|
|
21
21
|
tuieval/tune.py,sha256=jXwYuSjfdqbLCE3WonP2xaUHwk_FnhI67twB1BaHggI,38992
|
|
22
22
|
tuieval/verdict.py,sha256=Muo1a05mCv781MlEJsXwDsGaKbRi0JS4Lv8HdvK_Aco,19054
|
|
23
|
-
tuieval/watch_proxy.py,sha256=
|
|
23
|
+
tuieval/watch_proxy.py,sha256=bnDO1i6n6yUs1hODoUWcMppJMGPavoQqs6aNYrIxpT8,11416
|
|
24
24
|
tuieval/workspace.py,sha256=V_HhkaN1odr0OpjNsPYradRWLpzDldM7SwpvxohBL4U,895
|
|
25
25
|
tuieval/yamlout.py,sha256=r1IokjLqW-Ztpg1fSn33ZW3VK00v1VvxymmU5Qy7GEw,606
|
|
26
26
|
tuieval/graders/__init__.py,sha256=_YCFY5euaInIQdX4RoQGS3kMuiK6q5J7HF2e4i0ou3Q,5940
|
|
@@ -46,8 +46,8 @@ tuieval/templates/packs/tool_call/pack.toml,sha256=n4bx0lGJHSmW41uVqhfIXJ2BWZpmT
|
|
|
46
46
|
tuieval/templates/packs/tool_call/system.txt,sha256=mKxu-lB-0YjLHXdgeFJa8x2C180OvcNz5cHv2N5Bg3U,254
|
|
47
47
|
tuieval/templates/packs/tool_call/tests.yaml,sha256=Nv7c4syrzJ9cU8EBKSK_1ZSFx9V02aCjW4-2TBCPT7s,1859
|
|
48
48
|
tuieval/templates/packs/tool_call/tools.yaml,sha256=HgxCkh0On2VwbHSsjAGM8tNCK7ZtKLGrs7lMCn3Fprs,1048
|
|
49
|
-
tuieval-0.2.0.
|
|
50
|
-
tuieval-0.2.0.
|
|
51
|
-
tuieval-0.2.0.
|
|
52
|
-
tuieval-0.2.0.
|
|
53
|
-
tuieval-0.2.0.
|
|
49
|
+
tuieval-0.2.0.dev55.dist-info/METADATA,sha256=DGIO8VwyZC4CMfIgLwiY7gpg24S1xfuPDakBj_W90qo,13881
|
|
50
|
+
tuieval-0.2.0.dev55.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
51
|
+
tuieval-0.2.0.dev55.dist-info/entry_points.txt,sha256=7eIhi1GpFxBP2OLJV02Nn8LwsNuO512eKOGt1IBbj04,45
|
|
52
|
+
tuieval-0.2.0.dev55.dist-info/licenses/LICENSE,sha256=7wfRgGtBGH1aXhZkIn47oUznqKC18kEPMvUVgol7Ffc,1077
|
|
53
|
+
tuieval-0.2.0.dev55.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|