Initialize QMI pipeline implementation (#2)

* init

Signed-off-by: Isotr0py <mozf@inferact.ai>

* fix

Signed-off-by: Isotr0py <mozf@inferact.ai>

---------

Signed-off-by: Isotr0py <mozf@inferact.ai>
This commit is contained in:
Isotr0py authored and GitHub committed 2026-09-16 15:14:23 +08:00
1 parent a7c295d544
commit 2912672b2e
15 files changed
+4725 -1

No files matched your search

+11
View File
@@ -41,6 +41,11 @@ _DIFFUSION_MODELS = {
"pipeline_qwen_image_layered",
"QwenImageLayeredPipeline",
),
"QwenImage21Pipeline": (
"qwen_image_21",
"pipeline_qwen_image_21",
"QwenImage21Pipeline",
),
"GlmImagePipeline": (
"glm_image",
"pipeline_glm_image",
@@ -378,6 +383,10 @@ _NO_CACHE_ACCELERATION = {
# instead of erroring.
"Pi0Pipeline",
"LingBotWorldCausalDMDPipeline",
# Qwen-Image 2.1's transformer carries its own prefix KV cache (keyed by CFG
# branch) across denoising steps, which conflicts with cache_dit / tea_cache
# step-skipping hooks.
"QwenImage21Pipeline",
}
@@ -550,6 +559,7 @@ _DIFFUSION_POST_PROCESS_FUNCS = {
"QwenImagePipeline": "get_qwen_image_post_process_func",
"QwenImageEditPipeline": "get_qwen_image_edit_post_process_func",
"QwenImageEditPlusPipeline": "get_qwen_image_edit_plus_post_process_func",
"QwenImage21Pipeline": "get_qwen_image_21_post_process_func",
"GlmImagePipeline": "get_glm_image_post_process_func",
"ZImagePipeline": "get_post_process_func",
"OvisImagePipeline": "get_ovis_image_post_process_func",
@@ -629,6 +639,7 @@ _DIFFUSION_PRE_PROCESS_FUNCS = {
"BooguImageTurboPipeline": "get_boogu_image_pre_process_func",
"QwenImageEditPipeline": "get_qwen_image_edit_pre_process_func",
"QwenImageEditPlusPipeline": "get_qwen_image_edit_plus_pre_process_func",
"QwenImage21Pipeline": "get_qwen_image_21_pre_process_func",
"LongCatImageEditPipeline": "get_longcat_image_edit_pre_process_func",
"LongCatVideoAvatarPipeline": "get_longcat_video_avatar_pre_process_func",
"QwenImageLayeredPipeline": "get_qwen_image_layered_pre_process_func",