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
104104
105105.. code-block :: bash
106106
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 *
111111
112112 To force the installation of the GPU variant on a machine that does not have an NVIDIA GPU, use environment variable ``CONDA_OVERRIDE_CUDA ``,
113113as described in `"Managing Virtual Packages" in the conda docs <https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-virtual.html >`_.
114114
115115.. code-block :: bash
116116
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 *
119119
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/ >`_.
126121
127122R
128123-
You can’t perform that action at this time.
0 commit comments