Live data from Hacker News

Fast-stable-diffusion colabs, +25% speed increase and memory efficient

github.com

1–10 of 24 posts

Re: Fast-stable-diffusion colabs, +25% speed increase and memory efficient

#2
I love StableDiffusion, and these projects are so exciting.

But. Isn't this the new equivalent of downloading and running a shell script WHICH YOU HAVE NO IDEA WHAT IT DOES? This colab notebook asks for me to give it access to my GDrive. If any of the sd code were modified from the original SD codebase (as I would expect it to be, this is a FORK afterall!) then why couldn't it pull certain anything it wants from my GDrive?

Colab does not protect you from this, right? There is no way to sandbox GDrive access, it is all or nothing, right?

Re: Fast-stable-diffusion colabs, +25% speed increase and memory efficient

#3
post #2

I love StableDiffusion, and these projects are so exciting. But. Isn't this the new equivalent of downloading and running a shell script WHICH YOU HAVE NO IDEA WHAT IT DOES? This colab notebook asks for me to give it access to my GDrive. If any of the sd code were modified from the original SD codebase (as I would expect it to be, this is a FORK afterall!) then why couldn't it pull certain anything it wants from my G…

Probably if you know how to run the notebook you might also know how to quickly go through the code and see if it might do a potential harm to your hard drive.

I dont see a big deal TBH.

Re: Fast-stable-diffusion colabs, +25% speed increase and memory efficient

#4
post #2

I love StableDiffusion, and these projects are so exciting. But. Isn't this the new equivalent of downloading and running a shell script WHICH YOU HAVE NO IDEA WHAT IT DOES? This colab notebook asks for me to give it access to my GDrive. If any of the sd code were modified from the original SD codebase (as I would expect it to be, this is a FORK afterall!) then why couldn't it pull certain anything it wants from my G…

Probably if you know how to run the notebook you might also know how to quickly go through the code and see if it might do a potential harm to your hard drive. I dont see a big deal TBH.

Buuuuut.... Notice that it appears this repo contains precompiled binaries and no obvious link to the source....

This is literally running some binary blob and giving it access to a big chunk of your digital life. If it were malicious, all it would need to do is steal the token and then upload some illegal images and your whole Google account will be permabanned.

Re: Fast-stable-diffusion colabs, +25% speed increase and memory efficient

#6

Would be much better if these changes were a branch on the starting repo rather than entire refactors with many changes.

There are pros and cons to each of these Stable Diffusion hacks (usually time/memory/usability tradeoffs) so it's not correct to merge it back.

Re: Fast-stable-diffusion colabs, +25% speed increase and memory efficient

#7
post #2

I love StableDiffusion, and these projects are so exciting. But. Isn't this the new equivalent of downloading and running a shell script WHICH YOU HAVE NO IDEA WHAT IT DOES? This colab notebook asks for me to give it access to my GDrive. If any of the sd code were modified from the original SD codebase (as I would expect it to be, this is a FORK afterall!) then why couldn't it pull certain anything it wants from my G…

Much like you'd use a sandbox VM to test untrusted code locally, you could use a sandbox google account to work with untrusted Colabs.

Re: Fast-stable-diffusion colabs, +25% speed increase and memory efficient

#8
post #2

I love StableDiffusion, and these projects are so exciting. But. Isn't this the new equivalent of downloading and running a shell script WHICH YOU HAVE NO IDEA WHAT IT DOES? This colab notebook asks for me to give it access to my GDrive. If any of the sd code were modified from the original SD codebase (as I would expect it to be, this is a FORK afterall!) then why couldn't it pull certain anything it wants from my G…

Run it on a burner Gmail account

Re: Fast-stable-diffusion colabs, +25% speed increase and memory efficient

#9
post #2

I love StableDiffusion, and these projects are so exciting. But. Isn't this the new equivalent of downloading and running a shell script WHICH YOU HAVE NO IDEA WHAT IT DOES? This colab notebook asks for me to give it access to my GDrive. If any of the sd code were modified from the original SD codebase (as I would expect it to be, this is a FORK afterall!) then why couldn't it pull certain anything it wants from my G…

There are Stable Diffusion notebooks out there that don't require GDrive access and run fine in Colab.

Re: Fast-stable-diffusion colabs, +25% speed increase and memory efficient

#10
post #2

I love StableDiffusion, and these projects are so exciting. But. Isn't this the new equivalent of downloading and running a shell script WHICH YOU HAVE NO IDEA WHAT IT DOES? This colab notebook asks for me to give it access to my GDrive. If any of the sd code were modified from the original SD codebase (as I would expect it to be, this is a FORK afterall!) then why couldn't it pull certain anything it wants from my G…

Run it on a burner Gmail account

In addition to having a google account without any sensitive info, running everything in VMs locally should become a standard practice
Post reply on HN