mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
[SGD] Disable Elastic Training by default when using with Tune (#12927)
This commit is contained in:
parent
8b783ecafa
commit
dd522a71a1
1 changed files with 1 additions and 1 deletions
|
@ -713,7 +713,7 @@ class BaseTorchTrainable(Trainable):
|
|||
"removed in "
|
||||
"a future version of Ray. Override Trainable.step instead.")
|
||||
|
||||
train_stats = self.trainer.train(max_retries=10, profile=True)
|
||||
train_stats = self.trainer.train(max_retries=0, profile=True)
|
||||
validation_stats = self.trainer.validate(profile=True)
|
||||
stats = merge_dicts(train_stats, validation_stats)
|
||||
return stats
|
||||
|
|
Loading…
Add table
Reference in a new issue