Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --profile-details and --export-perfdoctor option #2565

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xuzhao9
Copy link
Contributor

@xuzhao9 xuzhao9 commented Jan 14, 2025

Summary:
Add --profile-details option to add shapes and other details to the Kineto profile.

Add --export-perfdoctor to directly dump trace to perfdoctor for webview.

Differential Revision: D68134547

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68134547

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68134547

xuzhao9 added a commit to xuzhao9/pytorch that referenced this pull request Jan 15, 2025
…torch#144751)

Summary:
X-link: pytorch/benchmark#2565


Add `--profile-details` option to add shapes and other details to the Kineto profile.

Add `--export-perfdoctor` to directly dump trace to perfdoctor for webview.

Test Plan:
```
$ buck2 run mode/opt //caffe2/benchmarks/dynamo:torchbench_internal -- --only mrs_video_watch_over --performance --training --amp --export-profiler-trace --backend=inductor --profile-details --export-perfdoctor
```

https://interncache-all.fbcdn.net/manifold/perfetto-artifacts/tree/ui/index.html#!/?url=https://interncache-all.fbcdn.net/manifold/pyper_traces/tree/traces/test/inductor_mrs_video_watch_over_rank_0_20250113_173817_6535183793.json.gz

Differential Revision: D68134547
xuzhao9 added a commit to xuzhao9/benchmark that referenced this pull request Jan 15, 2025
Summary:

X-link: pytorch/pytorch#144751

Add `--profile-details` option to add shapes and other details to the Kineto profile.

Add `--export-perfdoctor` to directly dump trace to perfdoctor for webview.

Differential Revision: D68134547
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68134547

@xuzhao9 xuzhao9 temporarily deployed to docker-s3-upload January 15, 2025 21:49 — with GitHub Actions Inactive
xuzhao9 added a commit to xuzhao9/pytorch that referenced this pull request Jan 15, 2025
…torch#144751)

Summary:
X-link: pytorch/benchmark#2565


Add `--profile-details` option to add shapes and other details to the Kineto profile.

Add `--export-perfdoctor` to directly dump trace to perfdoctor for webview.

Test Plan:
```
$ buck2 run mode/opt //caffe2/benchmarks/dynamo:torchbench_internal -- --only mrs_video_watch_over --performance --training --amp --export-profiler-trace --backend=inductor --profile-details --export-perfdoctor
```

https://interncache-all.fbcdn.net/manifold/perfetto-artifacts/tree/ui/index.html#!/?url=https://interncache-all.fbcdn.net/manifold/pyper_traces/tree/traces/test/inductor_mrs_video_watch_over_rank_0_20250113_173817_6535183793.json.gz

Differential Revision: D68134547
xuzhao9 added a commit to xuzhao9/pytorch that referenced this pull request Jan 16, 2025
…torch#144751)

Summary:
X-link: pytorch/benchmark#2565


Add `--profile-details` option to add shapes and other details to the Kineto profile.

Add `--export-perfdoctor` to directly dump trace to perfdoctor for webview.

Test Plan:
```
$ buck2 run mode/opt //caffe2/benchmarks/dynamo:torchbench_internal -- --only mrs_video_watch_over --performance --training --amp --export-profiler-trace --backend=inductor --profile-details --export-perfdoctor
```

https://interncache-all.fbcdn.net/manifold/perfetto-artifacts/tree/ui/index.html#!/?url=https://interncache-all.fbcdn.net/manifold/pyper_traces/tree/traces/test/inductor_mrs_video_watch_over_rank_0_20250113_173817_6535183793.json.gz

Differential Revision: D68134547
Summary:

X-link: pytorch/pytorch#144751

Add `--profile-details` option to add shapes and other details to the Kineto profile.

Add `--export-perfdoctor` to directly dump trace to perfdoctor for webview.

Differential Revision: D68134547
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68134547

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