未验证 提交 4f7d016d 编写于 作者: E eltonzheng 提交者: GitHub

remove the undefined variable in ckpt testing (#67)

上级 f78ccc06
......@@ -106,12 +106,7 @@ class GPT2CheckpointTestCase(BaseTestCase):
try:
cmd = f"rm -rf {checkpoint_name}"
print(f"{self.id()} cmd: {cmd}")
subprocess.run(cmd,
shell=True,
check=False,
executable='/bin/bash',
stdout=f,
stderr=f)
subprocess.run(cmd, shell=True, check=False, executable='/bin/bash')
except:
print("No old checkpoint")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册