TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Stretch iPhone to its limit: 2GiB Stable Diffusion model runs locally on device

749 pointsby GrantSover 2 years ago

56 comments

ollinover 2 years ago
here&#x27;s a direct app store link, if anyone wants to try the iPhone app immediately: <a href="https:&#x2F;&#x2F;apps.apple.com&#x2F;us&#x2F;app&#x2F;draw-things-ai-generation&#x2F;id6444050820" rel="nofollow">https:&#x2F;&#x2F;apps.apple.com&#x2F;us&#x2F;app&#x2F;draw-things-ai-generation&#x2F;id64...</a><p>congratulations to liuliu on the launch!
评论 #33544560 未加载
评论 #33547356 未加载
Retr0idover 2 years ago
This is absolutely incredible. It takes about 45 seconds to generate a whole image on my iPhone SE3 - which is about as fast as my M1 Pro macbook was doing it with the original version!
评论 #33540484 未加载
sneakover 2 years ago
Extreme respect to the developer for not including the &quot;industry standard&quot; clientside tracking&#x2F;analytics&#x2F;phone-home in this app. The fact that this runs locally on-device and <i>doesn&#x27;t send any information to anyone anywhere</i> about what you&#x27;re doing on your local device is wonderful.<p>All apps used to be like this, and now the ones that actually respect user privacy are a rare and glorious exception. Thank you!
WantonQuantumover 2 years ago
This is cool and looks like a great way to drain my phone battery :)<p>I just used the prompt &quot;A person looking at their phone in amazement&quot; and got a good picture.<p>Beware that on startup the app downloads almost 2 gig of data.
评论 #33541717 未加载
评论 #33542900 未加载
评论 #33540128 未加载
评论 #33540219 未加载
ZeroCool2uover 2 years ago
This is super cool. I just tried the default prompt on my iPhone 13 with the image size set to 768x512 and using the 3D Model (Redshift v1) and it just crashed the whole phone and restarted. Just like when I get BSOD&#x27;s at work on my Windows GPU desktop :)
评论 #33541369 未加载
评论 #33541328 未加载
aarkayover 2 years ago
This is amazing! Finally a use case for using all that compute power on the phone
评论 #33546120 未加载
desroover 2 years ago
This is incredible work and a tremendous achievement. Bravo and thanks for sharing.
nlover 2 years ago
This is some impressive work.<p>You might like to look at the work HuggingFace has been doing (on non-iOS versions). They can run it in under 1GB RAM:<p>&gt; If is also possible to chain it with attention slicing for minimal memory consumption, running it in as little as &lt; 800mb of GPU vRAM<p><a href="https:&#x2F;&#x2F;huggingface.co&#x2F;docs&#x2F;diffusers&#x2F;optimization&#x2F;fp16#offloading-to-cpu-with-accelerate-for-memory-savings" rel="nofollow">https:&#x2F;&#x2F;huggingface.co&#x2F;docs&#x2F;diffusers&#x2F;optimization&#x2F;fp16#offl...</a>
评论 #33542010 未加载
RBerenguelover 2 years ago
It works extremely fast on an iPad Pro M1 (kind of expected, but it&#x27;s _impressive_) although the app is built as &quot;iPhone only&quot;, and strangely enough the iPad is cropping the upscaled iPhone app so the lower bar of image controls don&#x27;t show at all, which is a pity
评论 #33548968 未加载
评论 #33543942 未加载
tacotimeover 2 years ago
Hahah now I can use my phone as a hand warmer this winter. It&#x27;s incredible that this is an app!
miohtamaover 2 years ago
Could in-memory compression used to bring down the RAM requirements?<p>There are some performance compressors like Blosch tuned for this:<p><a href="https:&#x2F;&#x2F;www.blosc.org&#x2F;pages&#x2F;blosc-in-depth&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.blosc.org&#x2F;pages&#x2F;blosc-in-depth&#x2F;</a><p>“Faster than memcpy” is the slogan.
评论 #33540163 未加载
评论 #33547848 未加载
评论 #33541366 未加载
评论 #33542190 未加载
评论 #33542279 未加载
smcleodover 2 years ago
Has anyone found anything similar (self-hosted or local on device) - but for text generation?
vardumpover 2 years ago
Now I see <i>why</i> that coffee cup icon is on the &quot;generate images&quot; button... fingers burning after a few images.<p>Haha, awesome app!
vletalover 2 years ago
Awesome! Although I wish to see the intermediate denoised image instead of the progress bar. Just a suggestion.
评论 #33543728 未加载
globalvisualmemover 2 years ago
I just tried it works beautifully! I suggest defaulting to lower resolution 384 X 384 since it will speed up.
sisamaover 2 years ago
Unstable trying with 10 iterations on 348x348 on iPad 9th Gen <a href="https:&#x2F;&#x2F;support.apple.com&#x2F;kb&#x2F;SP849?locale=en_US" rel="nofollow">https:&#x2F;&#x2F;support.apple.com&#x2F;kb&#x2F;SP849?locale=en_US</a>. Looks cool tho!
评论 #33544220 未加载
评论 #33545142 未加载
dt3ftover 2 years ago
Congrats on the release!<p>I gave this and other available applications a try and I don’t understand what people see in ai image generation.<p>A simple prompt generated a person with 3 nostrils, 7 squished fingers, deformities everywhere I look, it just mashes a bunch of photographs together and generates abominations.<p>Pay close attention to generated models and you will find details which are simply wrong.<p>What is the use case that I’m missing?
评论 #33543035 未加载
评论 #33542897 未加载
评论 #33542926 未加载
评论 #33543639 未加载
评论 #33542890 未加载
评论 #33542881 未加载
评论 #33542968 未加载
评论 #33542805 未加载
评论 #33543319 未加载
评论 #33543904 未加载
评论 #33542833 未加载
评论 #33560643 未加载
评论 #33544077 未加载
评论 #33542795 未加载
sabalabaover 2 years ago
liuliu has always been a fucking god
donkeydover 2 years ago
This is awesome. It has killed my battery over the last couple of hours, because I couldn&#x27;t stop generating new images.
skykoolerover 2 years ago
I wonder if any of these tricks would be applicable to make a version of Stable Diffusion which could run on the Steam Deck.
评论 #33550828 未加载
评论 #33545305 未加载
评论 #33542205 未加载
lll-o-lllover 2 years ago
Any tips on how you “ If the face is cropped, now I know how to use the inpainting model to fill it in. If the inpainting model doesn’t do its job, you can always use a paint brush to paint it over and do an image-to-image generation again focused in that area.” using the app?
评论 #33542241 未加载
senthilnayagamover 2 years ago
on my iPhone 13, generates 384x384 images in under a minute.<p>discovered they have stable diffusion 1.4,1.5, waifu diffusion(Anime), redshhift(3d model) and other models.<p>iPhone becomes warm after couple of runs and starts draining battery, so do it while connected to charger.
haunterover 2 years ago
Default prompt gives me an arm, or feels like a crop of a full photo (iPhone 11, iOS 16.1) <a href="https:&#x2F;&#x2F;files.catbox.moe&#x2F;ivy15m.PNG" rel="nofollow">https:&#x2F;&#x2F;files.catbox.moe&#x2F;ivy15m.PNG</a>
评论 #33543869 未加载
mrtranscendenceover 2 years ago
Even though I understood very little of that it was still wild fun reading it. I&#x27;m glad such wizards exist, because I and most people I know certainly don&#x27;t qualify.
TuringNYCover 2 years ago
On a related note, has anyone been able to utilize Apple silicon GPUs? Running CPU-only is incredibly slow (and sad, since i&#x27;ve got these Apple accelerators idle!)
评论 #33548033 未加载
评论 #33547374 未加载
drawingthesunover 2 years ago
Is there any option to set so that every image is automatically saved, and not to camera roll, but to the local app folder (same folder that contains this apps data)
burk96over 2 years ago
This looks so cool! Unfortunately, my 16.1 11pro is crashing before an image can be generated, let me know if I can do anything to debug&#x2F;test this.
评论 #33540829 未加载
评论 #33542920 未加载
simonhover 2 years ago
Thanks, Ive been looking forward to something like this coming out. Runs great on my iPad but a UI optimised for the form factor would be nice.
holodukeover 2 years ago
I cant wait till this is possible with 24fps and do live camera view modifications. That woud be insane during meetings :) I guess 5 more years.
secretsatanover 2 years ago
Really cool, but for some reason, it fails to share the images using Airdrop for me. I have to save the images to photos then airdrop from there
donlinglokover 2 years ago
I have tested the app on my old iPhone XS Max, it takes less than 3 mins for an image.<p>And also can choose a model, steps, scale, and sampler!<p>Thank you for your great work!
stephenitisover 2 years ago
small add. display multiple examples while it&#x27;s downloading the model. Its a long time to stare at an astronaut on a horse in space
xingpedover 2 years ago
Fantastic! Can it be made available for iPad?
评论 #33549259 未加载
gokover 2 years ago
Did you try using Core ML for inference?
ShamelessCover 2 years ago
The quality of comments here is absolutely abysmal given the deeply technical nature of the article.
ActionHankover 2 years ago
I wonder how long before the appstore policies are updated to require models be embedded in apps.
评论 #33548028 未加载
dirtyidover 2 years ago
Is this something that might make it&#x27;s way to tensor&#x2F;pixel or unique to Apple silicon?
propogandistover 2 years ago
the developer is about to have a MASSIVE hosting bill<p>the download restarts from 0% if the app is sent to the background, as there does not seem to be a download manager. This is especially problematic for the large 1.5gb file.
评论 #33541506 未加载
评论 #33541578 未加载
pelliasover 2 years ago
Hmmm, my ipad keeps crashing and redownloading the sd_v1.4_f16.ckpt file.
评论 #33541282 未加载
评论 #33543276 未加载
评论 #33541235 未加载
iseanstevensover 2 years ago
This is really impressive !
boppo1over 2 years ago
Aww man, no ipad version? Tsk what did I get this 16gb of ram for?
评论 #33540808 未加载
2Gkashmiriover 2 years ago
i have an ipad. the regular non air&#x2F;pro&#x2F;m1 one and the app installed and when i run it, it says &quot;could be device incompatibility&quot; and subsequently crashes
patentattover 2 years ago
Crashes every time... am I doing something wrong? iPhone 11 Pro.
评论 #33540801 未加载
评论 #33540943 未加载
评论 #33542938 未加载
alex_suzukiover 2 years ago
Kudos. I hope liuliu has a good deal on egress traffic... :-)
2Gkashmiriover 2 years ago
Uh..... Android is there? I mean android version?
评论 #33543614 未加载
评论 #33544074 未加载
Kyeover 2 years ago
I&#x27;m downloading it now. This should be fun.
annoyingnoobover 2 years ago
Makes a nice hand warmer on a cool evening.
cph123over 2 years ago
Works great on my iPhone 14 Pro Max
hamilyon2over 2 years ago
This will sell Iphone to me.
wwarnerover 2 years ago
works really well thank you!
tluyben2over 2 years ago
Brilliant!
secretsatanover 2 years ago
Preserve your privacy, send us your phone number!
评论 #33543726 未加载
happyopossumover 2 years ago
Kinda ironic that this links to a site that is almost unreadable on an iPhone (14 pro max if you’re wondering).
评论 #33541570 未加载
评论 #33541972 未加载
sosodevover 2 years ago
This is amazing. I&#x27;m kind of surprised that it doesn&#x27;t have an NSFW image blocker. I want to be able to generate NSFW images but it probably should have one enabled by default.
mistersquidover 2 years ago
Update: Draw Things uses “One-time photo selection” which according to Settings &gt; Privacy &amp; Security &gt; Photos “Even if your photos were recently shown to you to select from, the app did not have access to your photo library.” Still, I didn’t realize apps could save to Photos without explicitly asking permission.<p>I don’t recall giving “Draw Things” permissions to access my photo library, yet the app is able to save to my photo library without prompting and able to read existing images.<p>I may have misunderstood what permissions apps should ask for when saving to the photo library.
评论 #33548026 未加载
ir77over 2 years ago
Meh… 2gb download only to try “image of unicorn pooping” to get the lamest results ever. If I can’t amuse my 5 yr old with this AI it’s nonsense.<p>It transcribed as “image of unicorn poo ping” in tags :(