Skip to content
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

enable stable diffusion in Pixel backend #936

Conversation

freedomtan
Copy link
Contributor

@freedomtan freedomtan commented Dec 3, 2024

on a Pixel 7 Pro, each unet/diffusion step takes about 30 seconds on CPU.

...
12-03 11:09:35.336 31557 31682 I native  : cpp/backend_tflite/stable_diffusion_invoker.cc:111 Step 15
12-03 11:10:08.261 31557 31682 I native  : cpp/backend_tflite/stable_diffusion_invoker.cc:111 Step 16
12-03 11:10:40.291 31557 31682 I native  : cpp/backend_tflite/stable_diffusion_invoker.cc:111 Step 17
12-03 11:11:12.335 31557 31682 I native  : cpp/backend_tflite/stable_diffusion_invoker.cc:111 Step 18

...

@freedomtan freedomtan linked an issue Dec 3, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Dec 3, 2024

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@freedomtan freedomtan marked this pull request as ready for review December 10, 2024 06:13
@freedomtan freedomtan requested review from anhappdev and a team as code owners December 10, 2024 06:13
@anhappdev
Copy link
Collaborator

@freedomtan you need to base this PR on the submission-v4.1 branch, because there are some commits, which are relevant for Stable Diffusion, still not be merged into master. And one of them is skipping the CI test for Stable Diffusion.

@freedomtan freedomtan force-pushed the 933-add-stable-diffusion-related-settings-for-the-pixel-backend branch from 9aa1ae9 to 5bb5690 Compare December 11, 2024 01:44
@freedomtan freedomtan changed the base branch from master to submission-v4.1 December 11, 2024 01:50
@freedomtan freedomtan merged commit f74b27c into submission-v4.1 Dec 17, 2024
2 checks passed
@freedomtan freedomtan deleted the 933-add-stable-diffusion-related-settings-for-the-pixel-backend branch December 17, 2024 05:59
@github-actions github-actions bot locked and limited conversation to collaborators Dec 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add stable diffusion related settings for the Pixel backend
2 participants