Run stable diffusion using CPU: 16-core CPU AMD 5950x running stable diffusion Method 2 ONNX method



Run stable diffusion using CPU: 16-core CPU AMD 5950x running stable diffusion Method 2 ONNX method

Run stable diffusion using CPU: 16-core CPU AMD 5950x running stable diffusion Method 2 ONNX method

Thank you for watching! please consider to subscribe. thank you!
๐Ÿ‘‰โ“ขโ“คโ“‘โ“ขโ“’โ“กโ“˜โ“‘โ“”
In this video, a quick demo of running ONNX stable diffusion using AMD CPU 5950x is shown. The model used is waifu diffusion v1.4 (https://huggingface.co/hakurei/waifu-diffusion).
Head 2 head comparison with the method using diffusers package shown in https://youtu.be/gtWdUufidEQ , ONNX method can generate per image for a 51 steps default setting image in less than 3 min and 20 seconds.
For the python environment setup and ONNX model converting, please check the videos in the https://youtube.com/playlist?list=PLAhnBIAZe37PhSD5F-6IqpndGX5dkSYCl
0:25 python virtual environment
1:20 start executing python code
5:27 first run result
5:53 additional two runs