Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Small optimizations from accelerated DAG experiment #41418

Merged
merged 12 commits into from
Nov 30, 2023
Prev Previous commit
Next Next commit
clear job id on shutdown
Signed-off-by: Eric Liang <ekhliang@gmail.com>
  • Loading branch information
ericl committed Nov 30, 2023
commit e818378e623f3eb9c49456391590e1f6172259f1
1 change: 1 addition & 0 deletions python/ray/_private/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -1802,6 +1802,7 @@ def shutdown(_exiting_interpreter: bool = False):
# TODO(rkn): Instead of manually resetting some of the worker fields, we
# should simply set "global_worker" to equal "None" or something like that.
global_worker.set_mode(None)
global_worker.set_cached_job_id(None)


atexit.register(shutdown, True)
Expand Down