add chroma-inpaint

Signed-off-by: vladmandic <mandic00@live.com>
pull/4550/head
vladmandic 2026-01-15 08:37:44 +01:00
parent 71d3482168
commit f7328fb907
3 changed files with 3 additions and 1 deletions

View File

@ -29,6 +29,7 @@
add support for *thinking* mode where model can reason about the prompt
add support for *vision* processing where prompt enhance can also optionally analyze input image
add support for *pre-fill* mode where prompt enhance can continue from existing caption
- **chroma**: add inpaint pipeline support
- **UI**
- kanvas add send-to functionality
- kanvas improve support for standardui

View File

@ -648,7 +648,7 @@ def check_diffusers():
t_start = time.time()
if args.skip_all:
return
sha = '7feb4fc791909f4a58b153d6d07c6cb8437b2e58' # diffusers commit hash
sha = '5efb81fa711863fdece9136ad10788440e658b40' # diffusers commit hash
# if args.use_rocm or args.use_zluda or args.use_directml:
# sha = '043ab2520f6a19fce78e6e060a68dbc947edb9f9' # lock diffusers versions for now
pkg = pkg_resources.working_set.by_key.get('diffusers', None)

View File

@ -26,6 +26,7 @@ def load_chroma(checkpoint_info, diffusers_load_config=None):
diffusers.pipelines.auto_pipeline.AUTO_TEXT2IMAGE_PIPELINES_MAPPING["chroma"] = diffusers.ChromaPipeline
diffusers.pipelines.auto_pipeline.AUTO_IMAGE2IMAGE_PIPELINES_MAPPING["chroma"] = diffusers.ChromaImg2ImgPipeline
diffusers.pipelines.auto_pipeline.AUTO_INPAINT_PIPELINES_MAPPING["chroma"] = diffusers.ChromaInpaintPipeline
del text_encoder
del transformer
sd_hijack_te.init_hijack(pipe)