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

[SDXL] Add SDXL image to image support #239

Merged
merged 55 commits into from
Oct 6, 2023
Merged

[SDXL] Add SDXL image to image support #239

merged 55 commits into from
Oct 6, 2023

Conversation

JingyaHuang
Copy link
Collaborator

@JingyaHuang JingyaHuang commented Sep 21, 2023

  • Img2img pipeline
  • Inpaint pipeline
  • sdxl refiner export support (refiner unet)
  • Tests / Examples
  • Documentation update

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@JingyaHuang JingyaHuang marked this pull request as ready for review October 5, 2023 15:25
Copy link
Collaborator

@dacorvo dacorvo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one small nit, and a question: how do we identify the changes as compared to the original methods in the pipeline_stable_diffusion_xx files ?

docs/source/guides/models.mdx Outdated Show resolved Hide resolved
docs/source/guides/models.mdx Outdated Show resolved Hide resolved
@JingyaHuang
Copy link
Collaborator Author

@dacorvo for your question, do you mean the sd pipelines in optimum compared to those in diffusers or the difference between sd pipelines and sdxl pipelines?

@dacorvo
Copy link
Collaborator

dacorvo commented Oct 6, 2023

@dacorvo for your question, do you mean the sd pipelines in optimum compared to those in diffusers or the difference between sd pipelines and sdxl pipelines?

The difference between optimum and diffusers: I see that you give the link to the original files, but I was wondering if there were some hints in the code too to identify the lines you changed (I probably missed them).

@JingyaHuang
Copy link
Collaborator Author

@dacorvo there is for sd pipelines: https://github.com/huggingface/optimum-neuron/blob/main/optimum/neuron/pipelines/diffusers/pipeline_stable_diffusion_inpaint.py#L374

But I did not add it when working on sdxl...

@JingyaHuang JingyaHuang merged commit 01e0138 into main Oct 6, 2023
8 of 12 checks passed
@JingyaHuang JingyaHuang deleted the add-sdxl-refiner branch October 6, 2023 15:50
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.

3 participants