Live data from Hacker News

Stable Diffusion macOS native app

github.com

61–70 of 94 posts

Re: Stable Diffusion macOS native app

#61

Earlier quoted context omitted.

Storing images in the database is not a bad thing https://www.sqlite.org/fasterthanfs.html

Your link suggests this is the case for small images, thumbnails, not large images such as that typically produced by SD

That article also points to the paper https://www.microsoft.com/en-us/research/publication/to-blob..., the images produced by stable diffusion are about 500-600Kb in size. At this point it could be a similar performance or could be a little better or a little worse. I am not saying that it is better to store files in SQLite, just saying that nothing wrong with it, if those files are below 1Mb.

Re: Stable Diffusion macOS native app

#62

Earlier quoted context omitted.

In my opinion Draw Things is the best stable diffusion app currently available for macOS/iOS. It's free, it is available in the App Store, it manages downloading models and weights, it supports a wide selection of popular models as well as custom weights, and it supports inpainting, text2image, and image2image. It has some oddities: it uses a sqlite database to store generated images rather than the more traditional…

Storing images in the database is not a bad thing https://www.sqlite.org/fasterthanfs.html

Will storing thumbnails in a postgres database offer performance improvements as well?

Re: Stable Diffusion macOS native app

#63

Interesting UI, and great that's it's open-sourced! M1 Mac owners should also check out the iPad version of Draw Things, which has a large number of features and is in very active development: https://apps.apple.com/us/app/draw-things-ai-generation/id64... Be aware that there is a bug in macOS 13.2b1 that makes Draw Things unusable on that version of macOS. Hopefully Apple will fix that soon.

In my opinion Draw Things is the best stable diffusion app currently available for macOS/iOS. It's free, it is available in the App Store, it manages downloading models and weights, it supports a wide selection of popular models as well as custom weights, and it supports inpainting, text2image, and image2image. It has some oddities: it uses a sqlite database to store generated images rather than the more traditional…

It’s likely a function of building for iOS first and then porting to MacOS.

Re: Stable Diffusion macOS native app

#64
post #2

I appreciate the user-focus move of displaying the CFG as a slider, but its a fine-grained value. That makes the app unable to replicate a specific render shared online. I suppose this is a tradeoff :) I just wish there was a common UI element that combined a slider and value display... Also, would be nice to share some binaries on GitHub!

What did you try to replicate? You will need the exact prompt (possibly with negative prompts), seed, CFG, sampler and model to do it.

Re: Stable Diffusion macOS native app

#65
post #52
post #24

Earlier quoted context omitted.

No, it's not even documented how to install it. Not sure if it's trivial on macOS 13, but it definitely is not on Monterey.

The build instructions are right there in the README

Not really. It links to another repo which must be installed, and that doesn't have complete instructions.

Re: Stable Diffusion macOS native app

#66
post #20

Too bad there's no complete instructions for installing this, and no issue tracker to ask in. This might be nice, but I really don't get projects that have no releases and not provide build instructions.

what do you mean? you can open an issue on github and there are build instructions in the readme

Looks like they opened the Issues tracker after I posted, good. Someone else already inquired about the installation procedure.

Re: Stable Diffusion macOS native app

#67

Interesting UI, and great that's it's open-sourced! M1 Mac owners should also check out the iPad version of Draw Things, which has a large number of features and is in very active development: https://apps.apple.com/us/app/draw-things-ai-generation/id64... Be aware that there is a bug in macOS 13.2b1 that makes Draw Things unusable on that version of macOS. Hopefully Apple will fix that soon.

It is unfortunate that the UI is not even attempting to be platform native, though.

Re: Stable Diffusion macOS native app

#68

Does this have any sort of ability to feed it training data? I know I can do that with some SD frontends on Windows - ex: give it 5 pictures of my face, and have it generate a 3D avatar of me.

What tool do you use to train on Windows locally?

Dreambooth is the most popular. Need a 12gb card for windows though.

Re: Stable Diffusion macOS native app

#69

Does this have any sort of ability to feed it training data? I know I can do that with some SD frontends on Windows - ex: give it 5 pictures of my face, and have it generate a 3D avatar of me.

I doubt it, but even if it did you probably don't want to be re-training the set on your mac. There is plenty of instructions on how to train your face into the dataset using AWS. IIRC it costs around $20 of compute time.

Run it on google colab with TheLastBen fast-dreambooth for free in an hour.

Re: Stable Diffusion macOS native app

#70

Earlier quoted context omitted.

Storing images in the database is not a bad thing https://www.sqlite.org/fasterthanfs.html

Your link suggests this is the case for small images, thumbnails, not large images such as that typically produced by SD

SQLite has also measured the performance impact for storing larger BLOBs:

https://www.sqlite.org/intern-v-extern-blob.html

The verdict: storing blobs in the database is totally fine. Stable diffusion is totally compute bound, the overhead of storing a 1mb file in a sqlite db is miniscule.

Post reply on HN