-
Notifications
You must be signed in to change notification settings - Fork 6.4k
changed channel parameters for UNET and VAE. Changed configs parameters of CLIPText #5370
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
Conversation
…size with increased attention heads and intermediate size
@DN6 Kindly review and awaiting your feedback. Thank you! |
I thought assertion errors were inevitable since the parametric change will influence those values.....do i need to consider changing the assertion checks such as ''np.abs(image_slice.flatten() - expected_slice).max() < 1e-2'' into the range that is acceptable? |
image_slice = image[0, -3:, -3:, -1] | ||
|
||
assert image.shape == (1, 64, 64, 3) | ||
expected_slice = np.array([0.4873, 0.5443, 0.4845, 0.5004, 0.5549, 0.4850, 0.5191, 0.4941, 0.5065]) |
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.
We will have to update the expected values here cc @DN6 can you help?
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. |
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.
Nice!
Thank you all! |
…rs of CLIPText (huggingface#5370) * changed channel parameters for UNET and VAE. Decreased hidden layers size with increased attention heads and intermediate size * changed the assertion check range * clean up --------- Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com>
…rs of CLIPText (huggingface#5370) * changed channel parameters for UNET and VAE. Decreased hidden layers size with increased attention heads and intermediate size * changed the assertion check range * clean up --------- Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com>
Tested locally (skipping slow runs), faced some assertion errors due to model changes.
What does this PR do?
Fixes #5262
Before submitting
documentation guidelines, and
here are tips on formatting docstrings.
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.