mirror of
https://github.com/wassname/ray.git
synced 2026-07-11 20:07:00 +08:00
[tune] Fix broken link in Tune User Guide (#6866)
This commit is contained in:
committed by
Richard Liaw
parent
289e5e8aff
commit
dac6268c5b
@@ -119,7 +119,7 @@ Tune automatically runs N concurrent trials, where N is the number of CPUs (core
|
||||
# If you have 4 CPUs on your machine, this will run 1 trial at a time.
|
||||
tune.run(trainable, num_samples=10, resources_per_trial={"cpu": 4})
|
||||
|
||||
To leverage GPUs, you can set ``gpu`` in ``resources_per_trial``. A trial will only be executed if there are resources available. See the section on`resource allocation <tune-usage#resource-allocation-using-gpus>`_, which provides more details about GPU usage and trials that are distributed:
|
||||
To leverage GPUs, you can set ``gpu`` in ``resources_per_trial``. A trial will only be executed if there are resources available. See the section on `resource allocation <tune-usage.html#resource-allocation-using-gpus>`_, which provides more details about GPU usage and trials that are distributed:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
||||
Reference in New Issue
Block a user