Skip to content

Commit fbf2536

Browse files
HassamSheikhpeterxcli
authored andcommitted
[RLlib] Fix/torch gpu test (ray-project#60246)
Signed-off-by: peterxcli <peterxcli@gmail.com>
1 parent 65cfdc4 commit fbf2536

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

rllib/BUILD.bazel

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2283,15 +2283,20 @@ py_test(
22832283
deps = [":conftest"],
22842284
)
22852285

2286-
# TODO(Artur): Comment this back in as soon as we can test with GPU
2287-
# py_test(
2288-
# name = "test_torch_rl_module_gpu",
2289-
# main = "core/rl_module/torch/tests/test_torch_rl_module.py",
2290-
# tags = ["team:rllib", "core", "gpu", "exclusive"],
2291-
# size = "medium",
2292-
# srcs = ["core/rl_module/torch/tests/test_torch_rl_module.py"],
2293-
# args = ["TestRLModuleGPU"],
2294-
# )
2286+
py_test(
2287+
name = "test_torch_rl_module_gpu",
2288+
size = "medium",
2289+
srcs = ["core/rl_module/torch/tests/test_torch_rl_module.py"],
2290+
args = ["TestRLModuleGPU"],
2291+
main = "core/rl_module/torch/tests/test_torch_rl_module.py",
2292+
tags = [
2293+
"core",
2294+
"exclusive",
2295+
"gpu",
2296+
"team:rllib",
2297+
],
2298+
deps = [":conftest"],
2299+
)
22952300

22962301
py_test(
22972302
name = "test_multi_rl_module",

0 commit comments

Comments
 (0)