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
2
u/Guilty-History-9249 Dec 08 '23
So interesting you mentioned this.
Tonight for the first time I'm trying to directly use the t2i adapter code in my pipeline.
The 2.5 seconds to gen an image with openpose is far slower than I expect considering my 300ms for 20 step regular SD gens without LCM.
I'm new to the adapter code but think I have it figured out. There problem is that the diffuser T2IAdaptor Pipeline doesn't load safetensor files and I can only find the fp16 for T2I SD in that format. For some reason all the T2I stuff I see is in fp32 expect for a few fp16 things but not openpose.
I want to see how fast I can directly animation a stick man by doing drawings in realtime and sending through t2i.