aboutsummaryrefslogtreecommitdiff
path: root/launch.py
diff options
context:
space:
mode:
authorAlex Offshore <offshore@aopdg.com>2022-09-27 17:47:07 +0300
committerGitHub <noreply@github.com>2022-09-27 17:47:07 +0300
commitb8bb14960a55e08a2c69f2d17b129b33e7ae3632 (patch)
treef4ec1ff8daf3f96c896d380f523d37c24df90ab5 /launch.py
parentada901ed661a717c44281d640b8fc0a275d4cb48 (diff)
Fix variable name typo in error message for launch.py
COMMANDINE_ARGS -> COMMANDLINE_ARGS
Diffstat (limited to 'launch.py')
-rw-r--r--launch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/launch.py b/launch.py
index 4462631c..58e28f94 100644
--- a/launch.py
+++ b/launch.py
@@ -108,7 +108,7 @@ if not is_installed("torch") or not is_installed("torchvision"):
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch")
if not skip_torch_cuda_test:
- 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'")
+ run_python("import torch; assert torch.cuda.is_available(), 'Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check'")
if not is_installed("k_diffusion.sampling"):
run_pip(f"install {k_diffusion_package}", "k-diffusion")