[Model] Migrate MammothModa2 DiT to the shared diffusion runtime (#7134)

Signed-off-by: levius <2114377220@qq.com>
Signed-off-by: Yueqian Lin <linyueqian@outlook.com>
Co-authored-by: amy-why-3459 <wuhaiyan17@huawei.com>
Co-authored-by: Yueqian Lin <linyueqian@outlook.com>
This commit is contained in:
authored and GitHub committed 2026-09-18 13:29:18 -07:00
1 parent ca3ccfc9a3
commit 7b4fc7ce2e
16 files changed
+1046 -427

No files matched your search

+6
View File
@@ -56,6 +56,11 @@ _DIFFUSION_MODELS = {
"pipeline_ovis_image",
"OvisImagePipeline",
),
"MammothModa2DiTPipeline": (
"mammoth_moda2",
"pipeline_mammothmoda2_dit",
"MammothModa2DiTPipeline",
),
"WanPipeline": (
"wan2_2",
"pipeline_wan2_2",
@@ -564,6 +569,7 @@ _DIFFUSION_POST_PROCESS_FUNCS = {
"GlmImagePipeline": "get_glm_image_post_process_func",
"ZImagePipeline": "get_post_process_func",
"OvisImagePipeline": "get_ovis_image_post_process_func",
"MammothModa2DiTPipeline": "get_mammoth_moda2_post_process_func",
"BooguImagePipeline": "get_boogu_image_post_process_func",
"BooguImageTurboPipeline": "get_boogu_image_post_process_func",
"WanPipeline": "get_wan22_post_process_func",