GPU requirements
Hi:
Great work.
Just curious about the least GPU requirements for this project. In the paper, it seems like the model is trained on A800 (40GB I guess?) but on GitHub, it seems to require 16 A100 at least. May I know the least GPU requirements to train such a model?
Hello, for training the Yume model using only I2V mode without MVDT, you'll need 8 GPUs with at least 80GB memory each. When MVDT is implemented, this requirement increases to 16 GPUs with 80GB+ memory. For scenarios utilizing both MVDT and FramePack together, the GPU count will scale dynamically according to the number of training frames being processed.
Ahh. Thanks for replying. So if I understand it correctly, it is less likely to make it train on 40 GB GPU. Is it correct?
Yes, that's correct. However, you could try LoRA training as an alternative. We also plan to release smaller model versions in the future.
What are the minimum GPU requirements for inference?
@stdstu12 Hello! Thanks for this amazing work.
Can we train a new model using this repo with reduced parameters? Like reducing the dimensions of the attention models and the MLP. What kind of changes would be required to achieve this?
What are the minimum GPU requirements for inference?
Excluding CPU offloading and FP8 inference optimizations, at least an 80GB GPU is required.
@stdstu12 Hello! Thanks for this amazing work.
Can we train a new model using this repo with reduced parameters? Like reducing the dimensions of the attention models and the MLP. What kind of changes would be required to achieve this?
https://github.com/stdstu12/YUME/blob/07929a2078d6e8d7a4e022c72a2e2ef94b9b7d7d/wan/image2video.py#L140,you could modify this part of the code.
https://github.com/stdstu12/YUME/blob/07929a2078d6e8d7a4e022c72a2e2ef94b9b7d7d/wan/image2video.py#L160 Since, it is loading from a checkpoint, how can I initialize the reduced model? Is it possible to just remove this line?
Line 160 in 07929a2
self.model = resume_checkpoint_yume(
Since, it is loading from a checkpoint, how can I initialize the reduced model? Is it possible to just remove this line?
Yes.
I needed 96GB VRAM for inference and used AWS p5en.48xlarge instance. Inference worked successfully.