Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion paddle/fluid/framework/new_executor/pir_interpreter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1938,7 +1938,8 @@ void PirInterpreter::RunInstructionBase(InstructionBase* instr_node) {
std::string op_name = instr_node->Name();
::pir::Operation* op = instr_node->Operation();
if (!calculate_stream_timer_->IsStarted() && op_name != "pd_op.feed" &&
!op->HasAttribute("ring_id")) {
!op->HasAttribute("ring_id") && op_name != "pd_op.shadow_feed" &&
op_name != "pd_op.full_int_array") {
VLOG(3) << "Start calculated stream timer from op: " << op_name;
calculate_stream_timer_->Start();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
"default": "thread_state_unknown", # RGB: 199, 155, 125
}

ignore_job_type = ["recv_forward", "send_backward"]


def parse_args():
parser = ArgumentParser()
Expand Down Expand Up @@ -60,6 +62,9 @@ def process_job_log(log_data, device_id, multi_machine_idx=-1):
for i, match in enumerate(matches):
job_id, job_type, micro_batch_id, job_start_time, job_end_time = match

if job_type in ignore_job_type:
continue

if job_type != "default" and start_job_type == "":
start_job_type = job_type

Expand Down
Loading