Skip to content

Commit 1b4460c

Browse files
committed
Upgrade to ray 2.9.0
1 parent f5b2c12 commit 1b4460c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
IS_NOT_WINDOWS = os.name != "nt"
1515

16-
PARALLEL_REQUIRE = ["ray[debug,tune]~=2.0.0"]
16+
PARALLEL_REQUIRE = ["ray[debug,tune]~=2.9.0"]
1717
ATARI_REQUIRE = [
1818
"seals[atari]~=0.2.1",
1919
]

src/imitation/scripts/parallel.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,12 @@ def _ray_tune_sacred_wrapper(
188188
`ex.run`) and `reporter`. The function returns the run result.
189189
"""
190190

191-
def inner(config: Mapping[str, Any], reporter) -> Mapping[str, Any]:
191+
def inner(config: Mapping[str, Any]) -> Mapping[str, Any]:
192192
"""Trainable function with the correct signature for `ray.tune`.
193193
194194
Args:
195195
config: Keyword arguments for `ex.run()`, where `ex` is the
196196
`sacred.Experiment` instance associated with `sacred_ex_name`.
197-
reporter: Callback to report progress to Ray.
198197
199198
Returns:
200199
Result from `ray.Run` object.

0 commit comments

Comments
 (0)