Skip to content

Commit

Permalink
Add ray 1.0 support (#2084)
Browse files Browse the repository at this point in the history
  • Loading branch information
maliesa96 authored Oct 2, 2020
1 parent 70956d1 commit c43eaf7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/tf/trpo_swimmer_ray_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def trpo_swimmer_ray_sampler(ctxt=None, seed=1):
"""
# Since this is an example, we are running ray in a reduced state.
# One can comment this line out in order to run ray at full capacity
ray.init(memory=52428800,
ray.init(_memory=52428800,
object_store_memory=78643200,
ignore_reinit_error=True,
log_to_driver=False,
Expand Down
2 changes: 1 addition & 1 deletion examples/torch/trpo_pendulum_ray_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def trpo_pendulum_ray_sampler(ctxt=None, seed=1):
"""
# Since this is an example, we are running ray in a reduced state.
# One can comment this line out in order to run ray at full capacity
ray.init(memory=52428800,
ray.init(_memory=52428800,
object_store_memory=78643200,
ignore_reinit_error=True,
log_to_driver=False,
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/sampler/ray_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def ray_session_fixture():
"""
if not ray.is_initialized():
ray.init(memory=52428800,
ray.init(_memory=52428800,
object_store_memory=78643200,
ignore_reinit_error=True,
log_to_driver=False,
Expand Down

0 comments on commit c43eaf7

Please sign in to comment.