stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]:
Checklist
- [X] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [ ] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet
What happened?
python webui.py --listen --no-half --lowvram --xformers
Steps to reproduce the problem
What should have happened?
python webui.py --listen --no-half --lowvram --xformers
What browsers do you use to access the UI ?
Google Chrome
Sysinfo
when load extensions
Console logs
*** Error loading script: hypertile_script.py
Traceback (most recent call last):
File "/mnt/p/home/flyang/stable-diffusion-webui/modules/scripts.py", line 469, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/mnt/p/home/flyang/stable-diffusion-webui/modules/script_loading.py", line 12, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/mnt/p/home/flyang/stable-diffusion-webui/extensions-builtin/hypertile/scripts/hypertile_script.py", line 5, in <module>
from scripts.hypertile_xyz import add_axis_options
ModuleNotFoundError: No module named 'scripts.hypertile_xyz'
Additional information
No response
give the bug reported a title
that's very odd because the file is there
webui/extensions-builtin/hypertile/scripts/hypertile_script.py
can you try to use git status
and git diff
to check if you files have been modified
I add path and couldn't resolve the this issue (base) flyang@MICROSO-5BLU9DN:~/stable-diffusion-webui$ git status On branch master Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add
+++ b/extensions-builtin/Lora/extra_networks_lora.py @@ -27,7 +27,8 @@ class ExtraNetworkLora(extra_networks.ExtraNetwork):
names.append(params.positional[0])
-
te_multiplier = float(params.positional[1]) if len(params.positional) > 1 else 1.0
+# te_multiplier = float(params.positional[1]) if len(params.positional) > 1 else 1.0^M
-
te_multiplier = float(params.positional[1].replace(' ', '')) if len(params.positional) > 1 else 1.0^M te_multiplier = float(params.named.get("te", te_multiplier)) unet_multiplier = float(params.positional[2]) if len(params.positional) > 2 else te_multiplier
diff --git a/extensions-builtin/hypertile/scripts/hypertile_script.py b/extensions-builtin/hypertile/scripts/hypertile_script.py index 395d584b..b1ccf489 100644 --- a/extensions-builtin/hypertile/scripts/hypertile_script.py +++ b/extensions-builtin/hypertile/scripts/hypertile_script.py @@ -1,4 +1,6 @@ import hypertile +import sys^M +sys.path.append('/home/flyang/stable-diffusion-webui/extensions/sd-webui-supermerger/scripts')^M from modules import scripts, script_callbacks, shared from scripts.hypertile_xyz import add_axis_options
diff --git a/modules/extras.py b/modules/extras.py index 2a310ae3..523f3e18 100644 --- a/modules/extras.py +++ b/modules/extras.py @@ -309,7 +309,7 @@ def run_modelmerger(id_task, primary_model_name, secondary_model_name, tertiary_
metadata["sd_merge_recipe"] = json.dumps(merge_recipe)
metadata["sd_merge_models"] = json.dumps(sd_merge_models)
- #svae modules metadata//flyang^M _, extension = os.path.splitext(output_modelname) if extension.lower() == ".safetensors": safetensors.torch.save_file(theta_0, output_modelname, metadata=metadata if len(metadata)>0 else None) diff --git a/modules/script_loading.py b/modules/script_loading.py index 0d55f193..478ce911 100644 --- a/modules/script_loading.py +++ b/modules/script_loading.py @@ -1,6 +1,8 @@ import os import importlib.util
+import sys^M +sys.path.append('/home/flyang/stable-diffusion-webui/extensions/Stable-Diffusion-WebUI-TensorRT/scripts')^M +sys.path.append('/home/flyang/stable-diffusion-webui/extensions/sd-webui-prompt-all-in-one/scripts/physton_prompt')^M
I have the same problem.
me too