-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Description
venv "C:\ai\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8
Installing requirements for Web UI
Launching Web UI with arguments:
Matplotlib created a temporary config/cache directory at C:\Users\loren\AppData\Local\Temp\matplotlib-03loug9b because the default path (C:\Users\loren.matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
There was a problem when trying to write in your cache folder (C:\Users\loren/.cache\huggingface\hub). You should set the environment variable TRANSFORMERS_CACHE to a writable directory.
No module 'xformers'. Proceeding without it.
Loading weights [fe4efff1e1] from C:\ai\stable-diffusion-webui\models\Stable-diffusion\sd-v1-4.ckpt
Creating model from config: C:\ai\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Failed to create model quickly; will retry using slow method.
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
loading stable diffusion model: PermissionError
Traceback (most recent call last):
File "C:\ai\stable-diffusion-webui\webui.py", line 111, in initialize
modules.sd_models.load_model()
File "C:\ai\stable-diffusion-webui\modules\sd_models.py", line 406, in load_model
sd_model = instantiate_from_config(sd_config.model)
File "C:\ai\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\util.py", line 79, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "C:\ai\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\models\diffusion\ddpm.py", line 563, in init
self.instantiate_cond_stage(cond_stage_config)
File "C:\ai\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\models\diffusion\ddpm.py", line 630, in instantiate_cond_stage
model = instantiate_from_config(config)
File "C:\ai\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\util.py", line 79, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "C:\ai\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\modules\encoders\modules.py", line 99, in init
self.tokenizer = CLIPTokenizer.from_pretrained(version)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\transformers\tokenization_utils_base.py", line 1760, in from_pretrained
resolved_vocab_files[file_id] = cached_file(
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\transformers\utils\hub.py", line 409, in cached_file
resolved_file = hf_hub_download(
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\utils_validators.py", line 120, in _inner_fn
return fn(*args, **kwargs)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\file_download.py", line 1110, in hf_hub_download
os.makedirs(storage_folder, exist_ok=True)
File "C:\Users\loren\AppData\Local\Programs\Python\Python310\lib\os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "C:\Users\loren\AppData\Local\Programs\Python\Python310\lib\os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "C:\Users\loren\AppData\Local\Programs\Python\Python310\lib\os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "C:\Users\loren\AppData\Local\Programs\Python\Python310\lib\os.py", line 225, in makedirs
mkdir(name, mode)
PermissionError: [WinError 5] Access is denied: 'C:\Users\loren/.cache'
Stable diffusion model failed to load, exiting
Press any key to continue . . .
If someone can figure out what went wrong please help