mirror of
https://github.com/wassname/ray.git
synced 2026-07-06 05:16:30 +08:00
[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:
committed by
Richard Liaw
parent
92e44a5dc8
commit
57061a15cf
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user