lllyasviel / sd-forge-layerdiffuse

[WIP] Layer Diffusion for WebUI (via Forge)
Apache License 2.0
3.84k stars 331 forks source link

No module named 'ldm_patched' #18

Closed ShockWave2048 closed 7 months ago

ShockWave2048 commented 7 months ago

Hi layerdiffusion!!! Have some troubles on Windows in A1111 1.8.0

Screenshot_1
wangzijian1010 commented 7 months ago

Hi layerdiffusion!!! Have some troubles on Windows in A1111 1.8.0 Screenshot_1

same question!

huchenlei commented 7 months ago

This extension is for SD forge. Original A1111 is not compatible with this extension.

udaygiri commented 7 months ago

18

To fix the ModuleNotFoundError for ldm_patched in your forge_layerdiffusion.py script, follow these steps:

Check Script Requirements: Ensure you've followed any setup or installation instructions that come with the script.

Verify ldm_patched Installation: Make sure any required custom modules or versions, such as ldm_patched, are correctly installed.

Use Correct Python Environment: Confirm you're running the script in the right Python environment where necessary dependencies are installed.

Install Missing Dependencies: If ldm_patched is a separate installation, locate and install it according to provided instructions or documentation.

Check for Typos: Ensure there are no typos in the import statement in your script.

Seek Documentation/Community Help: Look for any installation instructions in the script's documentation or ask for help in related community forums.

Check Path/Environment Variables: Make sure your Python and script paths are correctly set up, including any needed environment variables.

wangwenqiao666 commented 7 months ago

I have the same question. image

When I update stable diffusion webui, the problem still exists. image

wangwenqiao666 commented 7 months ago

I see. We should download the model: https://pan.quark.cn/s/aba7991d340c#/list/share/e1c768089eac46e287a2facc42c3dc95-layerdiffusion

wangzijian1010 commented 7 months ago

I see. We should download the model: https://pan.quark.cn/s/aba7991d340c#/list/share/e1c768089eac46e287a2facc42c3dc95-layerdiffusion

大佬你好 请问将你链接你们的权重下载下来之后 我应该放在那个位置呢 请问

takidla commented 7 months ago

I have the same error,could somebody help me?thx

Xingeqwd commented 7 months ago

I see. We should download the model: https://pan.quark.cn/s/aba7991d340c#/list/share/e1c768089eac46e287a2facc42c3dc95-layerdiffusion

haha, man! you are my damn hero!

wangwenqiao666 commented 7 months ago

I see. We should download the model: https://pan.quark.cn/s/aba7991d340c#/list/share/e1c768089eac46e287a2facc42c3dc95-layerdiffusion

haha, man! you are my damn hero!

beautiful, did you solve the problem.

Xingeqwd commented 7 months ago

I see. We should download the model: https://pan.quark.cn/s/aba7991d340c#/list/share/e1c768089eac46e287a2facc42c3dc95-layerdiffusion

haha, man! you are my damn hero!

beautiful, did you solve the problem.

solved, but not this problem, haha at least the post Inspire me.

as for me, problem is enviroment problem watching the booting log, i find out this extension has dependence conflict with webui-train-tool

when the WEBUI booting, the train-tool's enviroment install covered the layerdiffusion enviroment layerdiffusion "import" failed, so the exttension not displayed in GUI

shield the conflict part in requirement.txt of webui-train-tools's solved this !

wangwenqiao666 commented 7 months ago

I see. We should download the model: https://pan.quark.cn/s/aba7991d340c#/list/share/e1c768089eac46e287a2facc42c3dc95-layerdiffusion

大佬你好 请问将你链接你们的权重下载下来之后 我应该放在那个位置呢 请问 models\layer_model

erjihaoshi commented 6 months ago

go https://github.com/lllyasviel/stable-diffusion-webui-forge get ldm_patched and modules_forge two dirs move to your web-ui dir/
works for me

VitoChenLY commented 4 months ago

go https://github.com/lllyasviel/stable-diffusion-webui-forge get ldm_patched and modules_forge two dirs move to your web-ui dir/ works for me

It also works for me, I can see layerDiffusion in GUI, but it doesn't works.

phpseven commented 3 months ago

前往https://github.com/lllyasviel/stable-diffusion-webui-forge获取 ldm_patched 和 modules_forge 两个目录 移至你的 web-ui 目录/ 对我有用

it works! 直接复制进来就行了, 当然模型还是要去下载

Grifon75 commented 3 months ago

download AUTOMATIC1111 stable-diffusion-webui 1.8.0 then copy with replacement stable-diffusion-webui-forge. You also copy system and venv from your working version there (I have 1.9.4), set the necessary attributes, set _COMMANDLINE_ARGS=--xformers --cuda-stream_ and run it. The transparent background works on the models specified in the instructions! Happy launch)

bank010 commented 2 months ago

https://github.com/lllyasviel/stable-diffusion-webui-forge 获取ldm_patched,modules_forge两个目录移动到你的 Web-UI 目录/对我有用

它也对我有用,我可以在 GUI 中看到 layerDiffusion,但它不起作用。

你好,找到合适的方法了吗,我也遇到这个问题

phpseven commented 2 months ago

https://github.com/lllyasviel/stable-diffusion-webui-forge 获取ldm_patched,modules_forge两个目录移动到你的 Web-UI 目录/对我有用

它也对我有用,我可以在 GUI 中看到 layerDiffusion,但它不起作用。

你好,找到合适的方法了吗,我也遇到这个问题

用的一键安装包 use this one-click installation package (with git and python included).

>>> Click Here to Download One-Click Package <<<