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

No module named 'ldm' #353

Open
GUnd4m1 opened this issue Nov 30, 2024 · 3 comments
Open

No module named 'ldm' #353

GUnd4m1 opened this issue Nov 30, 2024 · 3 comments

Comments

@GUnd4m1
Copy link

GUnd4m1 commented Nov 30, 2024

Describe the bug
failed to run the extension

Error loading script: rp.py
Traceback (most recent call last):
File "C:\Users\PC\AI Stuff\webui_forge_cu121_torch231\webui\modules\scripts.py", line 525, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\Users\PC\AI Stuff\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:\Users\PC\AI Stuff\webui_forge_cu121_torch231\webui\extensions\sd-webui-regional-prompter\scripts\rp.py", line 15, in
import scripts.attention
File "C:\Users\PC\AI Stuff\webui_forge_cu121_torch231\webui\extensions\sd-webui-regional-prompter\scripts\attention.py", line 3, in
import ldm.modules.attention as atm
ModuleNotFoundError: No module named 'ldm'

(idk anything about coding so please help)

Environment
Web-UI version:
SD Version: SDXL
LoRA/LoCon/LoHa

Other Enabled Extensions

@K1LL3RPUNCH
Copy link

+1

@ramsus-menu
Copy link

this doesan't work on forge right?

@MoeMonsuta
Copy link

MoeMonsuta commented Dec 20, 2024

Even after the adding ldm module, the extension is still broken on Forge. Project seems archived and abandoned. Look into Forge Couple instead. https://github.com/Haoming02/sd-forge-couple

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

4 participants