Refactor Wan model structure by renaming and relocating model imports from model.py to wan2.py, enhancing code organization and clarity across the Wan2 module.
This commit is contained in:
@@ -21,7 +21,7 @@ def load_wan_model(
|
||||
If provided, creates QuantizedLinear stubs before loading.
|
||||
loras: Optional list of (lora_path, strength) tuples to apply.
|
||||
"""
|
||||
from mlx_video.models.wan2.model import WanModel
|
||||
from mlx_video.models.wan2.wan2 import WanModel
|
||||
|
||||
model = WanModel(config)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user