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

Fix CPU PID/TID 0 In Trace #1061

Closed
wants to merge 1 commit into from

Conversation

sraikund16
Copy link
Contributor

Summary: When we have PID/TID 0, the trace thinks these events are part of the GPU. To fix this we can override the PID with that of the typical CPU thread and have a warning.

Differential Revision: D71510383

@facebook-github-bot
Copy link
Contributor

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

sraikund16 added a commit to sraikund16/kineto that referenced this pull request Mar 20, 2025
Summary:

When we have PID/TID 0, the trace thinks these events are part of the GPU. To fix this we can override the PID with that of the typical CPU thread and have a warning.

Differential Revision: D71510383
Summary:
Pull Request resolved: pytorch#1061

When we have PID/TID 0, the trace thinks these events are part of the GPU. To fix this we can override the PID with that of the typical CPU thread and have a warning.

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 7cb6ac6.

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