TheLastBen / fast-stable-diffusion

fast-stable-diffusion + DreamBooth
MIT License
7.52k stars 1.31k forks source link

This problem keeps pop up every single time. #2093

Open MrAshbury20 opened 1 year ago

MrAshbury20 commented 1 year ago

ControlNet v1.1.130 ControlNet v1.1.130 Loading weights [f20c91bd27] from /content/gdrive/MyDrive/sd/stable-diffusion-webui/models/Stable-diffusion/model.safetensors Creating model from config: /content/gdrive/MyDrive/sd/stable-diffusion-webui/configs/v1-inference.yaml LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params. Applying scaled dot product cross attention optimization. Textual inversion embeddings loaded(0): Model loaded in 50.2s (load weights from disk: 42.3s, create model: 1.8s, apply weights to model: 3.9s, apply half(): 1.2s, move model to device: 0.9s). Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 337, in webui() File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 240, in webui shared.demo = modules.ui.create_ui();shared.demo.queue(concurrency_count=999999,status_update_rate=0.1) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/ui.py", line 461, in create_ui txt2img_prompt, txt2img_prompt_styles, txt2img_negativeprompt, submit, , _, txt2img_prompt_style_apply, txt2img_save_style, txt2img_paste, extra_networks_button, token_counter, token_button, negative_token_counter, negative_token_button = create_toprow(is_img2img=False) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/ui.py", line 309, in create_toprow skip.click( File "/usr/local/lib/python3.10/dist-packages/gradio/events.py", line 129, in call dep, dep_index = self.trigger.set_event_trigger( TypeError: Block.set_event_trigger() got an unexpected keyword argument 'trigger_after'

MrAshbury20 commented 1 year ago

whenever I upload a model it doesn't work as well !

MrAshbury20 commented 1 year ago

ControlNet v1.1.130 ControlNet v1.1.130 Calculating sha256 for /content/gdrive/MyDrive/sd/stable-diffusion-webui/models/Stable-diffusion/model.ckpt: f20c91bd271f0dd16a15a2e2f856602f42913ce1872993b0cbaaaeff9f1bd9b7 Loading weights [f20c91bd27] from /content/gdrive/MyDrive/sd/stable-diffusion-webui/models/Stable-diffusion/model.ckpt loading stable diffusion model: UnpicklingError Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 136, in initialize modules.sd_models.load_model() File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 407, in load_model state_dict = get_checkpoint_state_dict(checkpoint_info, timer) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 262, in get_checkpoint_state_dict res = read_state_dict(checkpoint_info.filename) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 243, in read_state_dict pl_sd = torch.load(checkpoint_file, map_location=map_location or shared.weight_load_location) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/safe.py", line 106, in load return load_with_extra(filename, extra_handler=global_extra_handler, *args, *kwargs) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/safe.py", line 151, in load_with_extra return unsafe_torch_load(filename, args, kwargs) File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 815, in load return _legacy_load(opened_file, map_location, pickle_module, pickle_load_args) File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 1033, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, '\x1c'.

Stable diffusion model failed to load, exiting

maloadjav commented 1 year ago

i have the problem too

TheLastBen commented 1 year ago

if the model is safetensors, you need to tick the box "safetensors"