Remove dependence on psutil. Add utility functions for getting system memory. (#2892)

This commit is contained in:
Robert Nishihara
2018-09-18 15:03:29 +08:00
committed by Hao Chen
parent 61bf6c6123
commit ea9d1cc887
7 changed files with 88 additions and 25 deletions
+2 -2
View File
@@ -32,8 +32,8 @@ through ``ray.init``, do the following.
ray.init(num_cpus=8, num_gpus=1)
If the number of CPUs is unspecified, Ray will automatically determine the
number by running ``psutil.cpu_count()``. If the number of GPUs is unspecified,
Ray will attempt to automatically detect the number of GPUs.
number by running ``multiprocessing.cpu_count()``. If the number of GPUs is
unspecified, Ray will attempt to automatically detect the number of GPUs.
Specifying a task's CPU and GPU requirements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~