Skip to content

Conversation

sraikund16
Copy link
Contributor

Differential Revision: D84165235

mwootton and others added 2 commits October 8, 2025 12:07
Summary:
Supersedes pytorch#1050

Convert to using rocprofiler-sdk instead of roctracer for collecting hip api calls and AMD gpu activity.

Reuses most existing roctracer infrastructure with a name for name replacement. Simultaneous support for both roctracer and rocprofiler-sdk was deemed impractical. This would require a whole new set of #ifdefs, a major refactor of the roctracer code, and additional build support. Even then, only one could be active at a time (and you wouldn't want both active).

In homage to the abandoned refactor, RocLogger.cpp/h were created to contain the rocprofbase classes and the api filter.

Roctracer has no established end date.
Rocprofiler-sdk is in rocm_3.1 forward.

This will create a dependency where (newest kineto on old rocm) and (old kineto on newest rocm) could fail to build with AMD gpu support. That window is already over 1 year wide.

Pull Request resolved: pytorch#1128

Reviewed By: malfet, aaronenyeshi

Differential Revision: D82773951

Pulled By: sraikund16
Differential Revision: D84165235
Copy link

meta-codesync bot commented Oct 8, 2025

@sraikund16 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D84165235.

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