mirror of
https://github.com/wassname/ray.git
synced 2026-07-24 13:20:22 +08:00
Remove task context from python worker (#5987)
Removes duplicated state between the python and C++ workers. Also cleans up the serialization codepaths a bit.
This commit is contained in:
@@ -2281,7 +2281,7 @@ def test_actor_reconstruction_without_task(ray_start_regular):
|
||||
# put a new object in plasma store.
|
||||
global_worker = ray.worker.global_worker
|
||||
if not global_worker.core_worker.object_exists(obj_id):
|
||||
global_worker.put_object(obj_id, 1)
|
||||
global_worker.put_object(1, obj_id)
|
||||
break
|
||||
|
||||
def get_pid(self):
|
||||
|
||||
Reference in New Issue
Block a user