2026-04-02 00:42:50 -07:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
|
|
|
|
|
2026-04-24 02:25:10 +08:00
|
|
|
from .patch_diffusers import patch_wan_rms_norm
|
2025-12-25 01:45:13 -07:00
|
|
|
from .pipeline_wan2_2 import (
|
|
|
|
|
Wan22Pipeline,
|
2026-04-20 06:21:43 -07:00
|
|
|
WanT2VDMD2Pipeline,
|
2025-12-25 01:45:13 -07:00
|
|
|
create_transformer_from_config,
|
|
|
|
|
get_wan22_post_process_func,
|
|
|
|
|
get_wan22_pre_process_func,
|
|
|
|
|
load_transformer_config,
|
|
|
|
|
retrieve_latents,
|
|
|
|
|
)
|
|
|
|
|
from .pipeline_wan2_2_i2v import (
|
|
|
|
|
Wan22I2VPipeline,
|
2026-04-20 06:21:43 -07:00
|
|
|
WanI2VDMD2Pipeline,
|
2025-12-25 01:45:13 -07:00
|
|
|
get_wan22_i2v_post_process_func,
|
|
|
|
|
get_wan22_i2v_pre_process_func,
|
|
|
|
|
)
|
2026-05-05 19:03:48 -05:00
|
|
|
from .pipeline_wan2_2_s2v import (
|
|
|
|
|
Wan22S2VPipeline,
|
|
|
|
|
get_wan22_s2v_post_process_func,
|
|
|
|
|
get_wan22_s2v_pre_process_func,
|
|
|
|
|
)
|
2026-04-02 00:42:50 -07:00
|
|
|
from .pipeline_wan2_2_vace import (
|
|
|
|
|
Wan22VACEPipeline,
|
|
|
|
|
get_wan22_vace_post_process_func,
|
|
|
|
|
get_wan22_vace_pre_process_func,
|
|
|
|
|
)
|
2025-12-10 16:38:05 -10:00
|
|
|
from .wan2_2_transformer import WanTransformer3DModel
|
2026-04-02 00:42:50 -07:00
|
|
|
from .wan2_2_vace_transformer import VaceWanTransformerBlock, WanVACETransformer3DModel
|
2025-12-10 16:38:05 -10:00
|
|
|
|
2025-12-25 01:45:13 -07:00
|
|
|
__all__ = [
|
2026-04-20 06:21:43 -07:00
|
|
|
"WanT2VDMD2Pipeline",
|
2025-12-25 01:45:13 -07:00
|
|
|
"Wan22Pipeline",
|
|
|
|
|
"get_wan22_post_process_func",
|
|
|
|
|
"get_wan22_pre_process_func",
|
|
|
|
|
"retrieve_latents",
|
|
|
|
|
"load_transformer_config",
|
|
|
|
|
"create_transformer_from_config",
|
|
|
|
|
"Wan22I2VPipeline",
|
2026-04-20 06:21:43 -07:00
|
|
|
"WanI2VDMD2Pipeline",
|
2025-12-25 01:45:13 -07:00
|
|
|
"get_wan22_i2v_post_process_func",
|
|
|
|
|
"get_wan22_i2v_pre_process_func",
|
2026-05-05 19:03:48 -05:00
|
|
|
"Wan22S2VPipeline",
|
|
|
|
|
"get_wan22_s2v_post_process_func",
|
|
|
|
|
"get_wan22_s2v_pre_process_func",
|
2026-04-02 00:42:50 -07:00
|
|
|
"Wan22VACEPipeline",
|
|
|
|
|
"get_wan22_vace_post_process_func",
|
|
|
|
|
"get_wan22_vace_pre_process_func",
|
2025-12-25 01:45:13 -07:00
|
|
|
"WanTransformer3DModel",
|
2026-04-02 00:42:50 -07:00
|
|
|
"VaceWanTransformerBlock",
|
|
|
|
|
"WanVACETransformer3DModel",
|
2025-12-25 01:45:13 -07:00
|
|
|
]
|
2026-04-24 02:25:10 +08:00
|
|
|
|
|
|
|
|
patch_wan_rms_norm()
|