Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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!


https://github.com/basujindal/stable-diffusion

I use this on my Ubuntu 18 machine, works nicely on a GPU with 8GB VRAM.

As usual, some python dependency nonsense to sort out even with Anaconda, but pretty quick and easy to get up and running.





Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: