Skip to content

Commit c2d7b82

Browse files
committed
Readme: works on iPhone! OS no longer in beta.
1 parent 3d7e1d9 commit c2d7b82

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,15 @@ On first launch, the application downloads a zipped archive with a Core ML versi
99

1010
For faster inference, we use a very fast scheduler: [DPM-Solver++](https://github.com/LuChengTHU/dpm-solver) that we ported to Swift. Since this scheduler is still not available in Apple's GitHub repository, the application depends on the following fork instead: https://github.com/pcuenca/ml-stable-diffusion. Our Swift port is based on [Diffusers' DPMSolverMultistepScheduler](https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_dpmsolver_multistep.py), with a number of simplifications.
1111

12+
## Compatibility
13+
14+
- macOS Ventura 13.1, iOS/iPadOS 16.2, Xcode 14.2.
15+
- Performance (after initial generation, which is slower)
16+
* ~10s in macOS on MacBook Pro M1 Max (64 GB).
17+
* ~2 minutes in iPhone 13 Pro.
18+
1219
## Limitations
1320

14-
- Requires the latest betas of iOS 16.2, macOS Ventura 13.1, Xcode 14.2. They are all in the Release Candidate stage.
15-
- Although the app is platform independent, execution fails on iPhone 13 Pro, possibly due to memory constraints. We haven't tested on M2 iPads with 8 or 16 GB of memory.
1621
- The UI does not expose a way to configure the scheduler, number of inference steps, or generation seed. These are all available in the underlying code.
1722
- A single model (Stable Diffusion v1.5) is considered. The Core ML compute units have been hardcoded to CPU and GPU, since that's what gives best results on my Mac (M1 Max MacBook Pro).
1823
- Sometimes generation returns a `nil` image. This needs to be investigated.

0 commit comments

Comments
 (0)