microsoft / webnn-developer-preview

MIT License
38 stars 7 forks source link

Update Safety Checker model for reduceSum with int32 input #11

Closed ibelem closed 1 month ago

ibelem commented 3 months ago

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 commented 3 months ago

⏳ Deferring merge until after the target model is uploaded.

fdwr commented 1 month ago

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