preparing

This commit is contained in:
Saifeddine ALOUI 2023-12-31 16:41:20 +01:00
parent 1a85b58c24
commit df9022b582

View File

@ -180,7 +180,7 @@ def check_torch_version(min_version, min_cuda_versio=12):
def reinstall_pytorch_with_cuda():
try:
ASCIIColors.info("Installing cuda 12.1.1")
ASCIIColors.info("Installing cuda 12.1.1") # -c nvidia/label/cuda-12.1.1 -c nvidia -c conda-forge
result = subprocess.run(["conda", "install", "-c", "nvidia/label/cuda-12.1.1", "cuda-toolkit", "-y"])
except Exception as ex:
ASCIIColors.error(ex)