Live data from Hacker News

Running Stable Diffusion on Your GPU with Less Than 10Gb of VRAM

constant.meiring.nz

1–10 of 141 posts

Re: Running Stable Diffusion on Your GPU with Less Than 10Gb of VRAM

#3
post #2

Can't believe how awesome these generated images are. Thank you for the guide!

If you want to have a really good experience using stable diffusion, use this guide: https://rentry.org/GUItard

- includes a nice GUI - txt2img and img2img - upscaling, face correction - many more

Re: Running Stable Diffusion on Your GPU with Less Than 10Gb of VRAM

#4
For those without a GPU / not a powerful enough one / wanting to use SD on the go, you can start the hlky stable diffusion webui (yes, web ui) in Google Colab with this notebook[0].

It's simple and it works, using colab for processing but actually giving you a URL (ngrok-style) to open the pretty web ui in your browser.

I've been using that on-the-go when not at my PC and it's been working very well for me (after trying numerous other colab-dedicated repos, trying to fix them, and failing).

Additionally, you can have all your generated images sync to Google Drive automatically.

[0]: https://github.com/altryne/sd-webui-colab

Re: Running Stable Diffusion on Your GPU with Less Than 10Gb of VRAM

#7
post #5

Is there a similar guide for Linux/Ubuntu with some sort of light sandboxing, at least python virtual virtual environment?

Yes I followed one recently, though it uses conda. The SD script runs in a conda environment, so when you uninstall conda your system is preserved and hasn't been stomped on.

https://code.mendhak.com/run-stable-diffusion-on-ubuntu/

Re: Running Stable Diffusion on Your GPU with Less Than 10Gb of VRAM

#8
post #5

Is there a similar guide for Linux/Ubuntu with some sort of light sandboxing, at least python virtual virtual environment?

Yes I followed one recently, though it uses conda. The SD script runs in a conda environment, so when you uninstall conda your system is preserved and hasn't been stomped on. https://code.mendhak.com/run-stable-diffusion-on-ubuntu/

Like you read my mind. Thank you!

Re: Running Stable Diffusion on Your GPU with Less Than 10Gb of VRAM

#9
post #3
post #2

Can't believe how awesome these generated images are. Thank you for the guide!

If you want to have a really good experience using stable diffusion, use this guide: https://rentry.org/GUItard - includes a nice GUI - txt2img and img2img - upscaling, face correction - many more

This is indeed a very thorough, albeit not very nicely named, guide.

Re: Running Stable Diffusion on Your GPU with Less Than 10Gb of VRAM

#10
post #3

Earlier quoted context omitted.

If you want to have a really good experience using stable diffusion, use this guide: https://rentry.org/GUItard - includes a nice GUI - txt2img and img2img - upscaling, face correction - many more

This is indeed a very thorough, albeit not very nicely named, guide.

It originates from 4chan /vg/ & /g/ boards
Post reply on HN