vladmandic / automatic

SD.Next: Advanced Implementation Generative Image Models
https://github.com/vladmandic/automatic
GNU Affero General Public License v3.0
5.76k stars 431 forks source link

[Issue]: TypeError: unhashable type: 'list' #2080

Closed popsoda27 closed 1 year ago

popsoda27 commented 1 year ago

Issue Description

Unable to start program. Console exits after error is shown and pressing any button.

Tried deleting venv folder and letting the program create it afresh but still same error.

sdnext.log did not report any issues with extensions.

Version Platform Description

Using VENV: E:\Downloads\automatic\venv 03:44:28-333518 INFO Starting SD.Next 03:44:28-337518 INFO Python 3.10.6 on Windows 03:44:28-462794 INFO Version: 594f0331 Sat Aug 26 19:35:50 2023 +0300 03:44:28-968411 INFO Using DirectML Backend 03:44:29-157961 INFO Verifying requirements 03:44:29-169465 INFO Verifying packages 03:44:29-171965 INFO Verifying repositories 03:44:34-315349 INFO Verifying submodules 03:45:36-569958 INFO Extensions enabled: ['a1111-sd-webui-lycoris', 'clip-interrogator-ext', 'LDSR', 'Lora', 'multidiffusion-upscaler-for-automatic1111', 'ScuNET', 'sd-dynamic-thresholding', 'sd-extension-system-info', 'sd-webui-agent-scheduler', 'sd-webui-controlnet', 'stable-diffusion-webui-images-browser', 'stable-diffusion-webui-rembg', 'SwinIR', 'adetailer', 'sd-dynamic-prompts', 'sd-webui-infinite-image-browsing', 'sd_civitai_extension', 'ultimate-upscale-for-automatic1111'] 03:45:36-573459 INFO Verifying packages 03:45:36-575459 INFO Updating Wiki 03:45:37-695431 INFO Extension preload: 0.0s E:\Downloads\automatic\extensions-builtin 03:45:37-697932 INFO Extension preload: 0.0s extensions 03:45:37-712936 INFO Server arguments: ['--upgrade', '--use-directml', '--medvram', '--autolaunch']

Relevant log output

Using VENV: E:\Downloads\automatic\venv
03:44:28-333518 INFO     Starting SD.Next
03:44:28-337518 INFO     Python 3.10.6 on Windows
03:44:28-462794 INFO     Version: 594f0331 Sat Aug 26 19:35:50 2023 +0300
03:44:28-968411 INFO     Using DirectML Backend
03:44:29-157961 INFO     Verifying requirements
03:44:29-169465 INFO     Verifying packages
03:44:29-171965 INFO     Verifying repositories
03:44:34-315349 INFO     Verifying submodules
03:45:36-569958 INFO     Extensions enabled: ['a1111-sd-webui-lycoris', 'clip-interrogator-ext', 'LDSR', 'Lora',
                         'multidiffusion-upscaler-for-automatic1111', 'ScuNET', 'sd-dynamic-thresholding',
                         'sd-extension-system-info', 'sd-webui-agent-scheduler', 'sd-webui-controlnet',
                         'stable-diffusion-webui-images-browser', 'stable-diffusion-webui-rembg', 'SwinIR',
                         'adetailer', 'sd-dynamic-prompts', 'sd-webui-infinite-image-browsing', 'sd_civitai_extension',
                         'ultimate-upscale-for-automatic1111']
