Fix ordered_dict.h for CUDA on Windows (#55275)

Summary:
Fixes https://github.com/pytorch/pytorch/issues/55266

Pull Request resolved: https://github.com/pytorch/pytorch/pull/55275

Reviewed By: mrshenli

Differential Revision: D27623887

Pulled By: malfet

fbshipit-source-id: 6dac357e21179a259ac95f0e1b7399b03dacc81d
This commit is contained in:
peter
2021-04-07 23:41:44 -07:00
committed by Facebook GitHub Bot
parent 0dff0d1537
commit 3517ee1bcb
3 changed files with 18 additions and 11 deletions

View File

@ -186,7 +186,6 @@ class TestRNGExtension(common.TestCase):
@unittest.skipIf(not TEST_CUDA, "CUDA not found")
@unittest.skipIf(IS_WINDOWS, "MSVC have bug compiling this")
class TestTorchLibrary(common.TestCase):
def test_torch_library(self):