Skip to content

Commit

Permalink
fixup! Merge branch 'cv/global-core-worker' into cv/task-arg-by-value
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed Sep 1, 2023
1 parent ebb2ab4 commit 7c9e252
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Ray.jl/src/runtime.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ Currently only used to get the next job ID.
This is set during `init` and used there to get the Job ID for the driver.
"""
const GLOBAL_STATE_ACCESSOR = Ref{ray_jll.GlobalStateAccessor}()
const CORE_WORKER = Ref{ray_jll.CoreWorker}()

# env var to control whether logs are sent do stderr or to file. if "1", sent
# to stderr; otherwise, will be sent to files in `/tmp/ray/session_latest/logs/`
Expand Down Expand Up @@ -105,7 +104,6 @@ function init(runtime_env::Union{RuntimeEnv,Nothing}=nothing;
atexit(ray_jll.shutdown_driver)

_init_global_function_manager(gcs_address)
CORE_WORKER[] = ray_jll.GetCoreWorker()

return nothing
end
Expand Down

0 comments on commit 7c9e252

Please sign in to comment.