Skip to content

Commit 6b30ee0

Browse files
authored
Temporarily workaround llamatune issues with numpy>=2.0 (#934)
# Pull Request ## Title Temporarily workaround issues with LlamaTune and numpy>=2.0 ______________________________________________________________________ ## Description LlamaTune has issues with numpy>=2.0 reporting errors like the following: ``` FAILED mlos_core/mlos_core/tests/spaces/adapters/llamatune_test.py::test_num_low_dims[2-param_space_kwargs1] - ValueError: Configuration(values={ 'int_0': 245, 'int_1': 10, 'int_2': 54, }) The above configuration was not suggested by the optimizer. Approximate reverse mapping is currently disabled; thus *only* configurations suggested previously by the optimizer can be registered. ``` - See Also: #935 ______________________________________________________________________ ## Type of Change - 🛠️ Bug fix ______________________________________________________________________ ## Testing - CI ______________________________________________________________________
1 parent e91546e commit 6b30ee0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: mlos_core/setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def _get_long_desc_from_readme(base_url: str) -> dict:
9494
"scikit-learn>=1.3",
9595
"scipy>=1.3.2",
9696
"numpy>=1.24",
97+
"numpy<2.0", # FIXME: temporarily workaround llamatune issues
9798
'pandas >= 2.2.0;python_version>="3.9"',
9899
"ConfigSpace>=1.0",
99100
],

0 commit comments

Comments
 (0)