Error when trying to load model
Output:
webui-docker-auto-1 | Loading config from: /stable-diffusion-webui/models/Stable-diffusion/wd-1-4-anime_e1.yaml
webui-docker-auto-1 | LatentDiffusion: Running in eps-prediction mode
webui-docker-auto-1 | Traceback (most recent call last):
webui-docker-auto-1 | File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 284, in run_predict
webui-docker-auto-1 | output = await app.blocks.process_api(
webui-docker-auto-1 | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 982, in process_api
webui-docker-auto-1 | result = await self.call_function(fn_index, inputs, iterator)
webui-docker-auto-1 | File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 824, in call_function
webui-docker-auto-1 | prediction = await anyio.to_thread.run_sync(
webui-docker-auto-1 | File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync
webui-docker-auto-1 | return await get_asynclib().run_sync_in_worker_thread(
webui-docker-auto-1 | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
webui-docker-auto-1 | return await future
webui-docker-auto-1 | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run
webui-docker-auto-1 | result = context.run(func, *args)
webui-docker-auto-1 | File "/stable-diffusion-webui/modules/ui.py", line 1667, in
webui-docker-auto-1 | fn=lambda value, k=k: run_settings_single(value, key=k),
webui-docker-auto-1 | File "/stable-diffusion-webui/modules/ui.py", line 1508, in run_settings_single
webui-docker-auto-1 | if not opts.set(key, value):
webui-docker-auto-1 | File "/stable-diffusion-webui/modules/shared.py", line 454, in set
webui-docker-auto-1 | self.data_labels[key].onchange()
webui-docker-auto-1 | File "/stable-diffusion-webui/webui.py", line 44, in f
webui-docker-auto-1 | res = func(*args, **kwargs)
webui-docker-auto-1 | File "/stable-diffusion-webui/webui.py", line 86, in
webui-docker-auto-1 | shared.opts.onchange("sd_model_checkpoint", wrap_queued_call(lambda: modules.sd_models.reload_model_weights()))
webui-docker-auto-1 | File "/stable-diffusion-webui/modules/sd_models.py", line 279, in reload_model_weights
webui-docker-auto-1 | load_model(checkpoint_info)
webui-docker-auto-1 | File "/stable-diffusion-webui/modules/sd_models.py", line 247, in load_model
webui-docker-auto-1 | sd_model = instantiate_from_config(sd_config.model)
webui-docker-auto-1 | File "/stable-diffusion-webui/repositories/stable-diffusion/ldm/util.py", line 85, in instantiate_from_config
webui-docker-auto-1 | return get_obj_from_str(config["target"])(**config.get("params", dict()))
webui-docker-auto-1 | File "/stable-diffusion-webui/repositories/stable-diffusion/ldm/models/diffusion/ddpm.py", line 448, in init
webui-docker-auto-1 | super().init(conditioning_key=conditioning_key, *args, **kwargs)
webui-docker-auto-1 | File "/stable-diffusion-webui/repositories/stable-diffusion/ldm/models/diffusion/ddpm.py", line 86, in init
webui-docker-auto-1 | self.model = DiffusionWrapper(unet_config, conditioning_key)
webui-docker-auto-1 | File "/stable-diffusion-webui/repositories/stable-diffusion/ldm/models/diffusion/ddpm.py", line 1398, in init
webui-docker-auto-1 | self.diffusion_model = instantiate_from_config(diff_model_config)
webui-docker-auto-1 | File "/stable-diffusion-webui/repositories/stable-diffusion/ldm/util.py", line 85, in instantiate_from_config
webui-docker-auto-1 | return get_obj_from_str(config["target"])(**config.get("params", dict()))
webui-docker-auto-1 | TypeError: UNetModel.init() got an unexpected keyword argument 'use_linear_in_transformer'