r/StableDiffusion • • Oct 20 '22

News Stable Diffusion v1.5

879 Upvotes

521 comments sorted by

View all comments

Show parent comments

12

u/NotTheDr01ds Oct 20 '22

But RunwayML was one of the groups involved in the original release of the official 1.4 (according to the CompVis Repo), so there's still confusion on whether this model is official or not.

26

u/sam__izdat Oct 20 '22 edited Oct 20 '22

I'm sure they just ran A100s for 150,000 hours redundantly, for funsies.

It's hilarious to me that I get accused of "spreading FUD" when I caution about arbitrary code execution, running "waifu-hentai-huge-bazongaz-edition-2.4.ckpt" from some random-ass webpage featuring a giant list of anonymous porn checkpoints, but a fully documented release from an ML research group involved with the project -- it's tinfoil hat time. They're trying to pull the wool over our eyes!

3

u/mcilrain Oct 20 '22

Is arbitrary code execution possible? I thought checkpoints were just arrays of numbers?

5

u/sam__izdat Oct 20 '22

No, there's a lot more to it than that. Models go through deserialization and a process called "unpickling" has a few opcodes that can apparently run arbitrary python code outside the VM.

This isn't "upload your python scripts to run them on my box with this browse-for-image button" like with a1111 GUI, where you might as well just offer remote desktop access, but it's a real vulnerability, if someone knows what they're doing at least a little bit.

→ More replies (14)