Skip to content

[Profiler] Rename occupancy -> est_occupancy_pct - #180275

Closed
ryanzhang22 wants to merge 1 commit into
pytorch:mainfrom
ryanzhang22:profiler-occupancy-metadata
Closed

ryanzhang22 wants to merge 1 commit into
pytorch:mainfrom
ryanzhang22:profiler-occupancy-metadata

Conversation

@ryanzhang22

Copy link
Copy Markdown
Contributor

Changes to EventMetadata:

Moves json convertor inline so we don't have multiple helpers each doing the same thing with different output types.

@pytorch-bot

pytorch-bot Bot commented Apr 13, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ No Failures

As of commit b3d018d with merge base ebbcb32 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@pytorch-bot

pytorch-bot Bot commented Apr 13, 2026

Copy link
Copy Markdown

This PR needs a release notes: label

If your changes are user facing and intended to be a part of release notes, please use a label starting with release notes:.

If not, please add the topic: not user facing label.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "topic: not user facing"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@ryanzhang22 ryanzhang22 added the release notes: profiler release notes category label Apr 13, 2026
@ryanzhang22
ryanzhang22 marked this pull request as ready for review April 13, 2026 20:44
@ryanzhang22
ryanzhang22 requested a review from scotts as a code owner April 13, 2026 20:44
@ryanzhang22

Copy link
Copy Markdown
Contributor Author

@pytorchbot rebase

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Tried to rebase and push PR #180275, but it was already up to date. Try rebasing against main by issuing:
@pytorchbot rebase -b main

@ryanzhang22

Copy link
Copy Markdown
Contributor Author

@pytorchbot rebase

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Tried to rebase and push PR #180275, but it was already up to date. Try rebasing against main by issuing:
@pytorchbot rebase -b main

@ryanzhang22

Copy link
Copy Markdown
Contributor Author

@pytorchbot rebase -b main

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Successfully rebased profiler-occupancy-metadata onto refs/remotes/origin/main, please pull locally before adding more changes (for example, via git checkout profiler-occupancy-metadata && git pull --rebase)

@pytorchmergebot
pytorchmergebot force-pushed the profiler-occupancy-metadata branch from b43edf0 to 47453b9 Compare April 14, 2026 00:34
@ryanzhang22

Copy link
Copy Markdown
Contributor Author

@pytorchbot rebase

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Successfully rebased profiler-occupancy-metadata onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via git checkout profiler-occupancy-metadata && git pull --rebase)

@pytorchmergebot
pytorchmergebot force-pushed the profiler-occupancy-metadata branch from 47453b9 to ac38e5a Compare April 14, 2026 13:05
@ryanzhang22
ryanzhang22 force-pushed the profiler-occupancy-metadata branch from ac38e5a to b3d018d Compare April 14, 2026 18:57
@ryanzhang22

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Apr 14, 2026
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command
For more information see pytorch-bot wiki.

@ryanzhang22

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@meta-codesync

meta-codesync Bot commented Apr 15, 2026

Copy link
Copy Markdown

@ryanzhang22 has imported this pull request. If you are a Meta employee, you can view this in D100713928.

gplutop7 pushed a commit to gplutop7/pytorch that referenced this pull request Jul 15, 2026
Changes to EventMetadata:

- occupancy -> est_occupancy_pct
- introduces occupancy dictionary (which was added in pytorch/kineto#1330)

Moves json convertor inline so we don't have multiple helpers each doing the same thing with different output types.
Pull Request resolved: pytorch#180275
Approved by: https://github.com/scotts
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
Changes to EventMetadata:

- occupancy -> est_occupancy_pct
- introduces occupancy dictionary (which was added in pytorch/kineto#1330)

Moves json convertor inline so we don't have multiple helpers each doing the same thing with different output types.
Pull Request resolved: pytorch#180275
Approved by: https://github.com/scotts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged release notes: profiler release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants