webui forge报错:AssertionError: Torch is not able to use GPU
因为自己的torch安装在自己的conda环境里,实在不想用一个整合包又下一个torch,所以直接跳过检测。
./webui/modules/launch_utils.py 中 432行
if not args.skip_torch_cuda_test and not check_run_python("import torch; assert torch.cuda.is_available()"):
pass
'''raise RuntimeError(
'Torch is not able to use GPU; '
'add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check'
)'''
直接注释掉得了