[RFC] Generalize pytorch content for non-native device execution
Motivation
This PR is for review of the following RFC : Modify PyTorch framework UTs so that non-cuda devices such as intel Gaudi and intel XPU is able to harness the content and improve quality. https://github.com/pytorch/rfcs/pull/66/files
Hi @ankurneog!
Thank you for your pull request and welcome to our community.
Action Required
In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.
Process
In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.
Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.
If you have received this in error or have any questions, please contact us at [email protected]. Thanks!
Following PRs are submitted addressing some of the issues mentioned in the RFC : https://github.com/pytorch/pytorch/pull/128584 https://github.com/pytorch/pytorch/pull/130714 https://github.com/pytorch/pytorch/pull/144387 https://github.com/pytorch/pytorch/pull/145476 https://github.com/pytorch/pytorch/pull/133975 https://github.com/pytorch/pytorch/pull/137863 https://github.com/pytorch/pytorch/pull/131758 https://github.com/pytorch/pytorch/pull/138216 https://github.com/pytorch/pytorch/pull/133209 https://github.com/pytorch/pytorch/pull/134994 https://github.com/pytorch/pytorch/pull/134994 https://github.com/pytorch/pytorch/pull/138216 https://github.com/pytorch/pytorch/pull/144944 https://github.com/pytorch/pytorch/pull/140536 https://github.com/pytorch/pytorch/pull/145056 https://github.com/pytorch/pytorch/pull/139184 https://github.com/pytorch/pytorch/pull/139749 https://github.com/pytorch/pytorch/pull/146472 https://github.com/pytorch/pytorch/pull/140536 https://github.com/pytorch/pytorch/pull/145222 https://github.com/pytorch/pytorch/pull/139184 https://github.com/pytorch/pytorch/pull/139749 https://github.com/pytorch/pytorch/pull/145521 https://github.com/pytorch/pytorch/pull/145589 https://github.com/pytorch/pytorch/pull/146290 https://github.com/pytorch/pytorch/pull/146478