[zero] avoid zero hook spam by changing log to debug level (#1137)

This commit is contained in:
Frank Lee
2022-06-21 10:44:01 +08:00
committed by GitHub
parent 73ad05fc8c
commit 15aab1476e
2 changed files with 2 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ class ZeroHook(BaseOpHook):
def post_iter(self):
if self._stateful_tensor_mgr:
self.logger.info(
self.logger.debug(
f"CPU-GPU data moving this iteration {self._stateful_tensor_mgr.cpu_gpu_move_volume/1e9} GB, get layout info time: {self._stateful_tensor_mgr._layout_time}, evict cpu time: {self._stateful_tensor_mgr._evict_time}",
ranks=[0])
self._stateful_tensor_mgr.finish_iter()