Ray + Optuna + Grid Search + Pruner

I’ve written a lightweight custom Optuna searcher that allows to use ray.tune.grid_search and pruners from optuna with it to early terminate trials like optuna would do.

You can find it in my ray_utilites project on GitHub:

The nearly standalone file (expect one constant) can can be found at:

The main trick to use pruners is to use the Searcher as a Stopper as well.

Really cool project! I starred it :smiley: Keep up the great work and ty for sharing!