From 1989157eb6f0162655a5fe3f145f318be60d8ebc Mon Sep 17 00:00:00 2001 From: Edward Yang Date: Mon, 10 Dec 2018 10:40:25 -0800 Subject: [PATCH] Disable test_leaf_variable_sharing on ASAN runs Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/15001 Reviewed By: orionr Differential Revision: D13399119 fbshipit-source-id: 6b1d098e55a67b1f5bc6d08a8ee3c1be8234a654 --- test/test_multiprocessing.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_multiprocessing.py b/test/test_multiprocessing.py index c509d37..f56cd2c 100644 --- a/test/test_multiprocessing.py +++ b/test/test_multiprocessing.py @@ -480,6 +480,9 @@ class TestMultiprocessing(TestCase): var = torch.arange(1., 26).view(5, 5).requires_grad_(requires_grad) self._test_autograd_sharing(var) + # See https://github.com/pytorch/pytorch/issues/14997 + @unittest.skipIf(TEST_WITH_ASAN, + "non-deterministically hangs with ASAN") def test_leaf_variable_sharing(self): devices = ['cpu'] if torch.cuda.is_available() and not NO_MULTIPROCESSING_SPAWN and TEST_CUDA_IPC: -- 2.7.4