MLOS icon indicating copy to clipboard operation
MLOS copied to clipboard

ConfigSpace crashes with Python 3.12

Open motus opened this issue 1 year ago • 2 comments
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

motus avatar Apr 30 '24 19:04 motus

Thanks so much for tracking this down.

bpkroth avatar Apr 30 '24 20:04 bpkroth

Waiting on https://github.com/automl/ConfigSpace/pull/346 and the release that gets generated from that.

bpkroth avatar May 21 '24 18:05 bpkroth