Add ray.internal.free (#2542)

This commit is contained in:
Yuhong Guo
2018-08-14 22:01:23 -07:00
committed by Robert Nishihara
parent f13e3e22f2
commit eeb15771ba
19 changed files with 346 additions and 2 deletions
+2 -1
View File
@@ -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