MLOS
MLOS copied to clipboard
ConfigSpace crashes with Python 3.12
trafficstars
Reproduced on Windows only so far. To reproduce, create a conda environment:
conda create -n "p312" python=3.12 ipython ConfigSpace
and then run:
import ConfigSpace as CS
space = CS.ConfigurationSpace(seed=1234)
space.add_hyperparameter(CS.UniformFloatHyperparameter(name='x', lower=0, upper=1))
it will crash with
TypeError: Expected float, got numpy.float64
P.S. The issue seems to be related to ConfigSpace issue #336
Thanks so much for tracking this down.
Waiting on https://github.com/automl/ConfigSpace/pull/346 and the release that gets generated from that.