未验证 提交 490e2f3d 编写于 作者: L LiYuRio 提交者: GitHub

remove useless code (#54657)

上级 20db8602
......@@ -282,20 +282,6 @@ class PipelineFThenBPass(PassBase):
backward_job.set_micro_batch_id(i)
job_list.append(backward_job)
opt_job = core.job("optimizer")
job_list = []
lr_job = core.job("lr")
job_list.append(lr_job)
for i in range(self._micro_batch_size):
forward_job = core.job("forward")
forward_job.set_micro_batch_id(i)
job_list.append(forward_job)
for i in range(self._micro_batch_size):
backward_job = core.job("backward")
backward_job.set_micro_batch_id(i)
job_list.append(backward_job)
opt_job = core.job("optimizer")
job_list.append(opt_job)
return job_list
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册