mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 21:08:50 +08:00
Move setproctitle to ray[debug] package (#3415)
This commit is contained in:
committed by
Robert Nishihara
parent
20b8b1d891
commit
0d56fc10cc
@@ -56,8 +56,9 @@ class MemoryMonitor(object):
|
||||
if not psutil:
|
||||
logger.warning(
|
||||
"WARNING: Not monitoring node memory since `psutil` is not "
|
||||
"installed. Install this with `pip install psutil` to enable "
|
||||
"debugging of memory-related crashes.")
|
||||
"installed. Install this with `pip install psutil` "
|
||||
"(or ray[debug]) to enable debugging of memory-related "
|
||||
"crashes.")
|
||||
|
||||
def raise_if_low_memory(self):
|
||||
if not psutil:
|
||||
|
||||
Reference in New Issue
Block a user