Skip to content

Commit b73d3d6

Browse files
bottlerfacebook-github-bot
authored andcommitted
smaller data in specular test
Summary: Reduce the size of the data in this test, so that on circleci it doesn't run out of memory when pytorch (1.6) is used. Reviewed By: gkioxari Differential Revision: D22801490 fbshipit-source-id: 9591253c3d47430facd769a2c51a0b1722e0a305
1 parent 42b5b96 commit b73d3d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_lighting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ def test_specular_batched_arbitrary_input_dims(self):
469469
top K faces per pixel.
470470
"""
471471
device = torch.device("cuda:0")
472-
N, H, W, K = 16, 256, 256, 100
472+
N, H, W, K = 8, 128, 128, 100
473473
color = torch.tensor([1, 0, 1], dtype=torch.float32, device=device)
474474
direction = torch.tensor(
475475
[-1 / np.sqrt(2), 1 / np.sqrt(2), 0], dtype=torch.float32

0 commit comments

Comments
 (0)