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

Update Safety Checker model for reduceSum with int32 input #11

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

ibelem
Copy link
Contributor

@ibelem ibelem commented Jun 14, 2024

The Safety Checker model for Stable Diffusion Turbo uses reduceSum with int64 input, which caused the demo failing on WebNN Core ML backend since the int64 is not supported on CoreML.

Use the Safety Checker model for reduceSum with int32 input converted by @Honry instead.

We did not directly use the name of the original model and overwrite it, in order to leave a record of the revision. Please do not merge this PR until the model has been uploaded into huggingface.

@Adele101 Please take a look.

@fdwr
Copy link
Collaborator

fdwr commented Jun 14, 2024

⏳ Deferring merge until after the target model is uploaded.

@fdwr
Copy link
Collaborator

fdwr commented Aug 1, 2024

The model is now present (https://huggingface.co/microsoft/sd-turbo-webnn/tree/main/safety_checker). Merging.

@fdwr fdwr merged commit 0126183 into microsoft:main Aug 1, 2024
1 check passed
@ibelem ibelem deleted the safety-checker-int32-reducesum branch September 25, 2024 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants