Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The bug of ConfigSpace #5

Open
SlingmaoS opened this issue Mar 25, 2024 · 0 comments
Open

The bug of ConfigSpace #5

SlingmaoS opened this issue Mar 25, 2024 · 0 comments

Comments

@SlingmaoS
Copy link

I met the error of the ConfigSpace. May I ask which version of ConfigSpace do you use?

(base) mac@SlingcatS llamatune % python3 run-smac.py configs/ycsb/ycsbB/ycsbB.all.ini 1
INFO:root:Results will be saved @ "results/ycsb.workloadb/seed1"

INFO:root:Constructing new optimizer...
INFO:root:Run History: None
INFO:root:Ignored knobs: None
Traceback (most recent call last):
File "/Users/mac/Library/Mobile Documents/comappleCloudDocs/share/self_coding/llamatune/run-smac.py", line 171, in
optimizer = get_smac_optimizer(config, spaces, evaluate_dbms_conf, exp_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mac/Library/Mobile Documents/comappleCloudDocs/share/self_coding/llamatune/optimizer.py", line 90, in get_smac_optimizer
input_space = spaces.generate_input_space(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mac/Library/Mobile Documents/comappleCloudDocs/share/self_coding/llamatune/space.py", line 96, in generate_input_space
dim = CSH.UniformFloatHyperparameter(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "ConfigSpace/hyperparameters.pyx", line 465, in ConfigSpace.hyperparameters.UniformFloatHyperparameter.init
File "ConfigSpace/hyperparameters.pyx", line 527, in ConfigSpace.hyperparameters.UniformFloatHyperparameter.check_default
TypeError: Expected float, got numpy.float64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant