Skip to content

Commit

Permalink
Revert "[client] Hook runtime context (ray-project#13750)"
Browse files Browse the repository at this point in the history
This reverts commit dd1d1dc.
  • Loading branch information
fishbone committed Feb 16, 2021
1 parent 7bd2557 commit 10f6cc5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/ray/runtime_context.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import ray.worker
import logging
from ray._private.client_mode_hook import client_mode_hook

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -150,7 +149,6 @@ def should_capture_child_tasks_in_placement_group(self):
_runtime_context = None


@client_mode_hook
def get_runtime_context():
global _runtime_context
if _runtime_context is None:
Expand Down

0 comments on commit 10f6cc5

Please sign in to comment.