3 ms·
While we're on that topic, what is people's strategy for playing with Stable Diffusion safely? I still haven't found any way to run it in a VM using consumer h
by andersa 3y ago
While we're on that topic, what is people's strategy for playing with Stable Diffusion safely?
I still haven't found any way to run it in a VM using consumer hardware (GPU continues to refuse to work). A second install of the OS on a second drive is so insanely clunky to switch between, I'd really like to not have to keep doing that.
- blibble 3y agogpu passthrough is normally pretty solid these days in 2013 I had to buy hardware for it but by 2018 everything supported it out of the box
- angrais 3y agoWhy not run it on your main OS? Otherwise, Docker is fine.
- andersa 3y agoBecause it installs like 100,000 python scripts of mystery origin that run with full privileges. Even if the maintainers are unlikely to be malicious on purpose, it only takes one person accidentally putting a typo in a dependencies file in one of the hundreds of packages it imports... many of which not commonly used ones.
- gkbrk 3y agoWhy are you running it with full privileges? It's one command to create a user on Linux, and another command to switch to it.
- nicolaslem 3y agoIt's better than nothing but is it enough to run potentially malicious code? I haven't checked recently but a while ago most distros defaulted to letting anyone peep into other users' home dirs. Moreover there has been so many exploits over the years letting a user gain root privileges that, for the purpose of security, unix users are akin to a bathroom lock.
- unmole 3y ago> I haven't checked recently but a while ago most distros defaulted to letting anyone peep into other users' home dirs. Yeah, no.
- ageofwant 3y agono it doesn't
- OJFord 3y agoI've not actually done it, but from what I understand using two GPUs is the way to go - you use one for your actual display etc., and the other is just passthrough to the VM. (I was looking into it in the context of running Fusion 360 in a Windows VM though, not Stable Diffusion or any ML.)