File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -104,25 +104,20 @@ Conda should be able to detect the existence of a GPU on your machine and instal
104
104
105
105
.. code-block :: bash
106
106
107
- # CPU only
108
- conda install -c conda-forge py-xgboost- cpu
109
- # Use NVIDIA GPU
110
- conda install -c conda-forge py-xgboost-gpu
107
+ # CPU variant
108
+ conda install -c conda-forge py-xgboost= * = cpu*
109
+ # GPU variant
110
+ conda install -c conda-forge py-xgboost= * =cuda *
111
111
112
112
To force the installation of the GPU variant on a machine that does not have an NVIDIA GPU, use environment variable ``CONDA_OVERRIDE_CUDA ``,
113
113
as described in `"Managing Virtual Packages" in the conda docs <https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-virtual.html >`_.
114
114
115
115
.. code-block :: bash
116
116
117
- export CONDA_OVERRIDE_CUDA=" 12.5 "
118
- conda install -c conda-forge py-xgboost-gpu
117
+ export CONDA_OVERRIDE_CUDA=" 12.8 "
118
+ conda install -c conda-forge py-xgboost= * =cuda *
119
119
120
- Visit the `Miniconda website <https://docs.conda.io/en/latest/miniconda.html >`_ to obtain Conda.
121
-
122
- .. note :: ``py-xgboost-gpu`` not available on Windows.
123
-
124
- The ``py-xgboost-gpu `` is currently not available on Windows. If you are using Windows,
125
- please use ``pip `` to install XGBoost with GPU support.
120
+ You can install Conda from the following link: `Download the conda-forge Installer <https://conda-forge.org/download/ >`_.
126
121
127
122
R
128
123
-
You can’t perform that action at this time.
0 commit comments