Wan2.1/wan/distributed
ErrorDing 9f90033ce4 Add CPU offload support for FSDP in Wan model
- 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.
2025-07-22 21:03:47 +08:00
..
__init__.py init upload 2025-02-25 22:07:47 +08:00
fsdp.py Add CPU offload support for FSDP in Wan model 2025-07-22 21:03:47 +08:00
xdit_context_parallel.py Format the code (#402) 2025-05-16 12:35:38 +08:00