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;