Skip to content

Commit 9d34978

Browse files
Fixed failing GPU test.
1 parent e70d023 commit 9d34978

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ml-agents/mlagents/trainers/tests/test_torch_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"device_str, expected_type, expected_index, expected_tensor_type",
1212
[
1313
("cpu", "cpu", None, torch.float32),
14-
("cuda", "cuda", None, torch.cuda.FloatTensor),
15-
("cuda:42", "cuda", 42, torch.cuda.FloatTensor),
14+
("cuda", "cuda", None, torch.float32),
15+
("cuda:42", "cuda", 42, torch.float32),
1616
("opengl", "opengl", None, torch.float32),
1717
],
1818
)

0 commit comments

Comments
 (0)