mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 17:58:35 +08:00
Fixing Redis Key Consistencies for Actor, FunctionTable, FunctionsToRun, and RemoteFunction (#659)
* consistencies for Actor, FunctionTable, and FunctionsToRun * NOT WORKING: changing remote fn keys
This commit is contained in:
committed by
Philipp Moritz
parent
d4d2c03ac5
commit
8d350f628a
+1
-1
@@ -228,7 +228,7 @@ def export_actor(actor_id, class_id, actor_method_names, num_cpus, num_gpus,
|
||||
if worker.mode is None:
|
||||
raise Exception("Actors cannot be created before Ray has been started. "
|
||||
"You can start Ray with 'ray.init()'.")
|
||||
key = "Actor:{}".format(actor_id.id())
|
||||
key = b"Actor:" + actor_id.id()
|
||||
|
||||
# For now, all actor methods have 1 return value.
|
||||
driver_id = worker.task_driver_id.id()
|
||||
|
||||
Reference in New Issue
Block a user