mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 16:02:03 +08:00
Deprecate 'driver_mode' argument. (#2758)
* Deprecate 'driver_mode' argument. * Fix * Fix
This commit is contained in:
committed by
Philipp Moritz
parent
de047daea7
commit
b7722897b4
@@ -162,7 +162,7 @@ class ImportThread(object):
|
||||
key, ["driver_id", "function", "run_on_other_drivers"])
|
||||
|
||||
if (run_on_other_drivers == "False"
|
||||
and self.worker.mode in [ray.SCRIPT_MODE, ray.SILENT_MODE]
|
||||
and self.worker.mode == ray.SCRIPT_MODE
|
||||
and driver_id != self.worker.task_driver_id.id()):
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user