Error message under SD.NEXT Version 9bf08c5 #114
-
Hello, I don't know if this is a bug or if Model-Mixer works at all under SD.Next, so I'm asking here first. Does anyone have SD.Next running under Win11 with Model-Mixer? I have quite a few things disabled because I have an AMD graphics card, could it be related to that or rather the SD.Next structure? Error 12:55:58-788895 ERROR Module load: extensions\sd-webui-model-mixer\scripts\model_mixer.py: ImportError ╭───────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────╮ │ C:\Users\TestBuild\Diffusion\automatic\modules\script_loading.py:25 in load_module │ │ │ │ 24 │ │ │ with contextlib.redirect_stdout(io.StringIO()) as stdout: │ │ ❱ 25 │ │ │ │ module_spec.loader.exec_module(module) │ │ 26 │ │ │ setup_logging() # reset since scripts can hijaack logging │ │ in exec_module:883 │ │ in _call_with_frames_removed:241 │ │ │ │ C:\Users\TestBuild\Diffusion\automatic\extensions\sd-webui-model-mixer\scripts\model_mixer.py:34 in │ │ │ │ │ │ 33 from copy import copy, deepcopy │ │ ❱ 34 from modules import script_callbacks, sd_hijack, sd_models, sd_vae, shared, ui_settings, │ │ 35 from modules import scripts, cache, devices, lowvram, deepbooru, images, paths │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ImportError: cannot import name 'ui_settings' from 'modules' (unknown location) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
currently, diff --git a/scripts/model_mixer.py b/scripts/model_mixer.py
index 8f6b5e0..8caf44b 100644
--- a/scripts/model_mixer.py
+++ b/scripts/model_mixer.py
@@ -31,7 +31,7 @@ import numpy as np
from PIL import Image
from copy import copy, deepcopy
-from modules import script_callbacks, sd_hijack, sd_models, sd_vae, shared, ui_settings, ui_common
+from modules import script_callbacks, sd_hijack, sd_models, sd_vae, shared, ui_common
from modules import scripts, cache, devices, lowvram, deepbooru, images, paths
from modules import sd_unet
from modules.generation_parameters_copypaste import parse_generation_parameters you can try deleting |
Beta Was this translation helpful? Give feedback.
-
Thanks, but unfortunately it didn't work. Then came the next error: SD_Unet, I deleted it, then came cache, import deleted, then came a cache error. Unfortunately it doesn't seem to work with SD.Next in this state. Since I have no idea about python, I don't want to mess around with it too much^^ |
Beta Was this translation helpful? Give feedback.
-
#116 minimal fixes applied to support SD.Next. |
Beta Was this translation helpful? Give feedback.
#116 minimal fixes applied to support SD.Next.