-
Notifications
You must be signed in to change notification settings - Fork 768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for fp8_e4m3fn model #80
base: main
Are you sure you want to change the base?
Conversation
Thanks for PR! I've tested 480p I2V with 1 RTX 3090 and 2 RTX 3090, both took ~35 min. |
Gradio doesn't seem to support it yet, and Gradio's i2v-720p can't run on 48GB of video memory, so it's just OOM. |
how to modify t5.py and vae.py in order to use bf16_vae model and fp8 t5 model?there is no t5 tokenizer. json in the modelscope,where to find t5 tokenizer. json? |
I have updated the code to use fp8 t5 model. I downloaded the t5 tokenizer.json on the HuggingFace https://huggingface.co/Wan-AI/Wan2.1-T2V-1.3B/blob/main/google/umt5-xxl/tokenizer.json |
Will there be fp4 support to boost Blackwell gpus? |
Thanks for your great work! I can run FP8 model on low VRAM device now.
|
Due to the parameters of model using mixed precision, FSDP is not supported currently |
Add support for the fp8_e4m3fn model, enabling Wan2.1-480P to run on a single 4090.
Add offload VAE model, reducing occupied GPU memory.