-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[Flax] added broadcast_to_shape_from_left helper and Scheduler tests #864
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.
Looks good to me - could we add one test?
Also did we make sure that the Flax pipeline still works (e.g. did we run the slow Flax tests once? )
yes let me add flax scheduler tests! good idea! |
I will integrate #580 here |
@anton-l i have added some flax scheduler tests... whenever you get a chance i would not mind a review. Thanks! |
Did we test the changes on a TPUv3-8 or TPUv2-8? |
Happy to merge once confirmed everything works on TPUv3-8 and fast tests pass. Think the current failure of the fast tests is unrelated and has been fixed by Suraj here: #928 |
@patrickvonplaten thanks let me update my branch! |
The following test passes in a TPU v3-8: diffusers/tests/test_pipelines_flax.py Line 70 in 2fdd094
But the others in the same class don't. For example, we are now getting diffusers/tests/test_pipelines_flax.py Line 62 in 2fdd094
main , but it works in 7c22626.
I'm a bit puzzled, I'll take another look when I've had some rest. |
Ok as this PR gives the same results as |
…uggingface#864) * added broadcast_to_shape_from_left helper * initial tests * fixed pndm tests * shape required for pndm * added require_flax * fix style * fix more imports Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
instead of the while loop