03:45:36-573459 INFO     Verifying packages
03:45:36-575459 INFO     Updating Wiki
03:45:37-695431 INFO     Extension preload: 0.0s E:\Downloads\automatic\extensions-builtin
03:45:37-697932 INFO     Extension preload: 0.0s extensions
03:45:37-712936 INFO     Server arguments: ['--upgrade', '--use-directml', '--medvram', '--autolaunch']
No module 'xformers'. Proceeding without it.
03:45:45-269485 INFO     Engine: backend=Backend.ORIGINAL
03:45:46-162405 INFO     Libraries loaded
03:45:46-164406 INFO     Using models path:
03:45:46-168906 INFO     Available VAEs: models\VAE items=2
03:45:46-185909 INFO     Available models: models\Stable-diffusion items=11
03:45:49-526823 INFO     ControlNet v1.1.312
ControlNet v1.1.312
ControlNet preprocessor location: E:\Downloads\automatic\extensions-builtin\sd-webui-controlnet\annotator\downloads
03:45:49-680852 INFO     ControlNet v1.1.312
ControlNet v1.1.312
[-] ADetailer initialized. version: 23.8.1, num models: 10
Civitai: API loaded
03:46:02-496154 INFO     Loading UI theme: name=gradio/glass style=Dark
03:46:02-596174 INFO     Extra network created thumbnails: checkpoints 0
03:46:02-711198 INFO     Extra network created thumbnails: lycoris 0
03:46:02-727202 INFO     Extra network created thumbnails: lora 0
03:46:02-740205 INFO     Extra network created thumbnails: hypernetworks 0
┌───────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────┐
│ E:\Downloads\automatic\launch.py:199 in <module>                                                                    │
│                                                                                                                     │
│   198                                                                                                               │
│ > 199     instance = start_server(immediate=True, server=None)                                                      │
│   200     while True:                                                                                               │
│                                                                                                                     │
│ E:\Downloads\automatic\launch.py:144 in start_server                                                                │
│                                                                                                                     │
│   143         else:                                                                                                 │
│ > 144             server = server.webui(restart=not immediate)                                                      │
│   145     if args.profile:                                                                                          │
│                                                                                                                     │
│ E:\Downloads\automatic\webui.py:324 in webui                                                                        │
│                                                                                                                     │
│   323     start_common()                                                                                            │
│ > 324     start_ui()                                                                                                │
│   325     modules.sd_models.write_metadata()                                                                        │
│                                                                                                                     │
│ E:\Downloads\automatic\webui.py:251 in start_ui                                                                     │
│                                                                                                                     │
│   250     startup_timer.record("before-ui")                                                                         │
│ > 251     shared.demo = modules.ui.create_ui(startup_timer)                                                         │
│   252     startup_timer.record("ui")                                                                                │
│                                                                                                                     │
│ E:\Downloads\automatic\modules\ui.py:353 in create_ui                                                               │
│                                                                                                                     │
│    352             with gr.Column(variant='compact', elem_id="txt2img_settings"):                                   │
│ >  353                 modules.sd_samplers.set_samplers()                                                           │
│    354                 steps, sampler_index = create_sampler_and_steps_selection(modules.sd_sam                     │
│                                                                                                                     │
│ E:\Downloads\automatic\modules\sd_samplers.py:65 in set_samplers                                                    │
│                                                                                                                     │
│   64     global samplers, samplers_for_img2img # pylint: disable=global-statement                                   │
│ > 65     shown_img2img = set(shared.opts.show_samplers)                                                             │
│   66     if len(shared.opts.show_samplers) == 0:                                                                    │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
TypeError: unhashable type: 'list'
03:46:02-760708 INFO     Extra network created thumbnails: textual inversion 0
Press any key to continue . . .

sdnext.log output
----------------------------------------------------------------
2023-08-27 03:44:28,333 | sd | INFO | launch | Starting SD.Next
2023-08-27 03:44:28,337 | sd | INFO | installer | Python 3.10.6 on Windows
2023-08-27 03:44:28,462 | sd | INFO | installer | Version: 594f0331 Sat Aug 26 19:35:50 2023 +0300
2023-08-27 03:44:28,967 | sd | DEBUG | installer | Setting environment tuning
2023-08-27 03:44:28,968 | sd | DEBUG | installer | Torch overrides: cuda=False rocm=False ipex=False diml=True openvino=False
2023-08-27 03:44:28,968 | sd | DEBUG | installer | Torch allowed: cuda=False rocm=False ipex=False diml=True openvino=False
2023-08-27 03:44:28,968 | sd | INFO | installer | Using DirectML Backend
2023-08-27 03:44:29,157 | sd | INFO | installer | Verifying requirements
2023-08-27 03:44:29,169 | sd | INFO | installer | Verifying packages
2023-08-27 03:44:29,171 | sd | INFO | installer | Verifying repositories
2023-08-27 03:44:29,386 | sd | DEBUG | installer | Submodule: E:\Downloads\automatic\repositories\stable-diffusion-stability-ai / main
2023-08-27 03:44:30,504 | sd | DEBUG | installer | Submodule: E:\Downloads\automatic\repositories\taming-transformers / master
2023-08-27 03:44:33,453 | sd | DEBUG | installer | Submodule: E:\Downloads\automatic\repositories\BLIP / main
2023-08-27 03:44:34,315 | sd | INFO | installer | Verifying submodules
2023-08-27 03:44:37,607 | sd | DEBUG | installer | Submodule: extensions-builtin/a1111-sd-webui-lycoris / main
2023-08-27 03:44:38,702 | sd | DEBUG | installer | Submodule: extensions-builtin/clip-interrogator-ext / main
2023-08-27 03:44:39,755 | sd | DEBUG | installer | Submodule: extensions-builtin/multidiffusion-upscaler-for-automatic1111 / main
2023-08-27 03:44:40,898 | sd | DEBUG | installer | Submodule: extensions-builtin/sd-dynamic-thresholding / master
2023-08-27 03:44:41,998 | sd | DEBUG | installer | Submodule: extensions-builtin/sd-extension-system-info / main
2023-08-27 03:44:43,136 | sd | DEBUG | installer | Submodule: extensions-builtin/sd-webui-agent-scheduler / main
2023-08-27 03:44:44,231 | sd | DEBUG | installer | Submodule: extensions-builtin/sd-webui-controlnet / main
2023-08-27 03:44:45,331 | sd | DEBUG | installer | Submodule: extensions-builtin/stable-diffusion-webui-images-browser / main
2023-08-27 03:44:46,416 | sd | DEBUG | installer | Submodule: extensions-builtin/stable-diffusion-webui-rembg / master
2023-08-27 03:44:47,472 | sd | DEBUG | installer | Submodule: modules/lora / main
2023-08-27 03:44:48,550 | sd | DEBUG | installer | Submodule: modules/lycoris / main
2023-08-27 03:44:49,629 | sd | DEBUG | installer | Submodule: wiki / master
2023-08-27 03:44:50,853 | sd | DEBUG | installer | Installed packages: 227
2023-08-27 03:44:50,853 | sd | DEBUG | installer | Extensions all: ['a1111-sd-webui-lycoris', 'clip-interrogator-ext', 'LDSR', 'Lora', 'multidiffusion-upscaler-for-automatic1111', 'ScuNET', 'sd-dynamic-thresholding', 'sd-extension-system-info', 'sd-webui-agent-scheduler', 'sd-webui-controlnet', 'stable-diffusion-webui-images-browser', 'stable-diffusion-webui-rembg', 'SwinIR']
2023-08-27 03:44:51,065 | sd | DEBUG | installer | Submodule: E:\Downloads\automatic\extensions-builtin\a1111-sd-webui-lycoris / main
2023-08-27 03:44:52,463 | sd | DEBUG | installer | Submodule: E:\Downloads\automatic\extensions-builtin\clip-interrogator-ext / main
2023-08-27 03:44:53,337 | sd | DEBUG | installer | Running extension installer: E:\Downloads\automatic\extensions-builtin\clip-interrogator-ext\install.py
2023-08-27 03:45:02,274 | sd | DEBUG | installer | Submodule: E:\Downloads\automatic\extensions-builtin\multidiffusion-upscaler-for-automatic1111 / main
2023-08-27 03:45:04,881 | sd | DEBUG | installer | Submodule: E:\Downloads\automatic\extensions-builtin\sd-dynamic-thresholding / master
2023-08-27 03:45:06,285 | sd | DEBUG | installer | Submodule: E:\Downloads\automatic\extensions-builtin\sd-extension-system-info / main
2023-08-27 03:45:07,161 | sd | DEBUG | installer | Running extension installer: E:\Downloads\automatic\extensions-builtin\sd-extension-system-info\install.py
2023-08-27 03:45:08,362 | sd | DEBUG | installer | Submodule: E:\Downloads\automatic\extensions-builtin\sd-webui-agent-scheduler / main
2023-08-27 03:45:09,252 | sd | DEBUG | installer | Running extension installer: E:\Downloads\automatic\extensions-builtin\sd-webui-agent-scheduler\install.py
2023-08-27 03:45:10,451 | sd | DEBUG | installer | Submodule: E:\Downloads\automatic\extensions-builtin\sd-webui-controlnet / main
2023-08-27 03:45:11,334 | sd | DEBUG | installer | Running extension installer: E:\Downloads\automatic\extensions-builtin\sd-webui-controlnet\install.py
2023-08-27 03:45:12,535 | sd | DEBUG | installer | Submodule: E:\Downloads\automatic\extensions-builtin\stable-diffusion-webui-images-browser / main
2023-08-27 03:45:13,411 | sd | DEBUG | installer | Running extension installer: E:\Downloads\automatic\extensions-builtin\stable-diffusion-webui-images-browser\install.py
2023-08-27 03:45:14,617 | sd | DEBUG | installer | Submodule: E:\Downloads\automatic\extensions-builtin\stable-diffusion-webui-rembg / master
2023-08-27 03:45:15,471 | sd | DEBUG | installer | Running extension installer: E:\Downloads\automatic\extensions-builtin\stable-diffusion-webui-rembg\install.py
2023-08-27 03:45:17,617 | sd | DEBUG | installer | Extensions all: ['adetailer', 'sd-dynamic-prompts', 'sd-webui-infinite-image-browsing', 'sd_civitai_extension', 'ultimate-upscale-for-automatic1111']
2023-08-27 03:45:17,827 | sd | DEBUG | installer | Submodule: extensions\adetailer / main
2023-08-27 03:45:18,718 | sd | DEBUG | installer | Running extension installer: E:\Downloads\automatic\extensions\adetailer\install.py
2023-08-27 03:45:19,945 | sd | DEBUG | installer | Submodule: extensions\sd-dynamic-prompts / main
2023-08-27 03:45:20,824 | sd | DEBUG | installer | Running extension installer: E:\Downloads\automatic\extensions\sd-dynamic-prompts\install.py
2023-08-27 03:45:22,063 | sd | DEBUG | installer | Submodule: extensions\sd-webui-infinite-image-browsing / main
2023-08-27 03:45:22,923 | sd | DEBUG | installer | Running extension installer: E:\Downloads\automatic\extensions\sd-webui-infinite-image-browsing\install.py
2023-08-27 03:45:30,321 | sd | DEBUG | installer | Submodule: extensions\sd_civitai_extension / main
2023-08-27 03:45:31,198 | sd | DEBUG | installer | Running extension installer: E:\Downloads\automatic\extensions\sd_civitai_extension\install.py
2023-08-27 03:45:35,404 | sd | DEBUG | installer | Submodule: extensions\ultimate-upscale-for-automatic1111 / master
2023-08-27 03:45:36,569 | sd | INFO | installer | Extensions enabled: ['a1111-sd-webui-lycoris', 'clip-interrogator-ext', 'LDSR', 'Lora', 'multidiffusion-upscaler-for-automatic1111', 'ScuNET', 'sd-dynamic-thresholding', 'sd-extension-system-info', 'sd-webui-agent-scheduler', 'sd-webui-controlnet', 'stable-diffusion-webui-images-browser', 'stable-diffusion-webui-rembg', 'SwinIR', 'adetailer', 'sd-dynamic-prompts', 'sd-webui-infinite-image-browsing', 'sd_civitai_extension', 'ultimate-upscale-for-automatic1111']
2023-08-27 03:45:36,573 | sd | INFO | installer | Verifying packages
2023-08-27 03:45:36,575 | sd | INFO | installer | Updating Wiki
2023-08-27 03:45:36,792 | sd | DEBUG | installer | Submodule: E:\Downloads\automatic\wiki / master
2023-08-27 03:45:37,689 | sd | DEBUG | launch | Setup complete without errors: 1693079138
2023-08-27 03:45:37,695 | sd | INFO | installer | Extension preload: 0.0s E:\Downloads\automatic\extensions-builtin
2023-08-27 03:45:37,697 | sd | INFO | installer | Extension preload: 0.0s extensions
2023-08-27 03:45:37,712 | sd | INFO | launch | Server arguments: ['--upgrade', '--use-directml', '--medvram', '--autolaunch']
2023-08-27 03:45:45,269 | sd | INFO | shared | Engine: backend=Backend.ORIGINAL
2023-08-27 03:45:46,162 | sd | INFO | webui | Libraries loaded
2023-08-27 03:45:46,164 | sd | INFO | webui | Using models path: 
2023-08-27 03:45:46,168 | sd | INFO | sd_vae | Available VAEs: models\VAE items=2
2023-08-27 03:45:46,185 | sd | INFO | sd_models | Available models: models\Stable-diffusion items=11
2023-08-27 03:45:49,526 | ControlNet | INFO | controlnet_version | ControlNet v1.1.312
2023-08-27 03:45:49,680 | ControlNet | INFO | controlnet_version | ControlNet v1.1.312
2023-08-27 03:46:02,496 | sd | INFO | shared | Loading UI theme: name=gradio/glass style=Dark
2023-08-27 03:46:02,596 | sd | INFO | ui_extra_networks | Extra network created thumbnails: checkpoints 0
2023-08-27 03:46:02,711 | sd | INFO | ui_extra_networks | Extra network created thumbnails: lycoris 0
2023-08-27 03:46:02,727 | sd | INFO | ui_extra_networks | Extra network created thumbnails: lora 0
2023-08-27 03:46:02,740 | sd | INFO | ui_extra_networks | Extra network created thumbnails: hypernetworks 0
2023-08-27 03:46:02,760 | sd | INFO | ui_extra_networks | Extra network created thumbnails: textual inversion 0

Backend

Original

Model

SD 1.5

Acknowledgements

vladmandic commented 1 year ago

seems like your sampler list (in settings -> samplers) is invalid. either change it in settings or delete config.json. i've also changed code a bit to handle this error more gracefully.