Skip to content

Commit

Permalink
fix pass and convert_op for preln_ernie and add preln_ernie'flag in pass
Browse files Browse the repository at this point in the history
  • Loading branch information
Wangzheee committed Feb 21, 2022
1 parent 5955a4e commit 0ed95bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions paddle/fluid/inference/analysis/ir_pass_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ void IRPassManager::CreatePasses(Argument *argument,
pass->Set("lite_ops_filter",
new std::vector<std::string>(argument->lite_ops_filter()));
pass->Set("predictor_id", new int(argument->predictor_id()));
pass->Erase("enable_int8");
pass->Set("enable_int8", new bool(lite_enable_int8));
pass->Set("use_gpu", new bool(argument->use_gpu()));
pass->Set("zero_copy", new bool(argument->lite_zero_copy()));
Expand Down

1 comment on commit 0ed95bc

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.