mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-04-19 08:06:14 +00:00
preparing
This commit is contained in:
parent
1a85b58c24
commit
df9022b582
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user