bes-dev / stable_diffusion.openvino

Apache License 2.0
1.53k stars 206 forks source link

[not an issue] How long does it takes on average to generate an image using the CPU? #5

Closed illtellyoulater closed 2 years ago

illtellyoulater commented 2 years ago

Hi, I'd like to setup this for a friend on their laptop so I was wondering how long does it take to generate an image using an average CPU? Are we talking about a couple of minutes, or will it take way longer than that? Just trying to get an idea to understand if it's worth it or not.

bes-dev commented 2 years ago

@illtellyoulater what does you mean "average CPU"? I tested this project on MacBook Pro 13" 2019 (i5-8279U) and I got ~2 minutes per image with default settings

mauzus commented 2 years ago

On my i7-7700, it takes about 4 minutes and 30 seconds per image with default settings. 👍

nicolas-ff commented 2 years ago

on my 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, it consumes 13 GB of RAM and takes 4 minutes to generate an image with the default 32 steps

windmaple commented 2 years ago

on my Intel(R) Xeon(R) Gold 6154 CPU @ 3.00GHz, it takes ~33s (1s per iteration) to generate an image using the default config

bes-dev commented 2 years ago

We add the "performance" section to README. Thanks to everyone for your performance feedback.