Skip to content

Revert "Minor cleanup pt 2."#69

Merged
tyler-griggs merged 1 commit intomainfrom
revert-67-tgriggs/small-fixes-2
Jul 8, 2025
Merged

Revert "Minor cleanup pt 2."#69
tyler-griggs merged 1 commit intomainfrom
revert-67-tgriggs/small-fixes-2

Conversation

@tyler-griggs
Copy link
Member

@tyler-griggs tyler-griggs commented Jul 8, 2025

Reverts #67

Users are getting errors with the update to _init_tool_groups (from init_tool_groups). Because skyrl-train uses the skyrl-gym package (instead of the source), changes to skyrl-gym are not picked up until a new package is released. Will revert this and fix.

File "/tmp/ray/session_2025-07-08_01-27-39_405126_2918156/runtime_resources/working_dir_files/_ray_pkg_32090e37b3aa13c5/examples/exp/search/env.py", line 31, in
 __init__
    self._init_tool_groups([self.tool_group])
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ExpSearchEnv' object has no attribute '_init_tool_groups'. Did you mean: 'init_tool_groups'?. Did you mean: '_return_value'?

@tyler-griggs tyler-griggs merged commit 98ca21b into main Jul 8, 2025
3 checks passed
@pcmoritz
Copy link
Collaborator

pcmoritz commented Jul 8, 2025

Nice catch! For the time being, it might be worth configuring the pyproject.toml in sky-trainer to use the checked out version of sky-gym, so we can move faster on these kinds of things and not wait for a release. I believe uv should support that.

EDIT: Seems like we also need to symlink it

tyler-griggs added a commit that referenced this pull request Jul 10, 2025
Reverts #67

Users are getting errors with the update to `_init_tool_groups` (from
`init_tool_groups`) related to fixed skyrl-gym. Will revert this and
fix.

```
File "/tmp/ray/session_2025-07-08_01-27-39_405126_2918156/runtime_resources/working_dir_files/_ray_pkg_32090e37b3aa13c5/examples/exp/search/env.py", line 31, in
 __init__
    self._init_tool_groups([self.tool_group])
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ExpSearchEnv' object has no attribute '_init_tool_groups'. Did you mean: 'init_tool_groups'?. Did you mean: '_return_value'?
```
@SumanthRH SumanthRH deleted the revert-67-tgriggs/small-fixes-2 branch July 16, 2025 23:20
fannie1208 pushed a commit to vinid/SkyRL that referenced this pull request Aug 19, 2025
Reverts NovaSky-AI#67

Users are getting errors with the update to `_init_tool_groups` (from
`init_tool_groups`) related to fixed skyrl-gym. Will revert this and
fix.

```
File "/tmp/ray/session_2025-07-08_01-27-39_405126_2918156/runtime_resources/working_dir_files/_ray_pkg_32090e37b3aa13c5/examples/exp/search/env.py", line 31, in
 __init__
    self._init_tool_groups([self.tool_group])
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ExpSearchEnv' object has no attribute '_init_tool_groups'. Did you mean: 'init_tool_groups'?. Did you mean: '_return_value'?
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants