Skip to content

Commit

Permalink
Fixed failing GPU test.
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelalonsojr committed Oct 4, 2024
1 parent e70d023 commit 9d34978
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ml-agents/mlagents/trainers/tests/test_torch_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"device_str, expected_type, expected_index, expected_tensor_type",
[
("cpu", "cpu", None, torch.float32),
("cuda", "cuda", None, torch.cuda.FloatTensor),
("cuda:42", "cuda", 42, torch.cuda.FloatTensor),
("cuda", "cuda", None, torch.float32),
("cuda:42", "cuda", 42, torch.float32),
("opengl", "opengl", None, torch.float32),
],
)
Expand Down

0 comments on commit 9d34978

Please sign in to comment.