Files
Yuan-ManX-ComfyUI-Matrix-Game/matrixgame/model_variants/__init__.py
T
2025-05-13 14:27:34 +08:00

13 lines
360 B
Python

from .matrixgame_dit_src import MGVideoDiffusionTransformerI2V
def get_dit(model_name, config_path, weight_dtype):
if model_name == 'matrixgame':
return MGVideoDiffusionTransformerI2V.from_config(config_path).to(weight_dtype), MGVideoDiffusionTransformerI2V
else:
raise NotImplementedError(f'{model_name} is not implemented.')