Skip to content

Commit 5dd3e4c

Browse files
committed
Updated dependencies, required python version and bumped version
1 parent a48394a commit 5dd3e4c

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

kernel_tuner/backends/hypertuner.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,9 @@ def compile(self, kernel_instance):
101101
# any additional settings
102102
override = {
103103
"experimental_groups_defaults": {
104-
"repeats": 10,
105-
"samples": self.iterations
104+
"repeats": 25,
105+
"samples": self.iterations,
106+
"minimum_fraction_of_budget_valid": 0.01,
106107
}
107108
}
108109

kernel_tuner/hyper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def put_if_not_present(target_dict, key, value):
152152
elif strategy_to_tune.lower() == "bayes_opt":
153153
hyperparams = {
154154
# 'covariancekernel': ["constantrbf", "rbf", "matern32", "matern52"],
155-
# 'covariancelengthscale': [1.0, 1.5, 2.0],
155+
'covariancelengthscale': [1.0, 1.5, 2.0],
156156
'method': ["poi", "ei", "lcb", "lcb-srinivas", "multi", "multi-advanced", "multi-fast", "multi-ultrafast"],
157157
'samplingmethod': ["random", "LHS"],
158158
'popsize': [10, 20, 30]

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
55
[project]
66
name = "kernel_tuner"
77
description = "An easy to use CUDA/OpenCL kernel tuner in Python"
8-
version = "1.0" # adhere to PEP440 versioning: https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#id55
8+
version = "1.1.0" # adhere to PEP440 versioning: https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#id55
99
readme = "README.md"
1010
license = "Apache-2.0"
1111
authors = [
@@ -44,13 +44,13 @@ classifiers = [
4444
]
4545

4646
# ATTENTION: if anything is changed here, run `poetry update`
47-
requires-python = ">=3.10,<3.15" # NOTE when changing the Python versions, also change the test versions in the Noxfile and GitHub Actions
47+
requires-python = ">=3.10,<4" # <4 is because of hip-python-fork # NOTE when changing the Python versions, also change the test versions in the Noxfile and GitHub Actions
4848
dependencies = [
4949
"numpy (>=1.26.0,<2.0.0)", # Python 3.12 requires numpy at least 1.26, CuPy does not support 2.0
5050
"scipy>=1.14.1",
5151
"packaging", # required by file_utils
5252
"jsonschema",
53-
"python-constraint2>=2.1.0",
53+
"python-constraint2>=2.2.0",
5454
"xmltodict",
5555
"pandas>=2.0.0",
5656
"scikit-learn>=1.0.2",

0 commit comments

Comments
 (0)