Skip to content

Commit

Permalink
new_executor_sequential_run
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanlehome committed Dec 12, 2023
1 parent c399656 commit 4dc1ff2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions paddle/fluid/inference/api/analysis_predictor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1919,6 +1919,9 @@ CreatePaddlePredictor<AnalysisConfig, PaddleEngineKind::kAnalysis>(
if (std::getenv("FLAGS_initial_cpu_memory_in_mb") == nullptr) {
SetGflag("initial_cpu_memory_in_mb", "0");
}
if (std::getenv("FLAGS_new_executor_sequential_run") == nullptr) {
SetGflag("new_executor_sequential_run", "1");
}
});

if (config.thread_local_stream_enabled() &&
Expand Down

0 comments on commit 4dc1ff2

Please sign in to comment.