-
Notifications
You must be signed in to change notification settings - Fork 65
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
Cannot use .from_pipe
for NeuronStableDiffusionXLPipeline
#701
Comments
Hi @Suprhimp, thanks for bringing this. I did not consider this method while overwriting the pipelines, so there is no We shall add the Are you interested in opening a PR? |
Yes im interested. But actually I've been tried to add that property in Is there any hint to add components..? Or Does it easily solved when I add |
I used diffusers I logged all property in the pipeline with this code
and it gives this output
As you can see, there is and still it has error on
PS. When I didn't use latest diffusers, |
Hi @Suprhimp, not exactly, so far in optimum neuron The initial concern was if we just inherit from diffusers without overwriting, the instability could quickly leads to breaking changes in Optimum Neuron. But as diffusers stabilize and Optimum Neuron now pin diffusers version, I think it's time to implement neuron pipelines more dynamically, reuse what's in diffusers and override only when it's necessary. I opened a PR which address this, and the |
Thank you. I'd like to expect it to have the scalability of the diffuser of the optimum-neuron. |
System Info
Who can help?
@philschmid @JingyaHuang
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction (minimal, reproducible, runnable)
I want to use neuron pipeline for txt2img and img2img.
So, I made two pipeline for that.
NeuronStableDiffusionXLImg2ImgPipeline
andNeuronStableDiffusionXLPipeline
And I load the stablediffusion compiled model for each pipeline but I want to share memory so I tried to use
.from_pipe()
method.Reproduction code:
when I run
model_fn
it gives me error.
error message:
Expected behavior
can use two pipeline with single sd compiled model.
Maby I can use img2img pipeline with denoising 100%. But I think this is not perfect solution of this...(maby not )
The text was updated successfully, but these errors were encountered: