[api] Initial API deprecations for Ray 1.0 (#10325)

This commit is contained in:
Eric Liang
2020-08-28 15:03:50 -07:00
committed by GitHub
parent 9c25ca6f5e
commit 519354a39a
75 changed files with 223 additions and 2414 deletions
+1 -1
View File
@@ -360,7 +360,7 @@ cdef execute_task(
CFiberEvent task_done_event
# Automatically restrict the GPUs available to this task.
ray.utils.set_cuda_visible_devices(ray.get_gpu_ids(as_str=True))
ray.utils.set_cuda_visible_devices(ray.get_gpu_ids())
function_descriptor = CFunctionDescriptorToPython(
ray_function.GetFunctionDescriptor())