Skip to content

Create the trace directory in inductor_debug_cpu.py before exporting - #3992

Merged
scotts merged 1 commit into
pytorch:mainfrom
scotts:fix-inductor-debug-cpu-trace-dir
Nov 4, 2026
Merged

scotts merged 1 commit into
pytorch:mainfrom
scotts:fix-inductor-debug-cpu-trace-dir

Conversation

@scotts

@scotts scotts commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

The profiling example exported Chrome traces to ./prof_trace, but nothing created that directory. The profiler logs an error and writes no file without raising, so the tutorial silently produced no traces, both for readers and in CI.

We're also in the process of changing the profiler so that it will report an error; see pytorch/pytorch#203080. When that lands, this tutorial will start to fail.

The profiling example exported Chrome traces to ./prof_trace, but nothing
created that directory. The profiler logs an error and writes no file
without raising, so the tutorial silently produced no traces, both for
readers and in CI.
@pytorch-bot

pytorch-bot Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/3992

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 4c3639d with merge base 5672cd9 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the cla signed label Nov 2, 2026
@scotts
scotts requested review from atalman and huydhn November 2, 2026 20:51
@scotts
scotts merged commit c2e181b into pytorch:main Nov 4, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants