nod-ai / SHARK

SHARK - High Performance Machine Learning Distribution
Apache License 2.0
1.4k stars 169 forks source link

Studio2/SD/API: Exclude more static_kwargs in StableDiffusion.init for now #2096

Open one-lithe-rune opened 4 months ago

one-lithe-rune commented 4 months ago

Motivation

Although the changes in #2091 got things to failing at the point of iree-compile of unet for me, the merged version considers vae_encode before unet. It turns out vae_encode has a similar problem with including a precision argument when main branch turbine_models.custom_models.sd_inference doesn't yet include it.

This comments out precision for all the blocks in the the static_kwargs variable which defines how the the various pipeline models are called, and gets us back to an iree-compile failure again.

Changes

Possible Problems/Concerns