Open jeartisteanonyme opened 1 year ago
I am running on the same issue, "Failed to create model quickly;" followed by "loading stable diffusion model: JSONDecodeError...". I am running windows 10 64bit with a gtx960, 2gb of vram. I had a previous version of the web-ui working on this same system a few months ago. I Tried updating the gpu drivers, cuda, downgrading from python 3.10.7 to 3.10.6, and updating pip... nothing worked so far.
Deleting cache.json and cache.json.lock in the root dir ended up fixing it for me. Was running some code refactoring and it ended up messing up a lot of stuff (all of my embeddings are corrupted yay), and then i was suddenly getting this error.
I tried deleting cache.json already, but it didn't do it for me. I do not have a cache.json.lock file anywhere tough. I am not doing anything funny with the files other than trying suggested fixes. I also re-downloaded it from git multiple times and it's always the same problem.
same problem here to with windows 11
found it, Delete the "huggingface" dir in .cache folder. the relaunch .bat C:\Users\CURRENTUSER\ .cache\huggingface
found it, Delete the "huggingface" dir in .cache folder. the relaunch .bat C:\Users\CURRENTUSER\ .cache\huggingface
This worked for me too! Thank you so much KeypressHAPPY.
Mac User here, I have a similar error, but a different trace. This happens after trying to run prompts in the browser:
File "/Users/wein/Documents/stable-diffusion-webui/modules/call_queue.py", line 56, in f
res = list(func(*args, **kwargs))
File "/Users/wein/Documents/stable-diffusion-webui/modules/ui_common.py", line 46, in save_files
data = json.loads(js_data)
File "/usr/local/Cellar/python@3.10/3.10.10_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/Cellar/python@3.10/3.10.10_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/Cellar/python@3.10/3.10.10_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
found it, Delete the "huggingface" dir in .cache folder. the relaunch .bat C:\Users\CURRENTUSER\ .cache\huggingface
TKU!!! I downloaded the model files again and deleted the following directories C:\Users\kura.cache\huggingface and files cache.json in the root directory.
KeypressHAPPY's solution fixed my issue as well, I wish I knew what caused it in the first place as it was fairly random, but glad to have it working again. Thanks a ton!
Is there an existing issue for this?
What happened?
When I press the webui-user batch, I get this error on the cmd This happened at first time, when installation started and it happens every time
Steps to reproduce the problem
What should have happened?
The programm should start by connecting to the local server
Commit where the problem happens
0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Microsoft Edge
Command Line Arguments
List of extensions
No
Console logs
Additional information
That happened after reinstalling windows. Before reinstall it worked well and nothing happened unless I had faced a conflict with NVIDIA driver. After autoinstallation of NVIDIA driver version 531.18 by NVIDIA GeFroce Experience, my system started to crush every time when Stable Diffusion Web UI was used. Now, With NVIDIA driver 528.49 version, I guess this problem is solved, but suddenly this JSONDecodeError problem appeared and I don't know what am I supposed to do.