We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd83fe6 commit dbfafd8Copy full SHA for dbfafd8
doc/install.rst
@@ -107,6 +107,13 @@ Conda should be able to detect the existence of a GPU on your machine and instal
107
# Use NVIDIA GPU
108
conda install -c conda-forge py-xgboost-gpu
109
110
+To force the installation of the GPU variant on a machine that does not have an NVIDIA GPU, use environment variable ``CONDA_OVERRIDE_CUDA``,
111
+as described in `"Managing Virtual Packages" in the conda docs <https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-virtual.html>`_.
112
+
113
+.. code-block:: bash
114
115
+ export CONDA_OVERRIDE_CUDA="12.5"
116
+ conda install -c conda-forge py-xgboost-gpu
117
118
Visit the `Miniconda website <https://docs.conda.io/en/latest/miniconda.html>`_ to obtain Conda.
119
0 commit comments