Instructions to use circlestone-labs/Anima with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use circlestone-labs/Anima with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
since it is a 2B model, why slower than SDXL with 3.5B.
Is this due to the architecture? Will there be technological breakthroughs in the future to solve this problem?
The generation speed is slower than SDXL because Anima is a model based on the DiT (Diffusion Transformer) architecture. This speed difference stems from the inherent characteristics of the architecture itself.
Specifically, while SDXL uses a UNet architecture that relies on highly efficient local convolutions, DiT treats image latents as a sequence of patches and applies global self-attention mechanisms. The computational complexity of self-attention scales quadratically with the sequence length (the number of image patches). This means that, especially at higher resolutions, calculating attention across all patches requires significantly more computational overhead and processing time per generation step compared to UNet.
Despite this, you can look forward to the release of the official Turbo model, which is expected to greatly optimize and accelerate this process.