Live data from Hacker News

Show HN: Run Stable Diffusion Directly on iPhone

apps.apple.com

41–50 of 50 posts

Re: Show HN: Run Stable Diffusion Directly on iPhone

#43

Earlier quoted context omitted.

Thanks for the link, it seems fascinating!

Yea I had no idea this existed! Totally going to play with this now. Surprised this is free tbh Hell, i'd pay for something like this on Desktop (tho i'm on Linux (NixOS)).

I clicked the link on my Macbook and it apparently also runs on Apple Silicon Macs. I’m guessing it relies on the Apple Silicon Neural Engine.

Re: Show HN: Run Stable Diffusion Directly on iPhone

#44

Apple released CoreML Stable Diffusion library a little over a year ago [1]. Hugging Face released their version of the example app for the CoreML Stable Diffusion library [2]. The app should be able to run on iPhone 14 Pro, I believe the requirements is about 6-8Gb of RAM. And I was not able to run it on iPhone 13 Mini, because it has only 4Gb of RAM. - [1] https://github.com/apple/ml-stable-diffusion - [2] https://…

> The app should be able to run on iPhone 14 Pro

Can’t install it, says device is not supported.

Re: Show HN: Run Stable Diffusion Directly on iPhone

#45

I tried using it to generate some sprites for a game I've been thinking about. Kept telling me it couldn't show me the image because it wasn't safe (I asked for robot pirates). Couldn't see a way to turn off the nsfw protection. Uninstalled it :(

Slightly OT but is there a decent setup for sprite generation out there? Non phone, I mean. It certainly seems like there's been some work in maintaining consistent style and even subjects across runs, does that work with 'character A walking frame 1, character A walking frame 2' etc anywhere yet?

Re: Show HN: Run Stable Diffusion Directly on iPhone

#46
post #44

Apple released CoreML Stable Diffusion library a little over a year ago [1]. Hugging Face released their version of the example app for the CoreML Stable Diffusion library [2]. The app should be able to run on iPhone 14 Pro, I believe the requirements is about 6-8Gb of RAM. And I was not able to run it on iPhone 13 Mini, because it has only 4Gb of RAM. - [1] https://github.com/apple/ml-stable-diffusion - [2] https://…

> The app should be able to run on iPhone 14 Pro Can’t install it, says device is not supported.

Yeah, the Compatibility section states 15 Pro and 15 Pro Max only.

Re: Show HN: Run Stable Diffusion Directly on iPhone

#47

I tried using it to generate some sprites for a game I've been thinking about. Kept telling me it couldn't show me the image because it wasn't safe (I asked for robot pirates). Couldn't see a way to turn off the nsfw protection. Uninstalled it :(

This is a surprising thing when first working with these models (especially ones implementing NSFW filters, which are noisy). If you go check civitai.com you'll see that there's a lot of... well... porn. There's many LORAs to download but a very useful one ends up being the clothing slider. While I think the intention is to remove clothing, it is helpful in adding clothing. Unfortunately this doesn't look to support LORAs which are essential to getting many of those high quality images you see floating around.

My guess here is that the model is just trained on too many sexy pirates (it also has a propensity for producing asian women, which this model seems to do too). It does look like they support negative prompts but it requires you using "##" to separate positive and negative. Interesting design choice. You'll find these negative prompts helpful: disfigured, low quality, child, sexy, nude, extra limbs, ugly hands; and anything in the same vein. What works best is dependent on the base model and there is variance between different positive prompts. You may also have more success with something like automatic1111 which as long as you feel comfortable doing a git clone (which you're on HN, so I assume you are) then it'll be a better interface, but I don't know if there's a apple arm model or if baremetal has improved since last I checked.

Re: Show HN: Run Stable Diffusion Directly on iPhone

#50

Earlier quoted context omitted.

> The iPhone 15 Pro and Pro Max can be configured with up to 1 TB of storage. On the flip side, apparently the base-model iPhone 15 Pro comes with zero storage upgrades. You get the same 128gb base-model storage as the regular 15, and the 256gb entry model is reserved for the Pro Max. A bit surprising, given that iPhones don't support expandable storage.

Not sure how you're seeing that the base model iPhone 15 has zero storage upgrades? I'm seeing 128, 256, 512, and 1TB at https://www.apple.com/shop/buy-iphone/iphone-15-pro

My point is that, like the iPhone 15 Pro Max, they should increase the minimum storage option. The base spec is insulting for someone who pays for a "Pro" tier phone.
Post reply on HN