aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-21 10:32:58 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-09-21 10:32:58 +0300
commit45c46f4cb3d6924882bd944712be168c7c2f605d (patch)
treee761ff7f0d1cd7781e6c8ea0913df29b9d335cd8
parenta8ff0139637f67af848621968f72e8e620c8e575 (diff)
oops
-rw-r--r--launch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/launch.py b/launch.py
index 72d2a5dc..b34dc714 100644
--- a/launch.py
+++ b/launch.py
@@ -106,7 +106,7 @@ if not is_installed("torch"):
run(f'"{python}" -m {torch_command}', "Installing torch", "Couldn't install torch")
if not skip_torch_cuda_test:
- run_python("import torch; assert not torch.cuda.is_available(), 'Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDINE_ARGS variable to disable this check'")
+ run_python("import torch; assert torch.cuda.is_available(), 'Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDINE_ARGS variable to disable this check'")
if not is_installed("k_diffusion.sampling"):
run_pip(f"install {k_diffusion_package}", "k-diffusion")