From 2a8839b0117cbfc53dc99c02d21d51fa79e29f38 Mon Sep 17 00:00:00 2001 From: Ruibiao Chen Date: Wed, 6 Sep 2023 10:56:03 +0800 Subject: [PATCH] Fix event info bug in StreamAnalyzer (#56982) --- .../fluid/framework/new_executor/interpreter/stream_analyzer.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/paddle/fluid/framework/new_executor/interpreter/stream_analyzer.cc b/paddle/fluid/framework/new_executor/interpreter/stream_analyzer.cc index 27ac1681a40..3dc9175dbfd 100644 --- a/paddle/fluid/framework/new_executor/interpreter/stream_analyzer.cc +++ b/paddle/fluid/framework/new_executor/interpreter/stream_analyzer.cc @@ -414,7 +414,6 @@ void analyse_event_info_for_two_instructions( if (has_data_dependency( instructions[cur_instr_id], instructions[next_instr_id]) || - !run_type_info[next_instr_id][DownstreamRunType::kEventRun].empty() || instructions[next_instr_id]->OpBase()->Type() == "depend") { waiter_instr_ids->insert(next_instr_id); return; @@ -474,7 +473,6 @@ void analyse_event_info_for_two_instructions< if (has_data_dependency( instructions[cur_instr_id], instructions[next_instr_id]) || - !run_type_info[next_instr_id][DownstreamRunType::kEventRun].empty() || instructions[next_instr_id]->Name() == "pd.depend") { waiter_instr_ids->insert(next_instr_id); return; -- GitLab