-
Notifications
You must be signed in to change notification settings - Fork 27.7k
Missing components / tests on Windows #4092
Copy link
Copy link
Closed
Labels
module: testsIssues related to tests (not the torch.testing module)Issues related to tests (not the torch.testing module)module: windowsWindows support for PyTorchWindows support for PyTorchtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Metadata
Metadata
Assignees
Labels
module: testsIssues related to tests (not the torch.testing module)Issues related to tests (not the torch.testing module)module: windowsWindows support for PyTorchWindows support for PyTorchtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
This issue tracks the components / tests that are not working on Windows:
test/test_distributed.py: currently disabled on Windows because Windows doesn't havefcntland we need to look for substitutestorch/csrc/jit/fusion_compiler.cpp: Fuser is disabled on Windows because the current implementation uses symbols from Linux-specific headersdlfcn.handunistd.h. We will need to find alternatives for Windows.test/test_torch.py: some parts oftest_serializationandtest_from_fileare disabled because Windows doesn't support opening an already opened file (see discussion at https://github.com/pytorch/pytorch/pull/4065/files/4a7dfbd12c77850faa4171235b18b9b1540f3f0d#diff-9996665f82f52030836eb8657057cfadR4227 and https://github.com/pytorch/pytorch/pull/4065/files/4a7dfbd12c77850faa4171235b18b9b1540f3f0d#diff-9996665f82f52030836eb8657057cfadR4398)test/test_nccl:ncclcurrently doesn't work with Windows (Windows + Visual Studio port NVIDIA/nccl#31 is the porting diff)test/test_utils.py:test_cudainTestBottleneckcauses intermittent CUDA out-of-memory error on Windowstest/test_utils.py,test/test_dataloader.py: DataLoader with multiple workers causes intermittent CUDA out-of-memory error on Windows.test/test_cpp_extensions.py: this test currently doesn't work on Windows(done in Fix multiprocessing and dataloader tests on Windows #4453)test/test_dataloader.py,test/test_multiprocessing.py: various tests are disabled because there are issues when usingmultiprocessingon Windowstest/test_autograd.py:test_profileris disabled because Windows doesn't havec++filt(see discussion at https://github.com/pytorch/pytorch/pull/4065/files/4a7dfbd12c77850faa4171235b18b9b1540f3f0d#diff-e7525582ab432c30821289d64cc52bc3R1653)Implement MM fusion (MM with add reduction tree) #4615 causes mysterious failures ("RuntimeError: Caught an unknown exception!") in 3 JIT teststest_arg_configurationstest_multiuse_fntest_output_unflattentest/test_torch.py,test/test_nn.py: CUDA HalfTensor currently doesn't work on Windowstest/test_nn.py:test_Conv2d_deterministic_cudnnseems to be stuck on Windowstest/test_cuda.py:Some tests are turned off because CUDA HalfTensor currently doesn't work on Windows. Test logs to look at:https://ci.pytorch.org/jenkins/job/pytorch-builds/job/pytorch-win-ws2016-cuda9-cudnn7-py3-test/57/consoletest_FloatTensor_qr_bigandtest_DoubleTensor_qr_bigare known to stuck or have numerical errors intermittentlyFor more discussions, also see: #2941
cc @mruberry @peterjc123 @nbcsm @guyang3532