[Model] feat: FastGen DMD2-distilled Wan 2.1 pipelines (T2V, I2V) (#2749)

Signed-off-by: ayushag <ayushag@nvidia.com>
This commit is contained in:
Ayush Agarwal authored and GitHub committed 2026-04-20 21:21:43 +08:00
1 parent 71d81d475a
commit dc8a9e2f17
17 files changed
+501 -38

No files matched your search

@@ -48,6 +48,7 @@ from vllm_omni.diffusion.model_loader.diffusers_loader import (
)
from vllm_omni.diffusion.models.progress_bar import ProgressBarMixin
from vllm_omni.diffusion.models.t5_encoder.t5_gemma_encoder import T5GemmaEncoderModelTP
from vllm_omni.diffusion.models.utils import _load_json
from vllm_omni.diffusion.profiler.diffusion_pipeline_profiler import (
DiffusionPipelineProfilerMixin,
)
@@ -1640,20 +1641,6 @@ def get_magi_human_post_process_func(*args, **kwargs):
# ===========================================================================
def _load_json(model_path: str, filename: str, local_files_only: bool = True) -> dict:
"""Load a JSON config file from a local path or HuggingFace Hub repo."""
if local_files_only:
path = os.path.join(model_path, *filename.split("/"))
with open(path) as f:
return json.load(f)
else:
from huggingface_hub import hf_hub_download
cached = hf_hub_download(repo_id=model_path, filename=filename)
with open(cached) as f:
return json.load(f)
def _resolve_subdir(
model_path: str,
subfolder: str,