From 41d220ae4a0fd8dc18b1a948a744a69259dacd6d Mon Sep 17 00:00:00 2001 From: Ben Jarmak <104460670+jarmak-nv@users.noreply.github.com> Date: Mon, 22 Jul 2024 17:15:38 -0400 Subject: [PATCH] Add CUDA 12.5 to conda nightlys in the selector (#522) --- _includes/selector.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/_includes/selector.html b/_includes/selector.html index ca715d98b82..ee637c40235 100644 --- a/_includes/selector.html +++ b/_includes/selector.html @@ -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"], @@ -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) { @@ -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;