mirror of
https://github.com/wassname/ray.git
synced 2026-07-10 16:13:36 +08:00
Remove deprecated global state. (#6655)
This commit is contained in:
@@ -102,8 +102,8 @@ from ray._raylet import (
|
||||
_config = _Config()
|
||||
|
||||
from ray.profiling import profile # noqa: E402
|
||||
from ray.state import (global_state, jobs, nodes, actors, tasks, objects,
|
||||
timeline, object_transfer_timeline, cluster_resources,
|
||||
from ray.state import (jobs, nodes, actors, tasks, objects, timeline,
|
||||
object_transfer_timeline, cluster_resources,
|
||||
available_resources, errors) # noqa: E402
|
||||
from ray.worker import (
|
||||
LOCAL_MODE,
|
||||
@@ -136,7 +136,6 @@ from ray.runtime_context import _get_runtime_context # noqa: E402
|
||||
__version__ = "0.9.0.dev0"
|
||||
|
||||
__all__ = [
|
||||
"global_state",
|
||||
"jobs",
|
||||
"nodes",
|
||||
"actors",
|
||||
|
||||
Reference in New Issue
Block a user