From b2e93d2742314cb0594171442d7a4c33b830dca3 Mon Sep 17 00:00:00 2001 From: Jiaming Yuan Date: Wed, 16 Aug 2023 13:35:55 +0800 Subject: [PATCH] [doc] Quick note for the `device` parameter. [skip ci] (#9483) --- doc/parameter.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/parameter.rst b/doc/parameter.rst index fdb4b8357..6e4756ee8 100644 --- a/doc/parameter.rst +++ b/doc/parameter.rst @@ -46,7 +46,7 @@ General Parameters + ``gpu``: Default GPU device selection from the list of available and supported devices. Only ``cuda`` devices are supported currently. + ``gpu:``: Default GPU device selection from the list of available and supported devices. Only ``cuda`` devices are supported currently. - For more information about GPU acceleration, see :doc:`/gpu/index`. + For more information about GPU acceleration, see :doc:`/gpu/index`. In distributed environments, ordinal selection is handled by distributed frameworks instead of XGBoost. As a result, using ``cuda:`` will result in an error. Use ``cuda`` instead. * ``verbosity`` [default=1]