Repository navigation
Enable profiler tests for XPU device. - #193961
kdrozd-dev wants to merge 7 commits into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/193961
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 1 Unrelated FailureAs of commit fe860ee with merge base a0afa8e ( NEW FAILURE - The following job has failed:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@gujinghui could you take a look? |
sylvesterkaczmarek
left a comment
There was a problem hiding this comment.
The pointer normalization is important for XPU memory profiling: allocation events expose signed intptr_t while tensor metadata carries the same address unsigned, so canonicalising before TensorKey construction prevents false identity splits. The explicit negative-pointer regression pins that representation boundary.
|
@pytorchbot label "topic: not user facing" |
|
@pytorchbot rebase |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
|
Successfully rebased |
d1da133 to
6dc56cd
Compare
|
|
|
@pytorchbot rebase |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
|
Successfully rebased |
6dc56cd to
52e7dc3
Compare
|
@pytorchbot rebase |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
|
Successfully rebased |
52e7dc3 to
e352b6b
Compare
|
@pytorchbot rebase |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
|
Successfully rebased |
e352b6b to
3c454a6
Compare
3c454a6 to
a495e10
Compare
…emory_profiler.py
529b383 to
fe860ee
Compare
Adjust
test/profiler/test_cpp_thread.py,test/profiler/test_kineto.py,test/profiler/test_memory_profiler.py,test/profiler/test_profiler.pyto work with XPU devices. Addedtest_profiler_with_xpu_graphtotest/profiler/test_xpu_profiler.pyit test profiler and xpu graph coexistence similar totest_cudagraph_profiling_workaround. Also removed"profiler/test_memory_profiler",fromXPU_BLOCKLISTintest/run_test.pyto reflect the enablement. Also added a fix totorch/profiler/_memory_profiler.pyso it works correctly with XPU high-bit addresses.Skipped:
test_forked_processas it hangs on XPU after the changes tosetUpModule. Will investigate internally.Rest of the affected UTs work fine from my testing.