Skip to content

Commit

Permalink
Add CUDA 12.5 to conda nightlys in the selector (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarmak-nv authored Jul 22, 2024
1 parent 7f4b02c commit 41d220a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion _includes/selector.html
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@

// all possible values
python_vers: ["3.9", "3.10", "3.11"],
cuda_vers: ["11.2", "11.8", "12.0", "12.2"],
cuda_vers: ["11.2", "11.8", "12.0", "12.2", "12.5"],
pip_cuda_vers: ["11.2 - 11.8", "12"],
methods: ["Conda", "pip", "Docker"],
releases: ["Stable", "Nightly"],
Expand Down Expand Up @@ -675,6 +675,7 @@
var isDisabled = false;
if (this.active_additional_packages.includes("TensorFlow") && (cuda_version !== "12.0")) isDisabled = true;
if (this.active_method === "Docker" && cuda_version < "11.8") isDisabled = true;
if (this.active_release === "Stable" && cuda_version === "12.5") isDisabled = true;
return isDisabled;
},
disableUnsupportedPython(python_version) {
Expand Down Expand Up @@ -704,6 +705,9 @@
releaseClickHandler(e, release) {
if (this.isDisabled(e.target)) return;
this.active_release = release;
if ( this.active_release === "Stable" && this.active_cuda_ver === "12.5") {
this.active_cuda_ver = "12.2";
}
},
imgTypeClickHandler(e, type) {
if (this.isDisabled(e.target)) return;
Expand Down

0 comments on commit 41d220a

Please sign in to comment.