mars
mars copied to clipboard
[Ray] Share RayTaskState across tasks
What do these changes do?
- [x] Share RayTaskState across tasks.
- [x] Remove
create_task_state_actor_as_neededoption. We always lazy create RayTaskState and share the actor across tasks.
Related issue number
Fixes #xxxx
Check code requirements
- [ ] tests added / passed (if needed)
- [ ] Ensure all linting tests pass, see here for how to run them