Skip to content

Commit 2954ec1

Browse files
gforsythbdice
andauthored
docs: selector shows channel priority warning for CUDA 11 installs (#592)
* docs: selector shows channel priority warning for CUDA 11 installs * docs(install): update prose around channel priority * docs: make clear RAPIDS on CUDA 11 won't support strict channel priority * Update install/index.md Co-authored-by: Bradley Dice <[email protected]> --------- Co-authored-by: Bradley Dice <[email protected]>
1 parent e01e09c commit 2954ec1

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

_includes/selector.html

+4-1
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,10 @@
657657
},
658658
getCondaNotes() {
659659
var notes = [];
660-
notes = [...notes, "RAPIDS currently doesn't support <code>channel_priority: strict</code>; use <code>channel_priority: flexible</code> instead"];
660+
if (this.active_conda_cuda_ver.startsWith("11")) {
661+
notes = [...notes, "RAPIDS on CUDA 11 doesn't support <code>channel_priority: strict</code>; use <code>channel_priority: flexible</code> instead"];
662+
}
663+
661664
if (this.active_packages.length === 1 && this.active_packages[0] === "Standard") {
662665
var pkgs_html = this.rapids_meta_pkgs.map(pkg => "<code>" + pkg + "</code>").join(", ");
663666
notes = [...notes, "The <code>Standard</code> selection contains the following packages:<br>" + pkgs_html];

install/index.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,13 @@ bash Miniforge3-$(uname)-$(uname -m).sh
215215

216216
**3. Start Conda.** Open a new terminal window, which should now show Conda initialized.
217217

218-
**4. Check Conda Configuration.** Installing RAPIDS requires you to use `channel_priority: flexible`. You can check this and change it, if required, by doing:
218+
**4. Check Conda Configuration.** Installing RAPIDS may require you to use `channel_priority: flexible`.
219+
220+
If you are installing RAPIDS with CUDA 12 or greater, then you can use either `strict` or `flexible` channel priority.
221+
222+
If you are install RAPIDS with CUDA 11, then you must set `channel_priority: flexible`.
223+
224+
You can check this and change it, if required, by doing:
219225
```sh
220226
conda config --show channel_priority
221227
conda config --set channel_priority flexible

0 commit comments

Comments
 (0)