Skip to content
Merged
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
2 changes: 2 additions & 0 deletions intermediate_source/inductor_debug_cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,10 @@ def forward2(self, arg0_1):
# We are able to get the profiling table and trace files.

# bench.py
import os
from torch.profiler import profile, schedule, ProfilerActivity
RESULT_DIR = "./prof_trace"
os.makedirs(RESULT_DIR, exist_ok=True)
my_schedule = schedule(
skip_first=10,
wait=5,
Expand Down
Loading