Migrate Python C extension to Cython (#3541)

This commit is contained in:
Si-Yuan
2019-01-24 09:17:14 -08:00
committed by Philipp Moritz
parent c1a52b1c86
commit 48139cf861
49 changed files with 1909 additions and 1827 deletions
+2 -2
View File
@@ -112,7 +112,7 @@ class ImportThread(object):
if (utils.decode(run_on_other_drivers) == "False"
and self.worker.mode == ray.SCRIPT_MODE
and driver_id != self.worker.task_driver_id.id()):
and driver_id != self.worker.task_driver_id.binary()):
return
try:
@@ -131,5 +131,5 @@ class ImportThread(object):
self.worker,
ray_constants.FUNCTION_TO_RUN_PUSH_ERROR,
traceback_str,
driver_id=ray.ObjectID(driver_id),
driver_id=ray.DriverID(driver_id),
data={"name": name})