Skip to content

Commit

Permalink
Merge pull request #406 from dyson-ai/hotfix/variables_import
Browse files Browse the repository at this point in the history
Hotfix/variables import
  • Loading branch information
blooop committed Jun 14, 2024
2 parents 6d8fba8 + 00fa603 commit feff0fe
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 33 deletions.
4 changes: 0 additions & 4 deletions bencher/example/benchmark_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@
import math
import random
from enum import auto

from strenum import StrEnum


from bencher.variables.inputs import IntSweep, FloatSweep, StringSweep, EnumSweep, BoolSweep
from bencher.variables.results import ResultVar, OptDir

from bencher.variables.parametrised_sweep import ParametrizedSweep


Expand Down
Empty file added bencher/variables/__init__.py
Empty file.
52 changes: 25 additions & 27 deletions pixi.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ environments:
- conda: https://conda.anaconda.org/conda-forge/linux-64/ld_impl_linux-64-2.40-hf3520f5_3.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libexpat-2.6.2-h59595ed_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libffi-3.4.2-h7f98852_5.tar.bz2
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-ng-13.2.0-h77fa898_8.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgomp-13.2.0-h77fa898_8.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-ng-13.2.0-h77fa898_9.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgomp-13.2.0-h77fa898_9.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libnsl-2.0.1-hd590300_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libsqlite-3.46.0-hde9e2c9_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libuuid-2.38.1-h0b41bf4_0.conda
Expand Down Expand Up @@ -128,8 +128,8 @@ environments:
- conda: https://conda.anaconda.org/conda-forge/linux-64/ld_impl_linux-64-2.40-hf3520f5_3.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libexpat-2.6.2-h59595ed_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libffi-3.4.2-h7f98852_5.tar.bz2
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-ng-13.2.0-h77fa898_8.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgomp-13.2.0-h77fa898_8.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-ng-13.2.0-h77fa898_9.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgomp-13.2.0-h77fa898_9.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libnsl-2.0.1-hd590300_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libsqlite-3.46.0-hde9e2c9_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libuuid-2.38.1-h0b41bf4_0.conda
Expand Down Expand Up @@ -230,8 +230,8 @@ environments:
- conda: https://conda.anaconda.org/conda-forge/linux-64/ca-certificates-2024.6.2-hbcca054_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/ld_impl_linux-64-2.40-hf3520f5_3.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libffi-3.4.2-h7f98852_5.tar.bz2
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-ng-13.2.0-h77fa898_8.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgomp-13.2.0-h77fa898_8.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-ng-13.2.0-h77fa898_9.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgomp-13.2.0-h77fa898_9.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libnsl-2.0.1-hd590300_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libsqlite-3.46.0-hde9e2c9_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libuuid-2.38.1-h0b41bf4_0.conda
Expand Down Expand Up @@ -346,8 +346,8 @@ environments:
- conda: https://conda.anaconda.org/conda-forge/linux-64/ld_impl_linux-64-2.40-hf3520f5_3.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libexpat-2.6.2-h59595ed_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libffi-3.4.2-h7f98852_5.tar.bz2
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-ng-13.2.0-h77fa898_8.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgomp-13.2.0-h77fa898_8.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-ng-13.2.0-h77fa898_9.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libgomp-13.2.0-h77fa898_9.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libnsl-2.0.1-hd590300_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libsqlite-3.46.0-hde9e2c9_0.conda
- conda: https://conda.anaconda.org/conda-forge/linux-64/libuuid-2.38.1-h0b41bf4_0.conda
Expand Down Expand Up @@ -1042,9 +1042,9 @@ packages:
requires_python: '>=3.7'
- kind: pypi
name: holobench
version: 1.25.0
version: 1.25.1
path: .
sha256: a55ba178d63c3e32e71db30f83bd14e4156f81d86502511641d3ca2221adcfd2
sha256: a7c4bc9ff23b04490b0414160d361b96e98965593aaa8bdb11b7f5c74aa152fb
requires_dist:
- holoviews>=1.15,<=1.18.3
- numpy>=1.0,<=1.26.4
Expand Down Expand Up @@ -1610,38 +1610,36 @@ packages:
- kind: conda
name: libgcc-ng
version: 13.2.0
build: h77fa898_8
build_number: 8
build: h77fa898_9
build_number: 9
subdir: linux-64
url: https://conda.anaconda.org/conda-forge/linux-64/libgcc-ng-13.2.0-h77fa898_8.conda
sha256: 849ed1de90ee9d668c5d80e6728dca3d97e10d05b365d212b84197cf1874a7ca
md5: a579489cacbe7775680d40704a537553
url: https://conda.anaconda.org/conda-forge/linux-64/libgcc-ng-13.2.0-h77fa898_9.conda
sha256: 99766cf453f4d5ed78b8446d81de99a5fe243dea0d73cf402454f81c136c7d7d
md5: f23bc130bc3d2bbd9d9d6892609546ea
depends:
- _libgcc_mutex 0.1 conda_forge
- _openmp_mutex >=4.5
constrains:
- libgomp 13.2.0 h77fa898_8
- libgomp 13.2.0 h77fa898_9
license: GPL-3.0-only WITH GCC-exception-3.1
license_family: GPL
purls: []
size: 795760
timestamp: 1718209341553
size: 802398
timestamp: 1718351812596
- kind: conda
name: libgomp
version: 13.2.0
build: h77fa898_8
build_number: 8
build: h77fa898_9
build_number: 9
subdir: linux-64
url: https://conda.anaconda.org/conda-forge/linux-64/libgomp-13.2.0-h77fa898_8.conda
sha256: 9ef0f93d87e12a8bc93b950801789a856497d7b3f5ed1476b9b465db24f3047e
md5: 43820d2a9bac31b9c84ecbeef32375b3
url: https://conda.anaconda.org/conda-forge/linux-64/libgomp-13.2.0-h77fa898_9.conda
sha256: 6f32059e844348ef090e3c1727017cc3c277ebd16038c6dcf7098057b385591a
md5: 0d0ad0fdee21442a479005ef5f3a02e8
depends:
- _libgcc_mutex 0.1 conda_forge
license: GPL-3.0-only WITH GCC-exception-3.1
license_family: GPL
purls: []
size: 444169
timestamp: 1718209252805
size: 444496
timestamp: 1718351734049
- kind: conda
name: libnsl
version: 2.0.1
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "holobench"
version = "1.25.0"
version = "1.25.1"

authors = [{ name = "Austin Gregg-Smith", email = "blooop@gmail.com" }]
description = "A package for benchmarking the performance of arbitrary functions"
Expand Down Expand Up @@ -113,7 +113,7 @@ extension-pkg-whitelist = ["numpy", "scipy"]
jobs = 16 #detect number of cores

[tool.pylint.'MESSAGES CONTROL']
disable = "C,logging-fstring-interpolation,line-too-long,fixme,missing-module-docstring,too-many-instance-attributes,too-few-public-methods,too-many-arguments,too-many-locals,too-many-branches,too-many-statements,use-dict-literal,duplicate-code,too-many-public-methods,too-many-nested-blocks"
disable = "C,logging-fstring-interpolation,line-too-long,fixme,missing-module-docstring,too-many-instance-attributes,too-few-public-methods,too-many-arguments,too-many-locals,too-many-branches,too-many-statements,use-dict-literal,duplicate-code,too-many-public-methods,too-many-nested-blocks,cyclic-import"
enable = "no-else-return,consider-using-in"

[tool.black]
Expand Down

0 comments on commit feff0fe

Please sign in to comment.