-
Notifications
You must be signed in to change notification settings - Fork 14
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 diffusers-interpret to work with the latest diffusers package (0.8.0) #21
Comments
I understand the frustration, but I tried my best to make this package compatible with |
Basically, they need to accept |
I saw your PR on diffusers.. can you open two PRs for the two different problems explaining why? I will follow you there. |
To be honest, all the needed changes were made in this PR. |
I started writing in different PRs, let's see if they really make a change. In the meantime, it would be awesome to have a pypi diffusers package adapted to be compatibile with this but on the latest version! |
@JoaoLages we can follow this suggestion and open the two feature requests. |
@invoke-ai would also like an API that lets us provide our own text_embeddings, as it's necessary for us and anyone else who does any kind of token-weighting. We're still in the very messy middle phase of our diffusers integration, and we haven't started trying to submit pipeline API changes like this upstream yet, but I think we'd be very much onboard for a PR or feature request for that. As things stand at the moment, diffusers really expects an application this sophisticated will more or less completely disregard their existing There has been some progress on this front, for example StableDiffusionPipeline now exposes methods like (InvokeAI is interested in adding some interpretation aids. We'll see how this goes.) |
When using diffusers-interpret with the latest diffusers (0.8.0, yes, I need this version because I use Euler discrete scheduler), it gives the following error:
ImportError: cannot import name 'preprocess_mask' from 'diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_inpaint' (/usr/local/lib/python3.7/dist-packages/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_inpaint.py)
Can it be fixed to work with it? 0.3.0 is now very outdated.
Thanks!
The text was updated successfully, but these errors were encountered: