StreamDiffusion
StreamDiffusion copied to clipboard
Support Metal Performance Shaders
To be able to work with mps devices mpsデバイスで動作ができるように
check status
- [x] benchmark
- [x] img2img
- [x] txt2img
- [x] vid2vid
Benchmark results on m1 macbook air
Average time: 4233.89050291ms
Average FPS: 0.23618938640777057
Max FPS: 0.2696536167593899
Min FPS: 0.16658852853947326
Std: 0.023981565291716123
Should I make the demo work on mps too?
Hey @Tps-F, I'm interesting by your pr. Could you explain how to install and use it on mps ?
@Tps-F Hi, sorry for the late reply. The implementation for mps devices looks very interesting! We're quite busy this week and cannot review your code at the moment, but I'll make sure to review your pull request (PR) next week. Thank you so much!
@Hugofgx9 Thanks for your interest!
xformer doesn't support mps, so don't install it, just follow the instructions in the readme. To install pytorch, choose the one that fits your environment from here https://pytorch.org/
I'll add a more detailed guide to the PR later.
@cumulo-autumn Thank you for stopping by and taking time out of your busy schedule! I may make a few more changes, so I'll have it done by next week.
@Tps-F Thanks for your work and explanations