-
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 num images per prompt unclip #1787
Conversation
The documentation is not available anymore as the PR was closed or merged. |
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 for the quick fix! One more line to remove is ${CONDA_RUN} python -m pip install git+https://github.com/huggingface/accelerate
in the standalone MPS tests
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 for the fix!
* use repeat_interleave * fix repeat * Trigger Build * don't install accelerate from main * install released accelrate for mps test * Remove additional accelerate installation from main. Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
* use repeat_interleave * fix repeat * Trigger Build * don't install accelerate from main * install released accelrate for mps test * Remove additional accelerate installation from main. Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
* use repeat_interleave * fix repeat * Trigger Build * don't install accelerate from main * install released accelrate for mps test * Remove additional accelerate installation from main. Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
Use
repeat_interleave
instead ofrepeat
to duplicate the attention masks.fixes #1785
This PR also adpats the test envs to use released
accelerate
version rather thanmain
, astest_from_save_pretrained_dtype
tests are faling withaccelerate
main as a result of huggingface/accelerate#920