File "C:\stable-diffusion-webui\webui.py", line 136, in initialize
modules.sd_models.load_model()
File "C:\stable-diffusion-webui\modules\sd_models.py", line 445, in load_model
sd_hijack.model_hijack.hijack(sd_model)
File "C:\stable-diffusion-webui\modules\sd_hijack.py", line 172, in hijack
self.optimization_method = apply_optimizations()
File "C:\stable-diffusion-webui\modules\sd_hijack.py", line 42, in apply_optimizations
if cmd_opts.force_enable_xformers or (cmd_opts.xformers and shared.xformers_available and torch.version.cuda and (6, 0) <= torch.cuda.get_device_capability(shared.device) <= (9, 0)):
File "C:\stable-diffusion-webui\venv\lib\site-packages\torch\cuda__init.py", line 357, in get_device_capability
prop = get_device_properties(device)
File "C:\stable-diffusion-webui\venv\lib\site-packages\torch\cuda__init.py", line 371, in get_device_properties
_lazy_init() # will define _get_device_properties
File "C:\stable-diffusion-webui\venv\lib\site-packages\torch\cuda__init__.py", line 229, in _lazy_init
torch._C._cuda_init()
RuntimeError: CUDA unknown error - this may be due to an incorrectly set up environment, e.g. changing env variable CUDA_VISIBLE_DEVICES after program start. Setting the available devices to be zero.
Stable diffusion model failed to load, exiting
Press any key to continue . . .