[Feature Request] - Apply Memory optimization from basujindal #615
Replies: 5 comments 8 replies
-
I had test for this repo. --optimized-turbo now use same or a bit less VRAM than --optimized |
Beta Was this translation helpful? Give feedback.
-
Here is the fork repo https://github.com/neonsecret/stable-diffusion |
Beta Was this translation helpful? Give feedback.
-
This would be two different things then i guess. One is fewer ram, the other improved speed. |
Beta Was this translation helpful? Give feedback.
-
There is also another optimization that was not in the neonsecret PR. But another PR could be released in a few days. Ah, it seems to be this PR: basujindal/stable-diffusion#122 |
Beta Was this translation helpful? Give feedback.
-
The Doggettx optimization is cleaner and better, in my opinion, without sacrificing noticeable speed: (item 1 in this list: https://gist.github.com/mchaker/e0cf180db6849fa03696293b3fc8f485 ) |
Beta Was this translation helpful? Give feedback.
-
This guy here made some memory optimizations that allows to create 576x1280 images with 6 gb vram. Maybe worth a look at his script. And maybe you can get in touch with him to implement it into this repo. Maybe even worth to commit it into the main stable diffusion repository.
I would not suggest to copy it simply over though. Seems that there is some whitespace in the file, and some unnecessary code too.
basujindal/stable-diffusion#103
Kind regards
Reiner
Beta Was this translation helpful? Give feedback.
All reactions