[docs] configure.rst with --num-cpus (#6678)

--num-cpus -> --num-gpus

Signed-off-by: Harrison Feng <feng.harrison@gmail.com>
This commit is contained in:
Harrison Feng
2020-01-03 12:33:41 +08:00
committed by Richard Liaw
parent 92e44a5dc8
commit 57061a15cf
+1 -1
View File
@@ -28,7 +28,7 @@ If not running cluster mode, you can specify cluster resources overrides through
# Specifying custom resources
ray.init(num_gpus=1, resources={'Resource1': 4, 'Resource2': 16})
When starting Ray from the command line, pass the ``--num-cpus`` and ``--num-cpus`` flags into ``ray start``. You can also specify custom resources.
When starting Ray from the command line, pass the ``--num-cpus`` and ``--num-gpus`` flags into ``ray start``. You can also specify custom resources.
.. code-block:: bash