Skip to content

0.3.0

Compare
Choose a tag to compare
@nateraw nateraw released this 21 Sep 06:07
· 167 commits to main since this release
50d1cb9

stable_diffusion_videos==0.3.0 🚀

Highlights

Resume Support 🔥

You can now resume unfinished runs instead of starting over. Just pass resume=True and we'll resume the run at <output_dir>/<name>.

from stable_diffusion_videos import walk

video_path = walk(
    output_dir='dreams',
    name='my_unfinished_run',
    resume=True  # All you need to do!
)

Thank you to @codefaux for adding this feature.

Batch Inference 🔥

We've been generating frames one at a time. It's a lot faster to do more than one instead. Play with the batch_size kwarg until you go out of memory, then reduce the value by 1. For me, I am able to do batch_size=4 on a V100 16GB, which generates images ~20% faster.

from stable_diffusion_videos import walk

walk(
    prompts=['a cat', 'a dog'],
    seeds=[42, 123],
    batch_size=4,  # All you need to do!
    num_steps=60,
    make_video=True
)

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.3.0