mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-11-04 22:26:36 +00:00
- Introduced `--cpu_offload` argument in `generate.py` for enabling CPU offload. - Updated `WanI2V` class in `image2video.py` to handle CPU offload during model initialization and sharding. - Added new functions in `fsdp.py` for CPU initialization and sharding with CPU offload. - Expanded supported sizes in `configs/__init__.py` to include additional resolutions. |
||
|---|---|---|
| .. | ||
| configs | ||
| distributed | ||
| modules | ||
| utils | ||
| __init__.py | ||
| first_last_frame2video.py | ||
| image2video.py | ||
| text2video.py | ||
| vace.py | ||