holobench 1.31.0__py3-none-any.whl → 1.32.0__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.
- bencher/__init__.py +1 -1
- bencher/example/example_rerun.py +1 -1
- bencher/utils_rerun.py +2 -2
- {holobench-1.31.0.dist-info → holobench-1.32.0.dist-info}/METADATA +9 -8
- {holobench-1.31.0.dist-info → holobench-1.32.0.dist-info}/RECORD +7 -7
- {holobench-1.31.0.dist-info → holobench-1.32.0.dist-info}/WHEEL +0 -0
- {holobench-1.31.0.dist-info → holobench-1.32.0.dist-info}/licenses/LICENSE +0 -0
bencher/__init__.py
CHANGED
@@ -56,7 +56,7 @@ from .utils import (
|
|
56
56
|
publish_file,
|
57
57
|
github_content,
|
58
58
|
)
|
59
|
-
from .utils_rerun import publish_and_view_rrd, rrd_to_pane,
|
59
|
+
from .utils_rerun import publish_and_view_rrd, rrd_to_pane, capture_rerun_window
|
60
60
|
|
61
61
|
from .plotting.plot_filter import VarRange, PlotFilter
|
62
62
|
from .variables.parametrised_sweep import ParametrizedSweep
|
bencher/example/example_rerun.py
CHANGED
@@ -11,7 +11,7 @@ class SweepRerun(bch.ParametrizedSweep):
|
|
11
11
|
|
12
12
|
def __call__(self, **kwargs):
|
13
13
|
self.update_params_from_kwargs(**kwargs)
|
14
|
-
self.out_pane = bch.
|
14
|
+
self.out_pane = bch.capture_rerun_window(width=300, height=300)
|
15
15
|
rr.log("s1", rr.Boxes2D(half_sizes=[self.theta, 1]))
|
16
16
|
|
17
17
|
return super().__call__(**kwargs)
|
bencher/utils_rerun.py
CHANGED
@@ -34,8 +34,8 @@ def publish_and_view_rrd(
|
|
34
34
|
return rrd_to_pane(publish_path, version=version)
|
35
35
|
|
36
36
|
|
37
|
-
def
|
37
|
+
def capture_rerun_window(width: int = 500, height: int = 500):
|
38
38
|
rrd_path = gen_rerun_data_path()
|
39
39
|
rr.save(rrd_path)
|
40
40
|
path = rrd_path.split("cachedir")[1]
|
41
|
-
return rrd_to_pane(f"http://127.0.0.1:8001/{path}")
|
41
|
+
return rrd_to_pane(f"http://127.0.0.1:8001/{path}", width=width, height=height)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: holobench
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.32.0
|
4
4
|
Summary: A package for benchmarking the performance of arbitrary functions
|
5
5
|
Project-URL: Repository, https://github.com/dyson-ai/bencher
|
6
6
|
Project-URL: Home, https://github.com/dyson-ai/bencher
|
@@ -9,8 +9,6 @@ Author-email: Austin Gregg-Smith <blooop@gmail.com>
|
|
9
9
|
License: MIT
|
10
10
|
Requires-Python: <3.13,>=3.10
|
11
11
|
Requires-Dist: diskcache<=5.6.3,>=5.6
|
12
|
-
Requires-Dist: flask
|
13
|
-
Requires-Dist: flask-cors
|
14
12
|
Requires-Dist: holoviews<=1.19.1,>=1.15
|
15
13
|
Requires-Dist: hvplot<=0.10.0,>=0.8
|
16
14
|
Requires-Dist: matplotlib<=3.9.2,>=3.6.3
|
@@ -21,22 +19,25 @@ Requires-Dist: pandas<=2.2.2,>=2.0
|
|
21
19
|
Requires-Dist: panel<=1.4.5,>=1.3.6
|
22
20
|
Requires-Dist: param<=2.1.1,>=1.13.0
|
23
21
|
Requires-Dist: plotly<=5.24.1,>=5.15
|
24
|
-
Requires-Dist: rerun-notebook
|
25
|
-
Requires-Dist: rerun-sdk==0.20.1
|
26
22
|
Requires-Dist: scikit-learn<=1.5.1,>=1.2
|
27
23
|
Requires-Dist: scoop<=0.7.2.0,>=0.7.0
|
28
24
|
Requires-Dist: sortedcontainers<=2.4,>=2.4
|
29
25
|
Requires-Dist: str2bool<=1.1,>=1.1
|
30
26
|
Requires-Dist: strenum<=0.4.15,>=0.4.0
|
31
27
|
Requires-Dist: xarray<=2024.7.0,>=2023.7
|
28
|
+
Provides-Extra: rerun
|
29
|
+
Requires-Dist: flask; extra == 'rerun'
|
30
|
+
Requires-Dist: flask-cors; extra == 'rerun'
|
31
|
+
Requires-Dist: rerun-notebook; extra == 'rerun'
|
32
|
+
Requires-Dist: rerun-sdk==0.20.1; extra == 'rerun'
|
32
33
|
Provides-Extra: test
|
33
|
-
Requires-Dist: coverage<=7.6.
|
34
|
-
Requires-Dist: hypothesis<=6.
|
34
|
+
Requires-Dist: coverage<=7.6.8,>=7.5.4; extra == 'test'
|
35
|
+
Requires-Dist: hypothesis<=6.122.0,>=6.104.2; extra == 'test'
|
35
36
|
Requires-Dist: pre-commit<=4.0.1; extra == 'test'
|
36
37
|
Requires-Dist: pylint<=3.3.1,>=3.2.5; extra == 'test'
|
37
38
|
Requires-Dist: pytest-cov<=6.0.0,>=4.1; extra == 'test'
|
38
39
|
Requires-Dist: pytest<=8.3.3,>=7.4; extra == 'test'
|
39
|
-
Requires-Dist: ruff<=0.
|
40
|
+
Requires-Dist: ruff<=0.8.1,>=0.5.0; extra == 'test'
|
40
41
|
Description-Content-Type: text/markdown
|
41
42
|
|
42
43
|
# Bencher
|
@@ -1,4 +1,4 @@
|
|
1
|
-
bencher/__init__.py,sha256=
|
1
|
+
bencher/__init__.py,sha256=mE-PlylaVQSRPDdC3vcwW-mCkAki4i7Y8MavtEvOciY,1818
|
2
2
|
bencher/bench_cfg.py,sha256=mcsF5VU7Z-BLKE0bh9te73cEVNzr9pCnbsdIOPCJPy4,18414
|
3
3
|
bencher/bench_plot_server.py,sha256=nvGTr981XgWELqV7yID91j6V1UIPGtKilzxHcNWaZ6Q,4196
|
4
4
|
bencher/bench_report.py,sha256=FVMPZutQKTxq5Um46xLeJahntmuP76n7PaYhVGi4bB8,6364
|
@@ -10,7 +10,7 @@ bencher/flask_server.py,sha256=uMhMaySUki5StC-r_TXb4KTVqAiffyqfH7UzQidFqSw,831
|
|
10
10
|
bencher/job.py,sha256=swa0VwrZf41v7qNjreVDIYUU6r_dfuLipPZbg_w5x7c,6089
|
11
11
|
bencher/optuna_conversions.py,sha256=an-LfPsQXyyvhIZnG8Wl1RQVYMvJj7WOi3YNqoUnuxQ,5356
|
12
12
|
bencher/utils.py,sha256=DP2GJP28nSEihvZwiV1Rl7YJ5NTrRt2zBLs46eQ37hQ,9887
|
13
|
-
bencher/utils_rerun.py,sha256=
|
13
|
+
bencher/utils_rerun.py,sha256=E1itolYJMjmtBE5qcSotiS20I-dobVnjznsTRvZaV0s,1212
|
14
14
|
bencher/video_writer.py,sha256=z49tAG_ttXc8iWcTkWPJO1QaneaVdsmYL6Hpal-pd4Q,2176
|
15
15
|
bencher/worker_job.py,sha256=FREi0yWQACFmH86R1j-LH72tALEFkKhLDmmoGQY9Jh4,1571
|
16
16
|
bencher/example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -37,7 +37,7 @@ bencher/example/example_image1.py,sha256=3T6rgmCL7mCra2F6us-Fy0_jwhh7OvStmSieQui
|
|
37
37
|
bencher/example/example_levels.py,sha256=gcNqjdsC0Bi0dX9oakssPEmuh_zFqpJhPYPPoDN3uw8,6890
|
38
38
|
bencher/example/example_levels2.py,sha256=tMhA6dYYQskzMeAZdaz6jRmQTe-c-jLXfkaUqWT30-I,1117
|
39
39
|
bencher/example/example_pareto.py,sha256=sLh37iZSQitW7DE7ktbyaOgHr1ZWxG7pXxCMH00KKqQ,2688
|
40
|
-
bencher/example/example_rerun.py,sha256=
|
40
|
+
bencher/example/example_rerun.py,sha256=gruldZ6tmW56Mc6bPrNc7ChZEGHhYXPE4VVeG-L8w7M,981
|
41
41
|
bencher/example/example_rerun2.py,sha256=TV8e2UMwLFowhiXb_sQG2IS-W5jXF67VCitVjD8u1o8,660
|
42
42
|
bencher/example/example_sample_cache.py,sha256=7gf1BJ63VAgdqNuNXkbL9-jeTeC3kXA_PY9yG3ulTz0,4200
|
43
43
|
bencher/example/example_sample_cache_context.py,sha256=QmNM5Y8bCWEvbE7-6uRJVZhLaIEriL4lpMIV5-yTUg8,4065
|
@@ -93,7 +93,7 @@ bencher/variables/results.py,sha256=Wq14e8rAj5mcK22325wcaeTMjgZ6JuduqceAHItHFY8,
|
|
93
93
|
bencher/variables/sweep_base.py,sha256=gfEhKvsb16ZLbe38JewZqu0AMOHpsqwRbZbt-aCg9Bc,6258
|
94
94
|
bencher/variables/time.py,sha256=zcRS5p4ZkFjMta9nZMEuWv86rLnPkUSqyO69QwI5q3E,3142
|
95
95
|
resource/bencher,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
96
|
-
holobench-1.
|
97
|
-
holobench-1.
|
98
|
-
holobench-1.
|
99
|
-
holobench-1.
|
96
|
+
holobench-1.32.0.dist-info/METADATA,sha256=rMrxwsX6FOYMEAVFA__m0ISq3EsKBKreKeMmGwyOMKQ,6564
|
97
|
+
holobench-1.32.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
98
|
+
holobench-1.32.0.dist-info/licenses/LICENSE,sha256=dSHXTdRY4Y7qGFMv63UksV700iff7iE-p7GGs6Sbnvo,1065
|
99
|
+
holobench-1.32.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|