mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-07 00:19:57 +00:00
improve hints
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user