Instructions to use codingggasdfasf/video-animator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use codingggasdfasf/video-animator with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("codingggasdfasf/video-animator", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
| Memory Stats - Preloading model: | |
| Allocated memory: 20.48 MB | |
| Reserved memory: 32.00 MB | |
| Max allocated memory: 20.48 MB | |
| Max reserved memory: 32.00 MB | |
| ============================== | |
| Memory Stats - post loading model model: | |
| Allocated memory: 20.48 MB | |
| Reserved memory: 62.00 MB | |
| Max allocated memory: 40.96 MB | |
| Max reserved memory: 62.00 MB | |
| ============================== | |
| Memory Stats - Before video release: | |
| Allocated memory: 20.48 MB | |
| Reserved memory: 62.00 MB | |
| Max allocated memory: 40.96 MB | |
| Max reserved memory: 62.00 MB | |
| ============================== | |
| Memory Stats - After video release: | |
| Allocated memory: 20.48 MB | |
| Reserved memory: 62.00 MB | |
| Max allocated memory: 40.96 MB | |
| Max reserved memory: 62.00 MB | |
| ============================== | |
| Memory Stats - Before videowriter vid_out: | |
| Allocated memory: 20.48 MB | |
| Reserved memory: 62.00 MB | |
| Max allocated memory: 40.96 MB | |
| Max reserved memory: 62.00 MB | |
| ============================== | |
| Memory Stats - After videowriter vid_out: | |
| Allocated memory: 20.48 MB | |
| Reserved memory: 62.00 MB | |
| Max allocated memory: 40.96 MB | |
| Max reserved memory: 62.00 MB | |
| ============================== | |
| Memory Stats - Preloading model: | |
| Allocated memory: 20.48 MB | |
| Reserved memory: 32.00 MB | |
| Max allocated memory: 20.48 MB | |
| Max reserved memory: 32.00 MB | |
| ============================== | |
| Memory Stats - post loading model model: | |
| Allocated memory: 20.48 MB | |
| Reserved memory: 62.00 MB | |
| Max allocated memory: 40.96 MB | |
| Max reserved memory: 62.00 MB | |
| ============================== | |
| Memory Stats - Before video release: | |
| Allocated memory: 20.48 MB | |
| Reserved memory: 62.00 MB | |
| Max allocated memory: 40.96 MB | |
| Max reserved memory: 62.00 MB | |
| ============================== | |
| Memory Stats - After video release: | |
| Allocated memory: 20.48 MB | |
| Reserved memory: 62.00 MB | |
| Max allocated memory: 40.96 MB | |
| Max reserved memory: 62.00 MB | |
| ============================== | |
| Memory Stats - Before videowriter vid_out: | |
| Allocated memory: 20.48 MB | |
| Reserved memory: 62.00 MB | |
| Max allocated memory: 40.96 MB | |
| Max reserved memory: 62.00 MB | |
| ============================== | |
| Memory Stats - After videowriter vid_out: | |
| Allocated memory: 20.48 MB | |
| Reserved memory: 62.00 MB | |
| Max allocated memory: 40.96 MB | |
| Max reserved memory: 62.00 MB | |
| ============================== | |