mirror of
https://github.com/wassname/ray.git
synced 2026-07-14 11:17:54 +08:00
Add ray.internal.free (#2542)
This commit is contained in:
committed by
Robert Nishihara
parent
f13e3e22f2
commit
eeb15771ba
@@ -54,6 +54,7 @@ from ray.worker import (error_info, init, connect, disconnect, get, put, wait,
|
||||
from ray.worker import (SCRIPT_MODE, WORKER_MODE, LOCAL_MODE, SILENT_MODE,
|
||||
PYTHON_MODE) # noqa: E402
|
||||
from ray.worker import global_state # noqa: E402
|
||||
import ray.internal # noqa: E402
|
||||
# We import ray.actor because some code is run in actor.py which initializes
|
||||
# some functions in the worker.
|
||||
import ray.actor # noqa: F401
|
||||
@@ -68,7 +69,7 @@ __all__ = [
|
||||
"remote", "profile", "actor", "method", "get_gpu_ids", "get_resource_ids",
|
||||
"get_webui_url", "register_custom_serializer", "shutdown", "SCRIPT_MODE",
|
||||
"WORKER_MODE", "LOCAL_MODE", "SILENT_MODE", "PYTHON_MODE", "global_state",
|
||||
"ObjectID", "_config", "__version__"
|
||||
"ObjectID", "_config", "__version__", "internal"
|
||||
]
|
||||
|
||||
import ctypes # noqa: E402
|
||||
|
||||
Reference in New Issue
Block a user