Repository navigation
Conversation
fwenguang
requested review from
aaronenyeshi,
albanD and
soulitzer
as code owners
April 24, 2024 06:06
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/124818
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit b87e9bf with merge base 81740fd ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Contributor
Author
|
Hi @aaronenyeshi , i noticed the kineto commit id had updated, so this issue #120556 (comment) will be fixed. |
Member
|
@pytorchbot merge |
Collaborator
Merge startedYour 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 |
petrex
pushed a commit
to petrex/pytorch
that referenced
this pull request
May 3, 2024
) Summary: 1.Package public headers of kineto if USE_KINETO so that they can be used by PrivateUse1 user. 2.Add PrivateUse1 key to ActivityType. 3. Support PrivateUse1 key in function deviceTypeFromActivity and _supported_activities. 4. Fix some bugs when processing profiler results. Pull Request resolved: pytorch#124818 Approved by: https://github.com/aaronenyeshi
scotts
added a commit
to scotts/pytorch
that referenced
this pull request
Nov 2, 2026
…aths libkineto is registered once per process, and its cpuOnly flag says whether the process has a device Kineto could trace. Two places register it: the first profiling session (prepareProfiler) and, when KINETO_USE_DAEMON is set, global_kineto_init at import. Each spelled out its own device check, and they drifted: pytorch#124818 added registered PrivateUse1 backends to the session path but not to the daemon path. Both now call torch::profiler::impl::kineto::isDevicePresent(). The daemon path gains the PrivateUse1 term. In practice that changes little today: global_kineto_init runs while torch._C initializes, before a PrivateUse1 backend normally registers its name. Test Plan: Not built or tested locally yet; relying on CI. This change was authored with the assistance of an AI assistant (Claude).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
1.Package public headers of kineto if USE_KINETO so that they can be used by PrivateUse1 user.
2.Add PrivateUse1 key to ActivityType.
3. Support PrivateUse1 key in function deviceTypeFromActivity and _supported_activities.
4. Fix some bugs when processing profiler results.