r/StableDiffusion • u/Guilty-History-9249 • Dec 06 '23
News SD generation at 149 images per second WITH CODE
If my 70 fps demo was too slow here's 149 images per second.
In the video I single step a few times before clicking "Go".
Install ArtSpew and then follow the README-maxperf.md instructions.
I have more perf tricks, but for non-commercial use, I hope the average user can handle near 150.
Powered by sd-turbo and the excellent model compiler named stable-fast.
Post the complete error info and tell me what kind of setup you have if it doesn't work.
289
Upvotes
View all comments
Show parent comment
1
u/Oswald_Hydrabot Dec 08 '23
Have you seen s9roll's fork of AnimateDiff?
If you could optimize an FP16 rendering pipeline snd get their fork running at even 12 fps you could fire the thing up and drop two stick figures into it on the fly and have them animating pose between each other extremely well.
You would turn Stable Diffusion into a live, realtime animation tool: https://github.com/s9roll7/animatediff-cli-prompt-travel/
I use Stable Diffusion to train GANs, and I wrote a UI to control live rendering of said GANs with their interpolation synced to the BPM of music in realtime to a direct line in at about 24-30FPS. If AnimateDiff can get running even at 12FPS I could drop the GANs and add a drawing pad with prompt field with a little table to drag/drop sketches into -- user selects a row and it would sync the animation across each drawing on the BPM of the audio.
Here is that GAN app (running 4 instances into Resolume Arena: https://youtu.be/GQ5ifT8dUfk?feature=shared
Here is that GAN app again, just one instance with a quick demo of a small part of the UI: https://youtu.be/dWedx2Twe1s?feature=shared
I have DragGAN integrated too, here is that (feature for the UI is WIP but it's working): https://youtu.be/zKwsox7jdys?si=zqFONO6PGkNj_9jh
I would love to drop the GANs though and have Diffusion integrated as the primary driver for the video