Skip to content

[RLlib] Fix/torch gpu test#60246

Merged
simonsays1980 merged 26 commits intoray-project:masterfrom
HassamSheikh:fix/torch_gpu_test
Jan 23, 2026
Merged

[RLlib] Fix/torch gpu test#60246
simonsays1980 merged 26 commits intoray-project:masterfrom
HassamSheikh:fix/torch_gpu_test

Conversation

@HassamSheikh
Copy link
Copy Markdown
Contributor

Uncommenting test_torch_rl_module_gpu test in BAZEL.build

@HassamSheikh HassamSheikh requested a review from a team as a code owner January 16, 2026 23:30
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request re-enables the test_torch_rl_module_gpu test in rllib/BUILD.bazel. However, a syntax error was introduced in the process. The size attribute for the py_test is missing a closing quote, which will cause the build to fail. This needs to be fixed.

cursor[bot]

This comment was marked as outdated.

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Hassam Ullah Sheikh <hassamsheikh1@gmail.com>
@HassamSheikh HassamSheikh changed the title Fix/torch gpu test [RLlib] Fix/torch gpu test Jan 16, 2026
@HassamSheikh HassamSheikh added the rllib RLlib related issues label Jan 16, 2026
Signed-off-by: Hassam Sheikh <hassamsheikh1@gmail.com>
Signed-off-by: Hassam Sheikh <hassamsheikh1@gmail.com>
py_test(
name = "test_torch_rl_module_gpu",
main = "core/rl_module/torch/tests/test_torch_rl_module.py",
tags = ["team:rllib", "core", "gpu", "exclusive"],
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nits: by convention, we have tags in the alphabetical order and line-by-line. Check other py_tests for reference.

Copy link
Copy Markdown
Contributor

@kamil-kaczmarek kamil-kaczmarek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit in comments

Signed-off-by: Hassam Sheikh <hassamsheikh1@gmail.com>
Copy link
Copy Markdown
Contributor

@kamil-kaczmarek kamil-kaczmarek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Signed-off-by: Hassam Sheikh <hassamsheikh1@gmail.com>
Signed-off-by: Hassam Sheikh <hassamsheikh1@gmail.com>
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Signed-off-by: Hassam Sheikh <hassamsheikh1@gmail.com>
@HassamSheikh HassamSheikh added the go add ONLY when ready to merge, run all tests label Jan 20, 2026
@ArturNiederfahrenhorst
Copy link
Copy Markdown
Contributor

Not sure why test were failing because not related to PR. Let's try again.

@simonsays1980 simonsays1980 merged commit dd8c987 into ray-project:master Jan 23, 2026
6 checks passed
xinyuangui2 pushed a commit to xinyuangui2/ray that referenced this pull request Jan 26, 2026
jinbum-kim pushed a commit to jinbum-kim/ray that referenced this pull request Jan 29, 2026
Signed-off-by: jinbum-kim <jinbum9958@gmail.com>
400Ping pushed a commit to 400Ping/ray that referenced this pull request Feb 1, 2026
Signed-off-by: 400Ping <jiekaichang@apache.org>
peterxcli pushed a commit to peterxcli/ray that referenced this pull request Feb 25, 2026
Signed-off-by: peterxcli <peterxcli@gmail.com>
peterxcli pushed a commit to peterxcli/ray that referenced this pull request Feb 25, 2026
Signed-off-by: peterxcli <peterxcli@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests rllib RLlib related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants