Closed Nanthini10 closed 4 years ago
Thanks for raising an issue and providing a nice reproducer @Nanthini10! After running through your snippet a few times, I realized there was an issue with how we're serializing StudyDirection
s when passing them between the client-side DaskStorage
object and the OptunaSchedulerExtension
running on the scheduler. I've pushed up a fix over in https://github.com/jrbourbeau/dask-optuna/pull/16 in case you're interested in taking a look
Thanks for raising an issue and providing a nice reproducer @Nanthini10! After running through your snippet a few times, I realized there was an issue with how we're serializing
StudyDirection
s when passing them between the client-sideDaskStorage
object and theOptunaSchedulerExtension
running on the scheduler. I've pushed up a fix over in #16 in case you're interested in taking a look
Thanks for the quick reply. Yeah, I had a similar conclusion when I tried to debug - the direction wasn't being passed correctly. The PR fixes the issue! 👍
Awesome, thanks again for reporting the issue. I pushed dask-optuna==0.0.2
to PyPI with the fix
Using dask_optuna storage for optimization, when I set direction to maximize, it still returns the smallest value.