未验证 提交 b2d8f6df 编写于 作者: A Allen Guo 提交者: GitHub

[IPU] rm updateOptimizerFromHost for eval mode (#42800)

* rm updateOptimizerFromHost for eval mode (#742)

* rm updateOptimizerFromHost for eval mode

* fix ci

* clean files
上级 96741379
......@@ -197,7 +197,9 @@ void Executor::Run(const std::vector<const Tensor *> &inputs,
}
VLOG(10) << "Prepared inputs/anchors";
if (ipu_strategy_->is_training && compiler_resources_->with_lr_sched) {
if (ipu_strategy_->is_training && compiler_resources_->with_lr_sched &&
!(ipu_strategy_->popart_options.createImplicitPipeliningFwdOnlyProgram &&
ipu_strategy_->runtime_options.enable_eval)) {
popart::Optimizer *optimizer;
if (ipu_strategy_->runtime_options.enable_eval) {
VLOG(10) << "Switch optimizer to eval mode";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册