Open mynameisnyke opened 1 year ago
I have a similar issue but on windows, any progress with it?
I download a model without suffix, so I added ".ckpt" and it reported this error, but later I found out that its suffix is ".safetensors",Problem solved.
Same issue but on linux. Resolved by updating the .cpkt
file, which was coming from an outdated link.
Is there an existing issue for this?
What happened?
Trying to run webui.sh for the first time on a GCP n1-standard-4 machine.
`################################################################ Launching launch.py... ################################################################ Python 3.10.9 (main, Dec 15 2022, 10:44:50) [Clang 14.0.0 (clang-1400.0.29.202)] Commit hash: 4af3ca5393151d61363c30eef4965e694eeac15e Installing requirements for Web UI Launching Web UI with arguments: --no-half --use-cpu interrogate Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled No module 'xformers'. Proceeding without it. LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params. Loading weights [d843660f] from /Users/toga/stable-diffusion-webui/models/Stable-diffusion/anime-pencil-diffusion-v4.ckpt Error verifying pickled file from /Users/toga/stable-diffusion-webui/models/Stable-diffusion/anime-pencil-diffusion-v4.ckpt: Traceback (most recent call last): File "/Users/toga/stable-diffusion-webui/modules/safe.py", line 135, in load_with_extra check_pt(filename, extra_handler) File "/Users/toga/stable-diffusion-webui/modules/safe.py", line 93, in check_pt unpickler.load() File "/Users/toga/stable-diffusion-webui/modules/safe.py", line 62, in find_class raise Exception(f"global '{module}/{name}' is forbidden") Exception: global 'torch/BFloat16Storage' is forbidden
The file may be malicious, so the program is not going to read it. You can skip this check with --disable-safe-unpickle commandline argument.
Traceback (most recent call last): File "/Users/toga/stable-diffusion-webui/launch.py", line 295, in
start()
File "/Users/toga/stable-diffusion-webui/launch.py", line 290, in start
webui.webui()
File "/Users/toga/stable-diffusion-webui/webui.py", line 133, in webui
initialize()
File "/Users/toga/stable-diffusion-webui/webui.py", line 63, in initialize
modules.sd_models.load_model()
File "/Users/toga/stable-diffusion-webui/modules/sd_models.py", line 313, in load_model
load_model_weights(sd_model, checkpoint_info)
File "/Users/toga/stable-diffusion-webui/modules/sd_models.py", line 196, in load_model_weights
sd = read_state_dict(checkpoint_file)
File "/Users/toga/stable-diffusion-webui/modules/sd_models.py", line 178, in read_state_dict
sd = get_state_dict_from_checkpoint(pl_sd)
File "/Users/toga/stable-diffusion-webui/modules/sd_models.py", line 152, in get_state_dict_from_checkpoint
pl_sd = pl_sd.pop("state_dict", pl_sd)
AttributeError: 'NoneType' object has no attribute 'pop'`
Steps to reproduce the problem
Follow the install directions for M1 silicon
What should have happened?
The application should run
Commit where the problem happens
master
What platforms do you use to access UI ?
MacOS
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
Additional information, context and logs
n/a