Skip to content

Commit 1125566

Browse files
pbelevichfacebook-github-bot
authored andcommitted
Disable test_cpu_parallel on Sandcatle (#110)
Summary: Pull Request resolved: #110 Test Plan: Imported from OSS Reviewed By: tugsbayasgalan Differential Revision: D26169115 Pulled By: pbelevich fbshipit-source-id: ee5be85c6cc1e0a762dc084552c0ef8d2d03a130
1 parent a37f5a7 commit 1125566

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_csprng.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ def test_non_contiguous_vs_contiguous(self):
297297
if not x1 <= x < x2 and not y1 <= y < y2 and not z1 <= z < z2:
298298
self.assertTrue(t[x, y, z] == 0)
299299

300+
@unittest.skipIf(IS_SANDCASTLE or IS_FBCODE, "Does not work on Sandcastle")
300301
@unittest.skipIf(torch.get_num_threads() < 2, "requires multithreading CPU")
301302
def test_cpu_parallel(self):
302303
urandom_gen = csprng.create_random_device_generator('/dev/urandom')

0 commit comments

Comments
 (0)