Skip to content

Commit b9c3e82

Browse files
authored
Update hyperparameter_tuning_tutorial.py
1 parent 865c666 commit b9c3e82

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

beginner_source/hyperparameter_tuning_tutorial.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@
5252
from ray.air import Checkpoint, session
5353
from ray.tune.schedulers import ASHAScheduler
5454

55+
# FIXME: migrate to ray.train.Checkpoint and remove following line
56+
os.environ["RAY_AIR_NEW_PERSISTENCE_MODE"]="0"
57+
5558
######################################################################
5659
# Most of the imports are needed for building the PyTorch model. Only the last three
5760
# imports are for Ray Tune.

0 commit comments

Comments
 (0)