YUME icon indicating copy to clipboard operation
YUME copied to clipboard

GPU requirements

Open Caoang327 opened this issue 1 year ago • 10 comments

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?

Caoang327 avatar Jul 24 '25 14:07 Caoang327

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.

stdstu12 avatar Jul 24 '25 14:07 stdstu12

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?

Caoang327 avatar Jul 24 '25 18:07 Caoang327

Yes, that's correct. However, you could try LoRA training as an alternative. We also plan to release smaller model versions in the future.

stdstu12 avatar Jul 25 '25 08:07 stdstu12

What are the minimum GPU requirements for inference?

jmorgan-wellovate avatar Jul 28 '25 17:07 jmorgan-wellovate

@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?

anm-ol avatar Jul 29 '25 14:07 anm-ol

What are the minimum GPU requirements for inference?

Excluding CPU offloading and FP8 inference optimizations, at least an 80GB GPU is required.

stdstu12 avatar Jul 30 '25 06:07 stdstu12

@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.

stdstu12 avatar Jul 30 '25 06:07 stdstu12

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?

anm-ol avatar Jul 30 '25 10:07 anm-ol

YUME/wan/image2video.py

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.

stdstu12 avatar Jul 30 '25 10:07 stdstu12

I needed 96GB VRAM for inference and used AWS p5en.48xlarge instance. Inference worked successfully.

Sunwood-ai-labs avatar Aug 06 '25 16:08 Sunwood-ai-labs