Update max_failures kwarg docstring (#10953)

This commit is contained in:
Sumanth Ratna
2020-09-22 12:02:15 -04:00
committed by Barak Michener
parent 696ca394d2
commit 5610828fe8
+1 -1
View File
@@ -228,7 +228,7 @@ def run(
max_failures (int): Try to recover a trial at least this many times.
Ray will recover from the latest checkpoint if present.
Setting to -1 will lead to infinite recovery retries.
Setting to 0 will disable retries. Defaults to 3.
Setting to 0 will disable retries. Defaults to 0.
fail_fast (bool | str): Whether to fail upon the first error.
If fail_fast='raise' provided, Tune will automatically
raise the exception received by the Trainable. fail_fast='raise'