fast-stable-diffusion: KeyError: "Stable Diffusion XL"

This started happening today - on every single model I tried. Automatic1111 has pushed v1.5.0 (with SD XL support 😃 to the main branch, so I think it’s related:

Traceback (most recent call last):
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 61, in <module>
    from modules import shared, sd_samplers, upscaler, extensions, localization, ui_tempdir, ui_extra_networks, config_states
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_samplers.py", line 1, in <module>
    from modules import sd_samplers_compvis, sd_samplers_kdiffusion, shared
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_samplers_compvis.py", line 9, in <module>
    from modules import sd_samplers_common, prompt_parser, shared
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_samplers_common.py", line 5, in <module>
    from modules import devices, processing, images, sd_vae_approx, sd_samplers, sd_vae_taesd
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/processing.py", line 16, in <module>
    import modules.sd_hijack
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_hijack.py", line 5, in <module>
    import modules.textual_inversion.textual_inversion
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 16, in <module>
    from modules import shared, devices, sd_hijack, processing, sd_models, images, sd_samplers, sd_hijack_checkpoint, errors, hashes
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 17, in <module>
    from modules import paths, shared, modelloader, devices, script_callbacks, sd_vae, sd_disable_initialization, errors, hashes, sd_models_config, sd_unet, sd_models_xl
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models_config.py", line 9, in <module>
    sd_xl_repo_configs_path = os.path.join(paths.paths['Stable Diffusion XL'], "configs", "inference")
KeyError: 'Stable Diffusion XL'

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Comments: 28 (11 by maintainers)

Most upvoted comments

ARIGATOšŸ˜

to make sure it’s not some extension you installed, try running the notebook without the first cell

even in colab pro, you need to set it manually to high RAM

you’re using 12GB of RAM, change your runtime to ā€œHigh-RAMā€

@mmehrle put it in ā€œMODEL_LINKā€ not PATH

use the model link for now, will add sdxl shortly

use the latest notebook, the notebook was updated to be compatible with 1.5.0