coiled / feedback

A place to provide Coiled feedback
14 stars 3 forks source link

optuna notebook fails: Can't instantiate abstract class DaskStorage with abstract methods #119

Closed murphyk closed 1 year ago

murphyk commented 3 years ago

I am running https://cloud.coiled.io/examples/jobs/optuna. In the cell 'Train with Optuna' I get this error

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-3-96c3d35abb5d> in <module>
      4 
      5 # Create Dask-compatible Optuna storage class
----> 6 storage = dask_optuna.DaskStorage()
      7 
      8 # Run 500 optimizations trial on our cluster

TypeError: Can't instantiate abstract class DaskStorage with abstract methods get_study_directions, set_study_directions, set_trial_value
deepakagrawal commented 3 years ago

@murphyk Did you figure out what was causing this issue?

ian-r-rose commented 3 years ago

Thanks for the ping on this @deepakagrawal . The issue was a version mismatch -- it should be fixed now, are you still seeing issues?

shughes-uk commented 1 year ago

This is quite stale and we no longer maintain these specific examples. Package sync should resolve any version mismatch issues

ncclementi commented 1 year ago

For reference this is an updated example https://docs.coiled.io/user_guide/examples/dask-optuna-hpo.html