Merge pull request #4658 from liutyi/dev

FireRed Edit preview image
This commit is contained in:
Vladimir Mandic
2026-02-21 13:43:13 +01:00
committed by GitHub
5 changed files with 10 additions and 5 deletions
+4 -4
View File
@@ -148,10 +148,10 @@
"date": "2026 February",
"skip": true
},
"Skywork UniPic3-Consistency": {
"path": "Skywork/Unipic3-Consistency-Model",
"preview": "Skywork--Unipic3-Consistency-Model.jpg",
"desc": "UniPic3-Consistency-Model is a few-step image editing and multi-image composition model based on Consistency Flow Matching (CM) and is a fine-tune of Qwen-Image-Edit.",
"Skywork UniPic3": {
"path": "Skywork/Unipic3",
"preview": "Skywork--Unipic3.jpg",
"desc": "UniPic3 is an image editing and multi-image composition model based. It is a fine-tune of Qwen-Image-Edit.",
"tags": "community",
"date": "2026 February",
"skip": true
Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

+1 -1
View File
@@ -116,7 +116,7 @@ def guess_by_name(fn, current_guess):
new_guess = 'ChronoEdit'
elif 'bria' in fn.lower():
new_guess = 'Bria'
elif 'qwen' in fn.lower() or 'firered' in fn.lower():
elif 'qwen' in fn.lower() or 'firered' in fn.lower() or 'unipic3' in fn.lower():
new_guess = 'Qwen'
elif 'nextstep' in fn.lower():
new_guess = 'NextStep'
+5
View File
@@ -31,6 +31,11 @@ def load_qwen(checkpoint_info, diffusers_load_config=None):
diffusers.pipelines.auto_pipeline.AUTO_TEXT2IMAGE_PIPELINES_MAPPING["qwen-layered"] = diffusers.QwenImageLayeredPipeline
diffusers.pipelines.auto_pipeline.AUTO_IMAGE2IMAGE_PIPELINES_MAPPING["qwen-layered"] = diffusers.QwenImageLayeredPipeline
diffusers.pipelines.auto_pipeline.AUTO_INPAINT_PIPELINES_MAPPING["qwen-layered"] = diffusers.QwenImageLayeredPipeline
elif 'Unipic3' in repo_id:
cls_name = diffusers.QwenImageEditPipeline
diffusers.pipelines.auto_pipeline.AUTO_TEXT2IMAGE_PIPELINES_MAPPING["qwen-image"] = diffusers.QwenImageEditPipeline
diffusers.pipelines.auto_pipeline.AUTO_IMAGE2IMAGE_PIPELINES_MAPPING["qwen-image"] = diffusers.QwenImageEditPipeline
diffusers.pipelines.auto_pipeline.AUTO_INPAINT_PIPELINES_MAPPING["qwen-image"] = diffusers.QwenImageEditPipeline
else: # qwen-image, qwen-image-2512
cls_name = diffusers.QwenImagePipeline
diffusers.pipelines.auto_pipeline.AUTO_TEXT2IMAGE_PIPELINES_MAPPING["qwen-image"] = diffusers.QwenImagePipeline