lllyasviel / lllyasviel/stable-diffusion-webui-forge

Problem with AnimateDiff extension "sd-forge-animatediff"

Open
#1,307 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Error after installing AnimateDiff extension "sd-forge-animatediff", I have also tried "sd-webui-animatediff" which is ment for Automatic1111 but it results in the same error. What am I doing wrong?

*** Error loading script: animatediff.py
Traceback (most recent call last):
File "C:\ProgramAI\Forge\webui\modules\scripts.py", line 525, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\ProgramAI\Forge\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:\ProgramAI\Forge\webui\extensions\sd-webui-animatediff\scripts\animatediff.py", line 10, in
from scripts.animatediff_infv2v import AnimateDiffInfV2V
File "C:\ProgramAI\Forge\webui\extensions\sd-webui-animatediff\scripts\animatediff_infv2v.py", line 10, in
from scripts.animatediff_mm import mm_animatediff as motion_module
File "C:\ProgramAI\Forge\webui\extensions\sd-webui-animatediff\scripts\animatediff_mm.py", line 9, in
from motion_module import MotionWrapper, MotionModuleType
File "C:\ProgramAI\Forge\webui\extensions\sd-webui-animatediff\motion_module.py", line 10, in
from ldm.modules.attention import FeedForward
ModuleNotFoundError: No module named 'ldm'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the extension-loading failure and inspect extensions/sd-webui-animatediff/scripts/animatediff.py, animatediff_infv2v.py, animatediff_mm.py, and motion_module.py. Check how these imports resolve in Forge, especially ldm.modules.attention, and compare the extension's compatibility with this repository. Done means establishing whether the extension is supported and identifying the required compatibility change or installation guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.