-
Notifications
You must be signed in to change notification settings - Fork 942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Evaluate the Benchmarks on iPhone and iPad #213
Comments
Hello @TimYao18! For iPhone, you indeed need to wrap the package in a lightweight app (such as the one you highlighted above) and exercise the same Core ML models through it. |
Hi @atiorh, |
Sounds like your configuration is off, could you please verify that you are using iPhone 12 or newer and are on iOS 17 beta? |
I tried again with iPhone SE3 on iOS 17 beta 3, Is that close to the Performance Benchmarks? === (Update) It runs about 30 minutes to load the model. |
We haven't reported SE3 results but since its chip (A15) is newer than the oldest chip this package supports (A14), it is expected to work. Thanks for the data point! Although the diffusion speed needs to be slightly better than 1.1 on average to complete 20 steps in 17 seconds |
Is this M1 or M2 iPad Pro? Or older such as the one with the A12Z chip? |
M1 iPad Pro. try pipeline.loadResources() |
I have the same problem. iPhone 12 mini takes a long time in loadResources(). |
How can I evaluate the Benchmarks on iPhone? Use swift-coreml-diffusers with stabilityai/stable-diffusion-2-1-base?
I think it could not be run on iPhone with "swift run StableDiffusionSample ..."
The text was updated successfully, but these errors were encountered: