diff --git a/modules/launch_utils.py b/modules/launch_utils.py index af83e62d..ece269ff 100644 --- a/modules/launch_utils.py +++ b/modules/launch_utils.py @@ -432,8 +432,10 @@ def prepare_environment(): args.skip_torch_cuda_test = True if not args.skip_torch_cuda_test and not check_run_python("import torch; assert torch.cuda.is_available()"): raise RuntimeError( - 'Torch is not able to use GPU; ' - 'add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check' + 'Your device does not support the current version of Torch/CUDA! Consider download another version: \n' + 'https://github.com/lllyasviel/stable-diffusion-webui-forge/releases/tag/latest' + # 'Torch is not able to use GPU; ' + # 'add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check' ) startup_timer.record("torch GPU test")