mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 20:56:34 +08:00
[RLlib] MB-MPO cleanup (comments, docstrings, type annotations). (#11033)
This commit is contained in:
@@ -289,7 +289,7 @@ class Trainable:
|
||||
return ""
|
||||
|
||||
def get_current_ip(self):
|
||||
self._local_ip = ray._private.services.get_node_ip_address()
|
||||
self._local_ip = ray.services.get_node_ip_address()
|
||||
return self._local_ip
|
||||
|
||||
def train(self):
|
||||
|
||||
@@ -10,7 +10,7 @@ import traceback
|
||||
import types
|
||||
|
||||
import ray.cloudpickle as cloudpickle
|
||||
from ray._private.services import get_node_ip_address
|
||||
from ray.services import get_node_ip_address
|
||||
from ray.tune import TuneError
|
||||
from ray.tune.stopper import NoopStopper
|
||||
from ray.tune.progress_reporter import trial_progress_str
|
||||
|
||||
Reference in New Issue
Block a user