Open up PT UTs to cover additional devices#145589
Open up PT UTs to cover additional devices#145589ankurneog wants to merge 7 commits intopytorch:mainfrom
Conversation
c736712 to
a818d12
Compare
a818d12 to
df646d7
Compare
albanD
left a comment
There was a problem hiding this comment.
It's still quite weird to have this in core given that we don't run this in CI...
Sounds fine for me since it's only test but I wouldn't expect this to remain working for any period of time tbh.
cc @malfet in case you have an opinion on this
@albanD : Thanks for your comment, these TCs are disabled by default for other devices (by the existing decorator) so when we want to check them for devices such as Intel Gaudi , we need to do the refactoring or remove the decorators. The change removes this restriction for devices that support the tests and want to run them. |
|
@ankurneog regarding the review: current PR conflicts with trunk and causes 21+ workflow failures.... |
It feels like |
|
@ankurneog thanks for the details! |
@albanD : Sure that's doable , in that case can i remove the existing onlyNativeDeviceType decorator for the tests? |
@malfet : thanks for your comment, then maybe we should remove the |
If they pass CI, than yes, feels like a right approach |
f0d4375 to
07c0e39
Compare
07c0e39 to
2666c06
Compare
albanD
left a comment
There was a problem hiding this comment.
Removal sounds good!
CI failures look real though.
2666c06 to
a1005b1
Compare
|
@pytorchbot rebase |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
|
Successfully rebased |
088f8cd to
0427369
Compare
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
This is follow-up of #128584. Covering additional files for execution.
Based on the discussion we further had with the reviewers it is decided to remove
onlyNativeDeviceTypesdecorator to open these up for all devices.cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov