Yu, Guangye
57d05f2616
[RELAND] Add xpu to getAccelerator ( #129205 )
...
# Motivation
Add `xpu` support to `getAccelerator`.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/129205
Approved by: https://github.com/albanD , https://github.com/gujinghui
ghstack dependencies: #129463
2024-07-04 10:26:52 +00:00
PyTorch MergeBot
8a9725bedb
Revert "Add xpu to getAccelerator ( #129205 )"
...
This reverts commit 3e2df3ca9d .
Reverted https://github.com/pytorch/pytorch/pull/129205 on behalf of https://github.com/kit1980 due to Need to revert https://github.com/pytorch/pytorch/pull/129463 which breaks Meta builds ([comment](https://github.com/pytorch/pytorch/pull/129205#issuecomment-2207514346 ))
2024-07-03 23:37:24 +00:00
Yu, Guangye
3e2df3ca9d
Add xpu to getAccelerator ( #129205 )
...
# Motivation
Add `xpu` support to `getAccelerator`.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/129205
Approved by: https://github.com/albanD , https://github.com/gujinghui
ghstack dependencies: #129463
2024-07-02 06:48:24 +00:00
egienvalue
8461e7ed9e
Add test_cpp_extensions tests for stream_and_event and mita_backend ( #123614 )
...
Test the generic torch.Stream/Event with fake device gurad and hooks. Since we added a fake device backend, it is mutual exclusive to other backends. Tests will be skipped if TEST_CUDA or TEST_ROCM is true.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/123614
Approved by: https://github.com/albanD
ghstack dependencies: #123611 , #123612
2024-04-26 16:17:54 +00:00
PyTorch MergeBot
4a1299cc0e
Revert "Add test_cpp_extensions tests for stream_and_event and mita_backend ( #123614 )"
...
This reverts commit 355dc34f86 .
Reverted https://github.com/pytorch/pytorch/pull/123614 on behalf of https://github.com/jeffdaily due to this PR broke ROCm with message RuntimeError: Cannot have MTIA with other devices ([comment](https://github.com/pytorch/pytorch/pull/123612#issuecomment-2077649762 ))
2024-04-25 16:06:46 +00:00
egienvalue
355dc34f86
Add test_cpp_extensions tests for stream_and_event and mita_backend ( #123614 )
...
Test the generic torch.Stream/Event with fake device gurad and hooks.
Differential Revision: [D56443358](https://our.internmc.facebook.com/intern/diff/D56443358 )
Pull Request resolved: https://github.com/pytorch/pytorch/pull/123614
Approved by: https://github.com/albanD
ghstack dependencies: #123611 , #123612
2024-04-24 20:51:20 +00:00
PyTorch MergeBot
52da03edeb
Revert "Add test_cpp_extensions tests for stream_and_event and mita_backend ( #123614 )"
...
This reverts commit b6f0159db0 .
Reverted https://github.com/pytorch/pytorch/pull/123614 on behalf of https://github.com/jeffdaily due to This broke ROCm. see test_overrides.py ([comment](https://github.com/pytorch/pytorch/pull/123611#issuecomment-2067363780 ))
2024-04-19 22:44:26 +00:00
egienvalue
b6f0159db0
Add test_cpp_extensions tests for stream_and_event and mita_backend ( #123614 )
...
Test the generic torch.Stream/Event with fake device gurad and hooks.
@exported-using-ghexport
Differential Revision: [D55902506](https://our.internmc.facebook.com/intern/diff/D55902506/ )
Pull Request resolved: https://github.com/pytorch/pytorch/pull/123614
Approved by: https://github.com/albanD
ghstack dependencies: #123611 , #123612
2024-04-18 17:40:13 +00:00