From 5610828fe86a1eabc83ae0333749d5430d1e5ce8 Mon Sep 17 00:00:00 2001 From: Sumanth Ratna Date: Tue, 22 Sep 2020 12:02:15 -0400 Subject: [PATCH] Update max_failures kwarg docstring (#10953) --- python/ray/tune/tune.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ray/tune/tune.py b/python/ray/tune/tune.py index 2e0a2a1e8..510dcf726 100644 --- a/python/ray/tune/tune.py +++ b/python/ray/tune/tune.py @@ -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'