News for hackers. Stuff that matters.
Re:Run Stable Diffusion natively on your Mac by Slow_Hand on Tuesday December 27, 2022 @10:23PM (#34157174)
Glad someone seems to have made a more presentable app for this. I'm barely capable when it comes to downloading Git files and running them (not a programmer).

The FAQ is pretty scarce, though, and I wonder if it will be able to be updated as the developers change the model.

Re:Run Stable Diffusion natively on your Mac by w-ll on Tuesday December 27, 2022 @10:44PM (#34157304)
There are a dozen of providers for SD and other models to run for fractions of a penny with decent ui/ux needing 0 programmer knowledge, but prompt knowledge is growing.

HuggingFace

PromptHero

come to mind, but many can also just be opened in a colab notebook

Re:Run Stable Diffusion natively on your Mac by greggh on Wednesday December 28, 2022 @12:05AM (#34157719)
Multiple already exist. DiffusionBee is, in my opinion, the best right now.
Re:Run Stable Diffusion natively on your Mac by rohan32 on Tuesday December 27, 2022 @10:25PM (#34157188)
how is this different than DiffusionBee?
Re:Run Stable Diffusion natively on your Mac by kccqzy on Tuesday December 27, 2022 @10:35PM (#34157241)
> Can you support inpainting?

> I don't plan to support this. Check out DiffusionBee if you need more functionality (if you can live with worse UI and a non-native app).

According to the link itself, it has fewer features but better UI than DiffusionBee.

Re:Run Stable Diffusion natively on your Mac by biztos on Wednesday December 28, 2022 @01:35AM (#34158130)
I guess you have to download it to see how much "better" the UI is; I couldn't find any evidence of that on the App Store or the developer's site.

And by "non-native" I guess they mean that DiffusionBee is wrapping non-Swift code, or what? It certainly feels like a (pretty simple) native app, and for what it does I find the UI plenty good enough.

I was going to install this but it requires macOS 13.1, and I try to stay one version behind Apple's "improvements" so I'll have to wait.

Re:Run Stable Diffusion natively on your Mac by pavlov on Wednesday December 28, 2022 @03:07AM (#34158730)
DiffusionBee is an Electron app with a Python backend, so it’s not native in any sense.

It’s a nice app though!

Re:Run Stable Diffusion natively on your Mac by smrtinsert on Tuesday December 27, 2022 @10:36PM (#34157249)
+1 for diffusionbee. Works great on my m1 2020
Re:Run Stable Diffusion natively on your Mac by swyx on Tuesday December 27, 2022 @10:44PM (#34157302)
nobody has any info but given its from Sindre i’d put a small amount of money on this using the Swift native reimplementation from Apple rather than the original python one ported to Apple Silicon with an unknown bag of tricks.

but its just a guess, i have no proof; entirety of my reasoning is this wouldnt be sufficiently different from diffusionbee to work on if this were not the case

Re:Run Stable Diffusion natively on your Mac by mofle on Wednesday December 28, 2022 @07:24AM (#34160316)
Re:Run Stable Diffusion natively on your Mac by vore on Tuesday December 27, 2022 @11:01PM (#34157394)
Ironically, the FAQ makes a better sell for DiffusionBee – I don't know if the UI can really be worse when it's just a textbox then a bunch of images.
Re:Run Stable Diffusion natively on your Mac by TechBro8615 on Tuesday December 27, 2022 @11:41PM (#34157613)
I can't use the App in the OP since it's for M1 only and I have an Intel Mac. But I appreciate the pointer to DiffusionBee! Also, this is the first time I've seen the author's website - and he has some nice apps available! Definitely going to play with some of these.
Re:Run Stable Diffusion natively on your Mac by outcoldman on Wednesday December 28, 2022 @07:37AM (#34160396)
This author has very high opinions on what he thinks a better UI is. He has some other app, where he sells his application better because it has better UI than mine.
Re:Run Stable Diffusion natively on your Mac by greggh on Wednesday December 28, 2022 @12:06AM (#34157725)
I came here to ask the same. DiffusionBee works, gets good updates, and has options line in-painting, and out-painting.
Re:Run Stable Diffusion natively on your Mac by deanputney on Wednesday December 28, 2022 @12:22AM (#34157794)
Thanks for mentioning DiffusionBee. These posts are helpful even if it's just to find an alternative.
Re:Run Stable Diffusion natively on your Mac by bsaul on Wednesday December 28, 2022 @07:22AM (#34160298)
i just tried diffusionbee and i must say the results are really bad. Images have tons of artifacts and don't ressemble anything i've seend online.

Are there customization to be done to obtain good results ?

Re:Run Stable Diffusion natively on your Mac by mofle on Wednesday December 28, 2022 @08:40AM (#34160839)
Re:Run Stable Diffusion natively on your Mac by jitl on Tuesday December 27, 2022 @10:46PM (#34157315)
If you want to contribute to something like this, but that’s open-source, I started working on a similar app - SwiftUI + Apple’s CoreML Stable Diffusion here: https://github.com/justjake/Gauss

I’m currently working on downloadable models before I publish to the App Store & notarized builds to GitHub. A download manager adds complexity but should cut the initial app install size to ~50mb, and then distribute models via GitHub Releases.

Re:Run Stable Diffusion natively on your Mac by mark_l_watson on Tuesday December 27, 2022 @11:26PM (#34157537)
Hey, thanks for doing this. I am looking around your git repo.

I wrote a Swift book with a couple of CoreML examples. Apple did a fine job supporting deep learning models incorporated in macOS, iOS, and iPadOS apps.

Re:Run Stable Diffusion natively on your Mac by swyx on Tuesday December 27, 2022 @11:22PM (#34157512)
any idea if CoreML Stable Diffusion is appreciably faster or slower than regular-SD-on-Python?

( sorry if this is somehow well known, ive been trying to pay attention but havent seen anyone comment on what effect the implementation difference has had on the system performance)

Re:Run Stable Diffusion natively on your Mac by pavlov on Wednesday December 28, 2022 @03:05AM (#34158720)
It’s supposed to be roughly twice as fast:

https://arstechnica.com/information-technology/2022/12/apple...

Re:Run Stable Diffusion natively on your Mac by espadrine on Wednesday December 28, 2022 @06:07AM (#34159774)
They mention that in the M1 Ultra, it gets within a fraction of a second of the performance of an RTX 3060, which is very impressive!

Sure, an M1 Ultra computer costs 3.6K€ higher than an RTX 3060 computer nowadays, but still, it gets close to the best performance on the market.

Re:Run Stable Diffusion natively on your Mac by codetrotter on Wednesday December 28, 2022 @05:25AM (#34159484)
This is neat!

Would you consider changing the license from GPLv3 to the ISC license?

https://choosealicense.com/licenses/isc/

Re:Run Stable Diffusion natively on your Mac by jitl on Wednesday December 28, 2022 @08:03AM (#34160561)
Generally I use a libre license like GPLv3 for end-user apps to prevent others from quickly flipping them for profit, and open source license like MIT for libraries.

If you need to release a closed-source fork I’m happy to sell you a custom license.

Re:Run Stable Diffusion natively on your Mac by codetrotter on Wednesday December 28, 2022 @08:55AM (#34160955)
Understandable. Thank you :)
Re:Run Stable Diffusion natively on your Mac by olavvaiyar on Wednesday December 28, 2022 @12:03AM (#34157705)
Can't run it on my Monterey 12.3.1 (needs Ventura 13.1 or higher) :(
Re:Run Stable Diffusion natively on your Mac by ErneX on Wednesday December 28, 2022 @03:03AM (#34158702)
Re:Run Stable Diffusion natively on your Mac by kmonsen on Wednesday December 28, 2022 @12:08AM (#34157732)
Is there something similar to this or Diffusionbee on windows?
Re:Run Stable Diffusion natively on your Mac by mgiampapa on Wednesday December 28, 2022 @04:50AM (#34159286)
I've played with https://stable-diffusion-ui.github.io/ a bit and it's been a good stepping stone to learning more about SD.

https://github.com/AUTOMATIC1111/stable-diffusion-webui is also popular but requires a lot more config to get going.

Re:Run Stable Diffusion natively on your Mac by kmonsen on Wednesday December 28, 2022 @10:18PM (#34169062)
Thank you!
Re:Run Stable Diffusion natively on your Mac by HeartStrings on Wednesday December 28, 2022 @02:34AM (#34158512)
You could do this already with automatic11111 webui
Re:Run Stable Diffusion natively on your Mac by outcoldman on Wednesday December 28, 2022 @07:39AM (#34160404)
I also made an app that allows to generate images using CoreML (with help of the apple library) on iOS and macOS (using iOS) https://loshadki.app/imagegeneratorml/ very basic and easy app
Re:Run Stable Diffusion natively on your Mac by cassianoleal on Wednesday December 28, 2022 @11:39AM (#34162727)
Doesn't seem to work very well. I just tried to generate an image with default settings. A progress bar starts to show some work. Once it gets past around 50%, an image starts to form and gets a bit better as it goes on. Before it reaches 100%, the image is gone and the whole process starts over.

I left it for about 15 min this way. Then, started DiffusionBee while this app was still trying to render my image. I copy-pasted the image prompt into DB, set it to the same 30 steps and it rendered an image that resembles my prompt a lot better than the partial one from Amazing AI in less than a minute.

Amazing AI is still on the same loop. I'm killing it now.

Re:Run Stable Diffusion natively on your Mac by mofle on Friday December 30, 2022 @09:08AM (#34185098)
This was a bug. It's fixed in the latest update.