mirror of
https://github.com/wassname/ray.git
synced 2026-09-11 12:43:20 +08:00
[tune] hotfix log_once (#10069)
This commit is contained in:
@@ -198,7 +198,7 @@ class Searcher:
|
||||
try:
|
||||
self.save(tmp_search_ckpt_path)
|
||||
except NotImplementedError:
|
||||
with log_once("suggest:save_to_dir"):
|
||||
if log_once("suggest:save_to_dir"):
|
||||
logger.warning(
|
||||
"save not implemented for Searcher. Skipping save.")
|
||||
success = False
|
||||
|
||||
Reference in New Issue
Block a user