mirror of
https://github.com/wassname/ray.git
synced 2026-07-20 12:40:20 +08:00
Migrate Python C extension to Cython (#3541)
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user