optimas-org / optimas

Optimization at scale, powered by libEnsemble
https://optimas.readthedocs.io
Other
22 stars 13 forks source link

Changes with new ax version (0.4.1) #244

Open lboult opened 1 month ago

lboult commented 1 month ago

Hi guys,

Perhaps this is already known, but I spotted that with ax version 0.4.1 there were some import errors when I tried to load optimas.

In particular they were in optimas/generators/ax/developer/multitask.py:

1) register_metric it seems should now be register_metrics

2) get_MTGP_LEGACY is gone from ax and apparently isn't needed here so it seems like it can go.

I made the changes in my repository and it seemed to fix things. Let me know if I should try to integrate this in the main repository (I would need some guidance but am happy to learn!)

Cheers, Lewis

RemiLehe commented 4 weeks ago

Thanks for raising this issue. Yes, we are aware of the problem. I started fixing things here: https://github.com/optimas-org/optimas/pull/239 but this will require a bit more time.

lboult commented 4 weeks ago

Okay great, good luck with getting it to work then 😄