You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## MOTIVATION
This PR is a continuation of #154840 and we are trying to make the tests more device agnostic by removing hard coded references to any particular device.
Please refer to this RFC as well: pytorch/rfcs#66
## CHANGES
1. test_convolution_ops.py:
- Replace "cuda" with self.device_type
2. test_random_ops.py:
- Remove setting and using TYPE_DEVICE variable since device_type is set as per the environment (device) in DTensorTestBase class.
- Replace "cuda" with self.device_type
Pull Request resolved: #155687
Approved by: https://github.com/EikanWang, https://github.com/d4l3k
0 commit comments