-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Fix batch > 1 in HunyuanVideo #10548
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
I still get error with this here:
|
File "C:\OneTrainer\venv\lib\site-packages\diffusers\models\transformers\transformer_hunyuan_video.py", line 770, in forward
hidden_states, encoder_hidden_states = block(
It is line 771 on this branch, can you confirm you are testing with this PR? |
yea I copied the entire from file: https://github.com/huggingface/diffusers/blob/451ca0af739f16fa93aa5028d8fa24a08ae85cdc/src/diffusers/models/transformers/transformer_hunyuan_video.py actually wait you might be right my trainer does not use this but the one here venv\lib\site-packages\diffusers\models\transformers\transformer_hunyuan_video.py and i copied to /src/diffusers re-running the test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! It's working as expected. I wonder why our batch inference tests didn't catch this in both occurences
What does this PR do?
Fixes #10542
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.