Unverified Commit bda1d4fa authored by Linoy Tsaban's avatar Linoy Tsaban Committed by GitHub
Browse files

add Instant id sdxl image2image pipeline (#7507)



* 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: default avatarapolinário <joaopaulo.passos@gmail.com>
parent 77103d71
......@@ -46,6 +46,11 @@ except Exception:
logger = logging.get_logger(__name__) # pylint: disable=invalid-name
logger.warning(
"To use instant id pipelines, please make sure you have the `insightface` library installed: `pip install insightface`."
"Please refer to: https://huggingface.co/InstantX/InstantID for further instructions regarding inference"
)
def FeedForward(dim, mult=4):
inner_dim = int(dim * mult)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment