FLAML icon indicating copy to clipboard operation
FLAML copied to clipboard

ray tune keep_checkpoints_num is ineffective

Open liususan091219 opened this issue 3 years ago • 1 comments

ray tune keep_checkpoints_num is ineffective, debug to make it effective.

liususan091219 avatar Jul 16 '22 11:07 liususan091219

If use ray: override _save_checkpoint, but add with tune.checkpoint_dir(...) to make ray keep track of the checkpoint.

else: manually delete the checkpoints other than the best one in TransformersEstimator.fit(), after trainer.train().

liususan091219 avatar Jul 26 '22 22:07 liususan091219