Fix variable name typo in error message for launch.py
COMMANDINE_ARGS -> COMMANDLINE_ARGS
This commit is contained in:
parent
ada901ed66
commit
b8bb14960a
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch")
|
||||||
|
|
||||||
if not skip_torch_cuda_test:
|
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"):
|
if not is_installed("k_diffusion.sampling"):
|
||||||
run_pip(f"install {k_diffusion_package}", "k-diffusion")
|
run_pip(f"install {k_diffusion_package}", "k-diffusion")
|
||||||
|
|
Loading…
Reference in a new issue