huggingface / huggingface/swift-coreml-diffusers

[Open-to-community] Benchmark swift-coreml-diffusers on different Mac hardware

Open
#31 40 comments 3 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
2.8k
Forks
235
PR merge metrics
No merged PRs in 30d

Description

Hey hey,

We are on a mission to provide a first-class, one-click solution to blazingly fast `diffusers` inference on Mac. In order for us to get a better idea of our framework, we'd like to get inference time benchmarks for the app.

Currently, we are explicitly looking for benchmarks on:

- [ ] M1 Pro - @tcapelle, @emwdx, @Pindar777
- [ ] M1 Pro (6/14/16) - @abazlinton
- [ ] M2 Pro - @tcapelle, @mja, @SerCeMan
- [ ] M2 Max - @Tz-H, @lovelace

You can do so by following the below steps:

1. Download the latest version of the [Diffusers app from the App store](https://apps.apple.com/app/diffusers/id1666309574).
2. Select one of the three options in the `Advanced`
3. Insert a random prompt for e.g. `A Labrador playing in the fields`.
4. Run inference and make a note of the time taken for inference.

Note: Do make sure to run inference multiple times as the framework sometimes requires to prepare the weights in order to run it in the most efficient way possible.

Ping @pcuenca and @vaibhavs10 for any queries or questions!

Happy diffusing 🧨

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.