CLI tool for AnimateDiff stable diffusion generation
Top 97.8% on sourcepulse
This CLI utility and library provides a streamlined interface for AnimateDiff stable diffusion generation, targeting users who want to create animations with significantly reduced VRAM requirements and support for infinite generation lengths. It offers a more efficient and flexible approach to generating animated content from text prompts.
How It Works
The tool leverages PyTorch 2.0's Scaled-Dot-Product Attention (built-in xformers) by default, aiming to reduce VRAM usage and potentially improve performance. It allows explicit forcing of xformers if desired. The architecture is designed for efficient generation, with experimental support for torch.compile()
for further speedups, though this is noted to be slightly hindered by upstream Diffusers bugs.
Quick Start & Requirements
pip install -e '.[dev]'
after cloning the repository.ffmpeg
and downloading rife-ncnn-vulkan
to data/rife/
.Highlighted Details
--repeat
flag.animatediff.cli.generate()
.Maintenance & Community
The project is maintained by neggles. Credits are given to guoyww/AnimateDiff, indicating a significant portion of the work is based on that project. Community links (Discord/Slack) are not provided.
Licensing & Compatibility
The project uses the Apache 2.0 license, inherited from the original AnimateDiff repository. This license is generally permissive for commercial use and closed-source linking.
Limitations & Caveats
LoRA loading is explicitly stated as not implemented. Support for non-CUDA hardware is untested. The README mentions that the copyright notice in the COPYING
file is missing original author names due to the original repo lacking attribution for its license.
19 hours ago
1 week