mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 11:51:09 +08:00
Cleaning up remaining Local Mode Code (#7865)
This commit is contained in:
@@ -921,17 +921,3 @@ class Node:
|
||||
True if any process that wasn't explicitly killed is still alive.
|
||||
"""
|
||||
return not any(self.dead_processes())
|
||||
|
||||
|
||||
# TODO(ilr) Remove this soon
|
||||
class LocalNode:
|
||||
"""Imitate the node that manages the processes in local mode."""
|
||||
|
||||
def kill_all_processes(self, *args, **kwargs):
|
||||
"""Kill all of the processes."""
|
||||
pass # Keep this function empty because it will be used in worker.py
|
||||
|
||||
@property
|
||||
def address_info(self):
|
||||
"""Get a dictionary of addresses."""
|
||||
return {} # Return a null dict.
|
||||
|
||||
Reference in New Issue
Block a user