# Draw Things - 아이폰에서 2GiB로 Stable Diffusion을 실행하는 앱

> Clean Markdown view of GeekNews topic #7793. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=7793](https://news.hada.io/topic?id=7793)
- GeekNews Markdown: [https://news.hada.io/topic/7793.md](https://news.hada.io/topic/7793.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2022-11-11T11:13:10+09:00
- Updated: 2022-11-11T11:13:10+09:00
- Original source: [liuliu.me](https://liuliu.me/eyes/stretch-iphone-to-its-limit-a-2gib-model-that-can-draw-everything-in-your-pocket/)
- Points: 13
- Comments: 4

## Topic Body

- 실제로 아이폰은 램이 6GiB지만, 2.8GiB 이상을 쓰면 앱을 죽여버림   
- SD는 8GiB 넘게 필요로 하므로 아이폰에서 실행이 불가능   
- 그래서 아이폰에 맞게 모델을 조정해서 2GiB 이하로 줄이고 전체 메모리 사용량을 2.5GiB로 낮춤  
- Draw Things 라는 이름의 iOS 무료 앱으로 만들었음   
- iPhone 14 Pro에서 한장 생성에 약 1분정도 걸림

## Comments



### Comment 13291

- Author: eususu
- Created: 2022-11-15T12:11:20+09:00
- Points: 1

아이폰 12 프로 기본 설정으로 2분 정도 걸리네요.  
이것 때문에 폰 바꿀까 생각이...

### Comment 13266

- Author: godrm
- Created: 2022-11-13T18:33:00+09:00
- Points: 2

이 글도 같이 보시면 좋을꺼 같습니다. 다른 개발팀이 Stable Diffusion을 아이폰 앱으로 만들고 스토어에 올려었지만 배포하지 않기로 결정한 이유를 설명합니다. https://www.cephalopod.studio/blog/on-creating-an-on-device-stable-diffusion-app-amp-deciding-not-to-release-it-adventures-in-ai-ethics

### Comment 13224

- Author: ifmkl
- Created: 2022-11-11T15:29:45+09:00
- Points: 1

앗..아 m1 패드로 해보려고 했더니 only iPhone 이라고 되어있네요.. 아쉽습니다..

### Comment 13213

- Author: xguru
- Created: 2022-11-11T11:13:40+09:00
- Points: 1

개발자가 어떤 방식으로 줄여나갔는지를 상세하게 적어주었네요. (너무 상세해서 옮기기엔 부담..)  
일단 제 폰은 아이폰 14 프로 맥스인데, 512x512는 잘 만들어지고, 512x768은 생성하다 앱이 죽네요.   
만들어진 사진의 품질은 꽤 훌륭합니다. 가지고 놀기 좋네요.   
  
앱스토어 링크 : https://apps.apple.com/us/app/draw-things-ai-generation/id6444050820
