Live data from Hacker News

Running Stable Diffusion XL 1.0 in 298MB of RAM

github.com

81–90 of 166 posts

Re: Running Stable Diffusion XL 1.0 in 298MB of RAM

#81
post #9

So this should be it for trying to regulate stable diffusion type tech, right? If these models and their inference infra can be shrunk down to be runnable on a PS2, it doesn't seem like it's possible to stop this tech without a totalitarian surveillance state (and barely even then!).

The PS2 only had 32 MB of ram. Even the PS3 only had 256 MB.

I know it was a bit of a funny hyperbolic example, but you'd need to shrink this down way further to run it on a PS2.

Re: Running Stable Diffusion XL 1.0 in 298MB of RAM

#82

11 hours remind me of doing raytracing on my Amiga 500 back in the day. It was definitely an overnight job for the "final" render.

Doing that low quality render first because you'd rather waste an hour being right than all night being wrong.

That was about when I decided I needed other hobbies. Right before that happened some brilliant soul put out a tool that would render your scene in OpenGL so you could look at it first. I don't think that would run on your Amiga but it (barely) ran on my machine.

Re: Running Stable Diffusion XL 1.0 in 298MB of RAM

#83
post #47

Earlier quoted context omitted.

The war on general computing has been ongoing but not made enough inroads to stop people from owning general computing devices (yet)

This is more than a little melodramatic. https://frame.work/ and the https://mntre.com/ MNT Reform: Exist

If my country decides to ban the ownership of general purpose computers for individual persons, they would order the customs service to stop import of any computer hardware that enabled general purpose computing. Now I would not be able to have any computer shipped to me from outside my country, so I could no longer buy from either of those vendors you linked.

Furthermore, it also would mean that I would not be able to bring any personal computers with me when I travel to other countries. I like to travel, and I like to bring my computers when I do.

Next, it would also be dangerous to try to buy computers locally within the borders of the country. The seller might be an informant of the police, or even a LEO doing a sting operation.

And then next you have to worry about the computers you already have. If you decide to keep the computers that you had since before, after it is made illegal to own them, you will have problems even if you keep them hidden and only use them at home. Other people know about your computers. Some of those people will definitely tip off the authorities about the fact that you are known to have computers.

Let’s hope it never goes as far like this :(

Re: Running Stable Diffusion XL 1.0 in 298MB of RAM

#84

[flagged]

It looks like your account has been using HN primarily for promotion. This is against HN's rules - see https://news.ycombinator.com/newsguidelines.html:

"Please don't use HN primarily for promotion. It's ok to post your own stuff part of the time, but the primary use of the site should be for curiosity."

Re: Running Stable Diffusion XL 1.0 in 298MB of RAM

#85
post #65
post #47

Earlier quoted context omitted.

The war on general computing has been ongoing but not made enough inroads to stop people from owning general computing devices (yet)

That is virtually impossible because Turing-complete systems are everywhere

Just like how making weed illegal is virtually impossible because anybody can grow marijuana in their backyard.

How many regular people would risk owning turning-complete devices that can run unauthorized software if it would net you jail time if caught? Lots of countries are already itching towards banning VPN, corpo needs be damned.

Especially now that the iPhone has shown having a device that can only run approved legal software covers a lot of people's everyday needs.

Re: Running Stable Diffusion XL 1.0 in 298MB of RAM

#86

[flagged]

Are those 2048 x 2048 images still sensible? SD 1.5 is best used at 512x512 and may produce sensible images upto 768. It generates monstrosities above that. Similarly SD XL is good upto 1024.

> Are those 2048 x 2048 images still sensible? SD 1.5 is best used at 512x512 and may produce sensible images upto 768. It generates monstrosities above that. Similarly SD XL is good upto 1024.

You can do significantly higher resolutions with various tricks like tiled diffusion, which is also a memory efficiency hack. (The stable-diffusion-webui tiled diffusion extension uses 2560×1280 direct [no upscale step] generation with an SD 1.5-based model as one of its examples.)

Re: Running Stable Diffusion XL 1.0 in 298MB of RAM

#87

[flagged]

Are those 2048 x 2048 images still sensible? SD 1.5 is best used at 512x512 and may produce sensible images upto 768. It generates monstrosities above that. Similarly SD XL is good upto 1024.

> Similarly SD XL is good upto 1024.

I don't think that's right. SD xl is good starting from 1024. Anything lower generates a useless mess.

Re: Running Stable Diffusion XL 1.0 in 298MB of RAM

#89
post #80
post #15

Earlier quoted context omitted.

Maybe they meant 50%-200% slower, in which case the x-factor range would really be 1.5x to 3x?

200% slower is 3x as long, yes.

I love making fun of people that don’t understand percentages… wait, wat?

Re: Running Stable Diffusion XL 1.0 in 298MB of RAM

#90
post #19

Earlier quoted context omitted.

So this should be it for trying to regulate theft, right? If you can open a window without any tool other than your own body. It doesn't seem like it's possible to stop thefts without a totalitarian surveillance state (and barely event then!). Or same can be said about media "piracy". Or ransomwares. States have forever regulated things that are not possible to enforce purely technically.

Theft has a clearance rate of only 15%. Sounds like we already stopped trying to regulate most theft, in practice.

“Trying to regulate” and “succeeding in enforcing regulations” aren't the same thing.

In fact, a low clearance rate can be evidence of trying to regulate far beyond one's capacity to consistently enforce; if you weren't trying to regulate very hard, it would be much easier to have a high clearance rate for violations of what regulations you do have.

Post reply on HN