Use debug instead of detail logging for per-iteration hooks (#12281)

This commit is contained in:
ananthsub 2022-03-23 14:59:09 -07:00 committed by GitHub
parent 7b0d1183db
commit ebbe938dc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1606,7 +1606,7 @@ class Trainer(
*args: Any,
**kwargs: Any,
) -> None:
log.detail(f"{self.__class__.__name__}: calling callback hook: {hook_name}")
log.debug(f"{self.__class__.__name__}: calling callback hook: {hook_name}")
# TODO: remove if block in v1.8
if hook_name in ("on_init_start", "on_init_end"):
# these `Callback` hooks are the only ones that do not take a lightning module.