-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix & temporarily disable raytune tutorial, print tutorial execution …
…errors & memory usage (#1974) Summary: The tutorials script has been updated to mimic the setup in the BoTorch script to print out the errors encountered while running the tutorials. The raytune tutorial mysteriously fails even after fixing the deprecation errors, so we'll temporarily remove it from the CI. The early stopping tutorial fails trial execution both when run locally and with this diff, so that's also disabled temporarily. The tutorial changes address the deprecation warning / error: ``` DeprecationWarning: `tune.report` is deprecated. Use `ray.train.report` instead -- see the example below: from ray import tune -> from ray import train tune.report(metric=1) -> train.report({'metric': 1}) ``` Also reduces # of trials from 30 to 10. Pull Request resolved: #1974 Test Plan: Ran `python scripts/make_tutorials.py -w $(pwd) -e -s` locally and checked the outputs (including with added errors in the tutorials). Reviewed By: esantorella Differential Revision: D51187010 Pulled By: saitcakmak fbshipit-source-id: f5d90bd20710dc497c7fb937a0f3ef68031ee538
- Loading branch information
1 parent
7b7712c
commit 0d0ea07
Showing
4 changed files
with
448 additions
and
1,094 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.