Add XPU PTI version to Metadata - #1491
Merged
ryanzhang22 merged 1 commit intoJul 29, 2026
Merged
Conversation
Contributor
Author
|
@ryanzhang22 Could you please take a look, I added
However the XPU is a plugin and does not inherit from |
ryanzhang22
approved these changes
Jul 29, 2026
Contributor
|
I think this seems fine. In the |
|
@ryanzhang22 has imported this pull request. If you are a Meta employee, you can view this in D114119112. |
pytorchmergebot
pushed a commit
to pytorch/pytorch
that referenced
this pull request
Aug 7, 2026
Includes the following commits: - [XPUPTI] Disable XPUPTI if cpuOnly flag is true. (pytorch/kineto#1511) 15f4784 - Sanitize and escape labels and names for JSON output (pytorch/kineto#1508) 24d913c - Enforce PyTorch's RAWTHROW and CMAKE linters in Kineto (pytorch/kineto#1513) 50db78d - Add CPU-only end-to-end test for the on-demand async trace chain (pytorch/kineto#1507) 2f6cb94 - Migrate `-c fbcode.platform010_cuda_version` to the cuda constraint modifier 70e46d9 - Remove legacy code 76c6d9d - Don't warn on the intentional fb "file" logger-factory override f11967c - Make ConfigLoader poll-thread exception test deterministic and generic (pytorch/kineto#1501) fa09c88 - Add XPU PTI version to Metadata (pytorch/kineto#1491) e027765 - Fix ConfigLoaderTest daemon-poll failures in single-process runs (pytorch/kineto#1506) 0c7571a Pull Request resolved: #192255 Approved by: https://github.com/ryanzhang22
ankitbhrdwj
pushed a commit
to ankitbhrdwj/pytorch
that referenced
this pull request
Aug 12, 2026
Includes the following commits: - [XPUPTI] Disable XPUPTI if cpuOnly flag is true. (pytorch/kineto#1511) 15f4784 - Sanitize and escape labels and names for JSON output (pytorch/kineto#1508) 24d913c - Enforce PyTorch's RAWTHROW and CMAKE linters in Kineto (pytorch/kineto#1513) 50db78d - Add CPU-only end-to-end test for the on-demand async trace chain (pytorch/kineto#1507) 2f6cb94 - Migrate `-c fbcode.platform010_cuda_version` to the cuda constraint modifier 70e46d9 - Remove legacy code 76c6d9d - Don't warn on the intentional fb "file" logger-factory override f11967c - Make ConfigLoader poll-thread exception test deterministic and generic (pytorch/kineto#1501) fa09c88 - Add XPU PTI version to Metadata (pytorch/kineto#1491) e027765 - Fix ConfigLoaderTest daemon-poll failures in single-process runs (pytorch/kineto#1506) 0c7571a Pull Request resolved: pytorch#192255 Approved by: https://github.com/ryanzhang22
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.
Add the Intel PTI version to XPU Kineto trace metadata as xpupti_version.
The XPU profiler session now obtains the runtime version through
ptiVersionString()and emits it as a JSON string value. This lets exported traces identify the PTI version that produced them, aiding diagnosis of profiler behavior across Intel PTI versions.Add a focused XPU PTI unit test confirming that the metadata field is present and non-empty.