Skip to content

Conversation

@linoytsaban
Copy link
Collaborator

@linoytsaban linoytsaban commented Mar 28, 2024

Add an image to image pipeline version of instantid stable diffusion xl pipeline
for those who'd like to include an init image to be noised together with the generation.
Modeled from:

  • adds a check for insightface package to refer users to installations required
    cc: @apolinario

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@apolinario
Copy link
Collaborator

when we get the tests to pass we can merge i think

@linoytsaban
Copy link
Collaborator Author

what's failing the tests now is checking if insightface is installed - since it's imported but not used, it cases a style error.
differently than bitsandbytes (where we check if the package is installed for 8bitAdam- here it doesn't seem right to throw an import error if insightface is not installed as it's not a mandatory(or used at all) in the pipeline (only at inference for the face embeds)

@sayakpaul sayakpaul merged commit bda1d4f into huggingface:main Mar 30, 2024
@sayakpaul
Copy link
Member

Great work!

noskill pushed a commit to noskill/diffusers that referenced this pull request Apr 5, 2024
* initial commit - instantid img2img

* adapting to img2img

* change add_time_ids

* change add_time_ids

* WIP changes

* add strength to timesteps

* check insightface import

* style

* check insightface import changed to warning

* check insightface import changed to warning

* style

---------

Co-authored-by: apolinário <[email protected]>
@linoytsaban linoytsaban deleted the instant_id_image2image branch April 22, 2024 05:59
sayakpaul pushed a commit that referenced this pull request Dec 23, 2024
* initial commit - instantid img2img

* adapting to img2img

* change add_time_ids

* change add_time_ids

* WIP changes

* add strength to timesteps

* check insightface import

* style

* check insightface import changed to warning

* check insightface import changed to warning

* style

---------

Co-authored-by: apolinário <[email protected]>
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.

4 participants