Repository navigation
[Test] Refactor test_profiler.py tests to enhance device compatibility[3/N] - #198322
can-gaa-hou wants to merge 3 commits into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/198322
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (1 Unrelated Failure)As of commit 5e70c64 with merge base ecc974c ( NEW FAILURES SUPPRESSED BY AI (non-blocking) - The following job failed, but the AI CI Advisor judged the failure not to be evidence against this change:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
| with _profile( | ||
| use_kineto=True, | ||
| use_device="cuda", | ||
| use_device=torch.device(device).type, |
There was a problem hiding this comment.
Restore this one, it would be more clear to use "cuda" here for cuda-specific and it can minimize the changes as well.
There was a problem hiding this comment.
Remove onlyOn decorator here and migrate this one up to TestProfiler?
|
Starting merge as part of PR stack under #198324 |
…y[4/N] (#198323) Pull Request resolved: #198323 Approved by: https://github.com/fffrog ghstack dependencies: #198321, #198322
Stack from ghstack (oldest at bottom):