Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: No longer works in SD Forge after Forge upgraded to Gradio 4. #434

Open
2 tasks done
rbrtwtrs opened this issue Jul 29, 2024 · 7 comments
Open
2 tasks done

Comments

@rbrtwtrs
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits of both this extension and the webui

Is EasyPhoto the latest version?

  • I have updated EasyPhoto to the latest version and the bug still exists.

What happened?

https://github.com/lllyasviel/stable-diffusion-webui-forge upgraded to Gradio 4 + WebUI 1.10. This has broken a number of Extensions including EasyPhoto.

Steps to reproduce the problem

  1. Update stable -diffusion-webui-forge

What should have happened?

No tab visible

Commit where the problem happens

webui:
EastPhoto:

What browsers do you use to access the UI ?

Brave

Command Line Arguments

Launching from Stability Matrix

List of enabled extensions

Screenshot 2024-07-29 133259

Console logs

Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: f1.0.2v1.10.1-previous-37-g3bc9402d
Commit hash: 3bc9402de9f906dd5df504c1f24d88589c2d3074
Installing requirements
C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-inpaint-background\install.py:2: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources
C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-reactor\install.py:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources
CUDA 12.1
C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\extensions-builtin\forge_legacy_preprocessors\install.py:2: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources
C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\extensions-builtin\sd_forge_controlnet\install.py:2: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources
Launching Web UI with arguments: --gradio-allowed-path 'C:\StabilityMatrix\Data\Images'
Total VRAM 24564 MB, total RAM 64729 MB
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3090 Ti : native
Hint: your device supports --pin-shared-memory for potential speed improvements.
Hint: your device supports --cuda-malloc for potential speed improvements.
Hint: your device supports --cuda-stream for potential speed improvements.
VAE dtype: torch.bfloat16
CUDA Stream Activated:  False
2024-07-29 13:19:18.645936: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2024-07-29 13:19:19.581243: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
Using pytorch cross attention
ControlNet preprocessor location: C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\models\ControlNetPreprocessor
[-] ADetailer initialized. version: 24.6.0, num models: 19
[sdwi2iextender] Developper warning:
[sdwi2iextender] ./modules/img2img.py is being recompiled at run time with a patch. Your debugger will not work in this file.
[sdwi2iextender] If you need debug tools in this file, disable all extensions that use the sdwi2iextender library.
[sdwi2iextender] This patch is temporary and will be removed when v1.9 will be released.
sd-webui-prompt-all-in-one background API service started successfully.
13:19:30 - ReActor - STATUS - Running v0.7.1-a1 on Device: CUDA
Loading weights [8b886bbe13] from C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\models\Stable-diffusion\mklanRealisticPony_nextgenPonyv1.safetensors
*** Error calling: C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-ar_xhox\scripts\sd-webui-ar.py/ui
    Traceback (most recent call last):
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\modules\scripts.py", line 545, in wrap_call
        return func(*args, **kwargs)
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-ar_xhox\scripts\sd-webui-ar.py", line 348, in ui
        btns = [
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-ar_xhox\scripts\sd-webui-ar.py", line 349, in <listcomp>
        ARButton(ar=ar, value=label)
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-ar_xhox\scripts\sd-webui-ar.py", line 31, in __init__
        super().__init__(**kwargs)
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\modules\ui_components.py", line 23, in __init__
        super().__init__(*args, elem_classes=["tool", *elem_classes], value=value, **kwargs)
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\modules\gradio_extensions.py", line 126, in __repaired_init__
        original(self, *args, **fixed_kwargs)
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\venv\lib\site-packages\gradio\component_meta.py", line 163, in wrapper
        return fn(self, **kwargs)
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\venv\lib\site-packages\gradio\components\button.py", line 61, in __init__
        super().__init__(
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\modules\gradio_extensions.py", line 35, in IOComponent_init
        res = original_IOComponent_init(self, *args, **kwargs)
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\venv\lib\site-packages\gradio\component_meta.py", line 163, in wrapper
        return fn(self, **kwargs)
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\venv\lib\site-packages\gradio\components\base.py", line 224, in __init__
        self.component_class_id = self.__class__.get_component_class_id()
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\venv\lib\site-packages\gradio\components\base.py", line 118, in get_component_class_id
        module_path = sys.modules[module_name].__file__
    KeyError: 'sd-webui-ar.py'

---
model_type EPS
UNet ADM Dimension 2816
*** Error calling: C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-ar_xhox\scripts\sd-webui-ar.py/ui
    Traceback (most recent call last):
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\modules\scripts.py", line 545, in wrap_call
        return func(*args, **kwargs)
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-ar_xhox\scripts\sd-webui-ar.py", line 348, in ui
        btns = [
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-ar_xhox\scripts\sd-webui-ar.py", line 349, in <listcomp>
        ARButton(ar=ar, value=label)
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-ar_xhox\scripts\sd-webui-ar.py", line 31, in __init__
        super().__init__(**kwargs)
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\modules\ui_components.py", line 23, in __init__
        super().__init__(*args, elem_classes=["tool", *elem_classes], value=value, **kwargs)
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\modules\gradio_extensions.py", line 126, in __repaired_init__
        original(self, *args, **fixed_kwargs)
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\venv\lib\site-packages\gradio\component_meta.py", line 163, in wrapper
        return fn(self, **kwargs)
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\venv\lib\site-packages\gradio\components\button.py", line 61, in __init__
        super().__init__(
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\modules\gradio_extensions.py", line 35, in IOComponent_init
        res = original_IOComponent_init(self, *args, **kwargs)
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\venv\lib\site-packages\gradio\component_meta.py", line 163, in wrapper
        return fn(self, **kwargs)
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\venv\lib\site-packages\gradio\components\base.py", line 224, in __init__
        self.component_class_id = self.__class__.get_component_class_id()
      File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\venv\lib\site-packages\gradio\components\base.py", line 118, in get_component_class_id
        module_path = sys.modules[module_name].__file__
    KeyError: 'sd-webui-ar.py'

---
2024-07-29 13:19:33,765 - ControlNet - INFO - ControlNet UI callback registered.
Using pytorch attention in VAE
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
Using pytorch attention in VAE
Running on local URL:  http://127.0.0.1:7860
extra {'cond_stage_model.clip_l.logit_scale', 'cond_stage_model.clip_l.text_projection', 'cond_stage_model.clip_g.transformer.text_model.embeddings.position_ids'}

To create a public link, set `share=True` in `launch()`.
Startup time: 72.4s (prepare environment: 42.3s, launcher: 2.3s, import torch: 5.2s, setup paths: 4.2s, initialize shared: 0.3s, other imports: 0.8s, list SD models: 0.2s, load scripts: 6.9s, create ui: 5.0s, gradio launch: 3.3s, app_started_callback: 1.8s).
To load target model SDXLClipModel
Begin to load 1 model
[Memory Management] Current Free GPU Memory (MB) =  23291.7470703125
[Memory Management] Model Memory (MB) =  2144.3546981811523
[Memory Management] Minimal Inference Memory (MB) =  1024.0
[Memory Management] Estimated Remaining GPU Memory (MB) =  20123.392372131348
Moving model(s) has taken 0.45 seconds
Model loaded in 11.0s (calculate hash: 0.1s, forge instantiate config: 1.4s, forge load real models: 5.1s, forge finalize: 1.2s, load textual inversion embeddings: 2.4s, calculate empty prompt: 0.7s).

Additional information

No response

@xam0482
Copy link

xam0482 commented Jul 31, 2024

sd-webui-ar 这个插件 按钮继承 ToolButton>gr.Button
sys.modules[module_name] 中没有 sd-webui-ar 然后报错
gradio 类继承 修改了

我搞两天了也没搞明白

@rbrtwtrs
Copy link
Author

rbrtwtrs commented Aug 2, 2024

Still fails without sd-webui-ar enabled. There is no EasyPhoto Tab but there is an accordion tab with "Dynamic Lora Weights (EasyPhoto builtin)"
There is an open issue at https://github.com/lllyasviel/stable-diffusion-webui-forge/issues

Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: f1.0.2v1.10.1-previous-62-ge3522c89
Commit hash: e3522c89191a01e0dd5855abbfd15cb685be3634
Installing requirements
is_installed check for tensorflow-cpu failed as 'spec is None'
Installing requirements for easyphoto-webui
Installing requirements for tensorflow
C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-inpaint-background\install.py:2: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-reactor\install.py:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
CUDA 12.1
C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\extensions-builtin\forge_legacy_preprocessors\install.py:2: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\extensions-builtin\sd_forge_controlnet\install.py:2: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Launching Web UI with arguments: --gradio-allowed-path 'C:\StabilityMatrix\Data\Images'
Total VRAM 24564 MB, total RAM 64729 MB
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3090 Ti : native
Hint: your device supports --pin-shared-memory for potential speed improvements.
Hint: your device supports --cuda-malloc for potential speed improvements.
Hint: your device supports --cuda-stream for potential speed improvements.
VAE dtype: torch.bfloat16
CUDA Stream Activated: False
2024-08-01 16:37:19.132073: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
2024-08-01 16:37:20.164853: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
Using pytorch cross attention
Using pytorch cross attention
ControlNet preprocessor location: C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\models\ControlNetPreprocessor
[-] ADetailer initialized. version: 24.6.0, num models: 19
2024-08-01 16:37:30,146 - modelscope - INFO - PyTorch version 2.1.2+cu121 Found.
2024-08-01 16:37:30,162 - modelscope - INFO - TensorFlow version 2.16.1 Found.
2024-08-01 16:37:30,162 - modelscope - INFO - Loading ast index from C:\Users\rbrtw.cache\modelscope\ast_indexer
2024-08-01 16:37:30,630 - modelscope - INFO - Loading done! Current index file version is 1.9.3, with md5 e81d9fa8efecccbceabbbe9926052339 and a total number of 943 components indexed
[sdwi2iextender] Developper warning:
[sdwi2iextender] ./modules/img2img.py is being recompiled at run time with a patch. Your debugger will not work in this file.
[sdwi2iextender] If you need debug tools in this file, disable all extensions that use the sdwi2iextender library.
[sdwi2iextender] This patch is temporary and will be removed when v1.9 will be released.
sd-webui-prompt-all-in-one background API service started successfully.
16:37:34 - ReActor - STATUS - Running v0.7.1-a1 on Device: CUDA
Loading weights [8557e300af] from C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\models\Stable-diffusion\afroditexlNSFW_20.safetensors
AnimateDiffScript init
AnimateDiffScript init
Skipped: unet = diffusers.UNet2DConditionModel
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
model_type EPS
UNet ADM Dimension 2816
2024-08-01 16:37:38,075 - ControlNet - INFO - ControlNet UI callback registered.
*** Error executing callback ui_tabs_callback for C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-EasyPhoto\scripts\easyphoto_ui.py
Traceback (most recent call last):
File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\modules\script_callbacks.py", line 283, in ui_tabs_callback
res += c.callback() or []
File "C:\StabilityMatrix\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-EasyPhoto\scripts\easyphoto_ui.py", line 254, in on_ui_tabs
instance_images = gr.Gallery().style(columns=[4], rows=[2], object_fit="contain", height="auto")
AttributeError: 'Gallery' object has no attribute 'style'


Running on local URL: http://127.0.0.1:7860
To load target model JointCLIP
Begin to load 1 model
[Memory Management] Current Free GPU Memory (MB) = 23291.7470703125
[Memory Management] Model Memory (MB) = 1753.803913116455
[Memory Management] Minimal Inference Memory (MB) = 1024.0
[Memory Management] Estimated Remaining GPU Memory (MB) = 20513.943157196045

To create a public link, set share=True in launch().
Startup time: 63.0s (prepare environment: 28.1s, launcher: 2.4s, import torch: 5.7s, setup paths: 4.8s, initialize shared: 0.3s, other imports: 1.1s, opts onchange: 0.3s, list SD models: 0.2s, load scripts: 9.5s, create ui: 5.6s, gradio launch: 3.4s, app_started_callback: 1.4s).
Moving model(s) has taken 3.40 seconds
Model loaded in 10.8s (forge instantiate config: 1.6s, forge load real models: 4.5s, load textual inversion embeddings: 0.8s, calculate empty prompt: 3.7s).

@rbrtwtrs
Copy link
Author

rbrtwtrs commented Aug 2, 2024

The error in the log indicates an issue with the Gallery object in the EasyPhoto extension not having a style attribute. This is likely due to an API change or incompatibility in the Forge upgraded Gradio 4 library.

@skyline9394
Copy link

can some one fix this to get it work for webui forge

@madmax17
Copy link

Doesn't show up on forge.

@skyline9394
Copy link

skyline9394 commented Nov 13, 2024

https://github.com/skyline9394/webui-forge-EasyPhoto please try got fix the code with chatgpt is only one file have change easyphoto_ui.py download it and replace it restart webui only work on Gradio 4

edit: i have edit webui\modules\sd_models_config.py at this code to last line

`` # Example definition of config_default

config_default = {
'parameter1': 'default_value1',
'parameter2': 'default_value2',
# Add other default configurations as needed
}

config_sdxl = {
'parameter1': 'value1',
'parameter2': 'value2',
# Add other default configurations as needed
}
``

@cschwarzhw
Copy link

I had the same issues. Nothing listed above works.
I installed (then uninstalled) both this original (https://github.com/aigc-apps/sd-webui-EasyPhoto) and then the one for Forge
(https://github.com/skyline9394/webui-forge-EasyPhoto) making sure to carefully following all instructions (although the line above "please try got fix the code with chatgpt is only one file have change" makes no grammatical sense. regardless what I do I still always get the following when it tries to start EasyPhoto (was same errors on both versions).

ControlNet preprocessor location: C:\AI\FORGE\webui_forge_cu121_torch231\webui\models\ControlNetPreprocessor
[-] ADetailer initialized. version: 24.11.0, num models: 10
16:20:36 - ReActor - STATUS - Running v0.7.1-b2 on Device: CUDA
2024-12-06 16:20:36,254 - modelscope - INFO - PyTorch version 2.3.1+cu121 Found.
2024-12-06 16:20:36,261 - modelscope - INFO - TensorFlow version 2.18.0 Found.
2024-12-06 16:20:36,262 - modelscope - INFO - Loading ast index from C:\Users\I345823.cache\modelscope\ast_indexer
2024-12-06 16:20:36,407 - modelscope - INFO - Loading done! Current index file version is 1.9.3, with md5 5e56b36732f547710a7e4a7aeca46404 and a total number of 943 components indexed
*** Error loading script: api.py
Traceback (most recent call last):
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\modules\scripts.py", line 525, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\extensions\webui-forge-EasyPhoto\scripts\api.py", line 11, in
from scripts.easyphoto_infer import easyphoto_infer_forward, easyphoto_video_infer_forward
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\extensions\webui-forge-EasyPhoto\scripts\easyphoto_infer.py", line 35, in
from scripts.easyphoto_utils import (
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\extensions\webui-forge-EasyPhoto\scripts\easyphoto_utils_init
.py", line 51, in
from .loractl_utils import check_loractl_conflict, LoraCtlScript
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\extensions\webui-forge-EasyPhoto\scripts\easyphoto_utils\loractl_utils.py", line 28, in
raise ImportError("Lora extension is not found.")
ImportError: Lora extension is not found.


*** Error loading script: easyphoto_infer.py
Traceback (most recent call last):
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\modules\scripts.py", line 525, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\extensions\webui-forge-EasyPhoto\scripts\easyphoto_infer.py", line 35, in
from scripts.easyphoto_utils import (
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\extensions\webui-forge-EasyPhoto\scripts\easyphoto_utils_init
.py", line 51, in
from .loractl_utils import check_loractl_conflict, LoraCtlScript
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\extensions\webui-forge-EasyPhoto\scripts\easyphoto_utils\loractl_utils.py", line 28, in
raise ImportError("Lora extension is not found.")
ImportError: Lora extension is not found.


*** Error loading script: easyphoto_train.py
Traceback (most recent call last):
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\modules\scripts.py", line 525, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\extensions\webui-forge-EasyPhoto\scripts\easyphoto_train.py", line 9, in
from modules.sd_models_config import config_default, config_sdxl
ImportError: cannot import name 'config_default' from 'modules.sd_models_config' (C:\AI\FORGE\webui_forge_cu121_torch231\webui\modules\sd_models_config.py)


*** Error loading script: easyphoto_tryon_infer.py
Traceback (most recent call last):
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\modules\scripts.py", line 525, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\extensions\webui-forge-EasyPhoto\scripts\easyphoto_tryon_infer.py", line 26, in
from scripts.easyphoto_infer import inpaint
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\extensions\webui-forge-EasyPhoto\scripts\easyphoto_infer.py", line 35, in
from scripts.easyphoto_utils import (
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\extensions\webui-forge-EasyPhoto\scripts\easyphoto_utils_init
.py", line 51, in
from .loractl_utils import check_loractl_conflict, LoraCtlScript
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\extensions\webui-forge-EasyPhoto\scripts\easyphoto_utils\loractl_utils.py", line 28, in
raise ImportError("Lora extension is not found.")
ImportError: Lora extension is not found.


*** Error loading script: easyphoto_ui.py
Traceback (most recent call last):
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\modules\scripts.py", line 525, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\extensions\webui-forge-EasyPhoto\scripts\easyphoto_ui.py", line 9, in
from modules.sd_models_config import config_default, config_sdxl
ImportError: cannot import name 'config_default' from 'modules.sd_models_config' (C:\AI\FORGE\webui_forge_cu121_torch231\webui\modules\sd_models_config.py)


*** Error loading script: sdwebui.py
Traceback (most recent call last):
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\modules\scripts.py", line 525, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\extensions\webui-forge-EasyPhoto\scripts\sdwebui.py", line 21, in
from scripts.easyphoto_utils import (
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\extensions\webui-forge-EasyPhoto\scripts\easyphoto_utils_init
.py", line 51, in
from .loractl_utils import check_loractl_conflict, LoraCtlScript
File "C:\AI\FORGE\webui_forge_cu121_torch231\webui\extensions\webui-forge-EasyPhoto\scripts\easyphoto_utils\loractl_utils.py", line 28, in
raise ImportError("Lora extension is not found.")
ImportError: Lora extension is not found.


Loading additional modules ... done.
2024-12-06 16:20:49,646 - ControlNet - INFO - ControlNet UI callback registered.
Model selected: {'checkpoint_info': {'filename': 'C:\AI\FORGE\webui_forge_cu121_torch231\webui\models\Stable-diffusion\PONY\sevenof9PonyRealMix_theBest.safetensors', 'hash': '17a76172'}, 'additional_modules': [], 'unet_storage_dtype': None}
Using online LoRAs in FP16: False
Running on local URL: http://127.0.0.1:7860

To create a public link, set share=True in launch().
Startup time: 72.0s (prepare environment: 17.1s, launcher: 0.6s, import torch: 33.4s, initialize shared: 0.2s, other imports: 0.3s, load scripts: 5.3s, initialize google blockly: 10.6s, create ui: 2.7s, gradio launch: 1.7s).
Environment vars changed: {'stream': False, 'inference_memory': 1024.0, 'pin_shared_memory': False}
[GPU Setting] You will use 93.75% GPU memory (15359.00 MB) to load weights, and use 6.25% GPU memory (1024.00 MB) to do matrix computation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants