Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions test/test_csprng.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ def test_non_contiguous_vs_contiguous(self):
if not x1 <= x < x2 and not y1 <= y < y2 and not z1 <= z < z2:
self.assertTrue(t[x, y, z] == 0)

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