-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The generated result is black,what's wrong with it? #107
Comments
H20 |
RuntimeWarning: invalid value encountered in cast |
When I used --precision bf16, the generated results look right A.lone.hiker.stands.atop.a.towering.cliff.silhouetted.against.the.vast.horizon.The.rugged.landscap.mp4 |
Thanks for reporting this issue. The black output is caused by NaN values in computation getting cast to zeros. Using --precision bf16 resolves this numerical instability problem, as you found. Thank you for sharing this solution. |
@TZYSJTU we'll support a lower precision soon, stay tuned. |
@TZYSJTU I'm also trying to get this to work, which model did you use? https://huggingface.co/FastVideo/FastHunyuan or https://huggingface.co/FastVideo/FastHunyuan-diffusers? I was using diffusers in combination with What kind of setup do you have? @foreverpiano or is the diffusers pipeline just not working right now? |
cc @rlsu9 |
@TimPietrusky Hi, could you please provide your |
@rlsu9 it's the one from this repository: https://github.com/hao-ai-lab/FastVideo/blob/main/scripts/inference/inference_diffusers_hunyuan.sh |
@TimPietrusky the token refiner produces NaNs when using compiled. At least with torch 2.5.0 which is installed in env_setup.sh. disabling compilation of the token refiner solves it. Not sure if you used compilation as well. I only tried the inference_hunyuan_STA.sh script |
hi,the demo result looks strange,it is all black
Will Smith casually eats noodles, his relaxed demeanor contrasting with the energetic background of .mp4
https://github.com/user-attachments/assets/cb953284-a617-43d4-980a-27f0eb682370
The text was updated successfully, but these errors were encountered: