[tune] Fix a number of reporter regressions and add end-to-end tests (#7274)

This commit is contained in:
Eric Liang
2020-02-25 14:31:56 -08:00
committed by GitHub
parent 75f683eec6
commit 1ea05a2c08
9 changed files with 241 additions and 71 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ def wrap_function(train_func):
func_args = inspect.getfullargspec(train_func).args
use_track = ("reporter" not in func_args and len(func_args) == 1)
if use_track:
logger.info("tune.track signature detected.")
logger.debug("tune.track signature detected.")
except Exception:
logger.info(
"Function inspection failed - assuming reporter signature.")