Skip to content

Commit b2e93d2

Browse files
authored
[doc] Quick note for the device parameter. [skip ci] (dmlc#9483)
1 parent c061e3a commit b2e93d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/parameter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ General Parameters
4646
+ ``gpu``: Default GPU device selection from the list of available and supported devices. Only ``cuda`` devices are supported currently.
4747
+ ``gpu:<ordinal>``: Default GPU device selection from the list of available and supported devices. Only ``cuda`` devices are supported currently.
4848

49-
For more information about GPU acceleration, see :doc:`/gpu/index`.
49+
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:<ordinal>`` will result in an error. Use ``cuda`` instead.
5050

5151
* ``verbosity`` [default=1]
5252

0 commit comments

Comments
 (0)