未验证 提交 87beee54 编写于 作者: K kuizhiqing 提交者: GitHub

fix gpu log typo (#43634)

上级 63e2a7dd
......@@ -24,7 +24,7 @@ class Watcher(object):
def __init__(self, ctx):
self.ctx = ctx
self.interval = 10
self.interval = 30
self.gpu_util = []
......@@ -80,7 +80,7 @@ class Watcher(object):
self.gpu_fd.flush()
except:
self.ctx.log.error("save gpu info failed")
self.ctx.logger.warning("save gpu info failed")
def _save_gpu_log(self, util_key):
try:
......@@ -89,7 +89,7 @@ class Watcher(object):
self.gpu_fd.write('\n')
self.gpu_fd.flush()
except:
self.ctx.log.error("save gpu log failed")
self.ctx.logger.warning("save gpu log failed")
def stop(self):
if hasattr(self, "proc"):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册