Skip to content

Commit

Permalink
Simplify TensorFlow CUDA 12 option.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice committed Jul 23, 2024
1 parent 6807a75 commit ab1bbce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/selector.html
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@
return;
}
this.active_additional_packages = [...this.active_additional_packages, package];
if (this.active_additional_packages.includes("TensorFlow") && (!this.active_conda_cuda_ver.includes("12"))) this.active_conda_cuda_ver = "12";
if (this.active_additional_packages.includes("TensorFlow") && this.active_conda_cuda_ver !== "12") this.active_conda_cuda_ver = "12";
},
copyToClipboard() {
let range = document.createRange();
Expand Down

0 comments on commit ab1bbce

Please sign in to comment.