Skip to content

[Tests] Improve flax test_attention_outputs#21486

Merged
sgugger merged 1 commit into
huggingface:mainfrom
Shubhamai:improve_flax_tests
Feb 10, 2023
Merged

[Tests] Improve flax test_attention_outputs#21486
sgugger merged 1 commit into
huggingface:mainfrom
Shubhamai:improve_flax_tests

Conversation

@Shubhamai

Copy link
Copy Markdown
Contributor

What does this PR do?

A copy of #20701 by NielsRogge for making corresponding changes in flax. These changes are also necessary for passing tests in flax convnext implementation PR.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue or the forum? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?

Who can review?

@sanchit-gandhi

@Shubhamai Shubhamai mentioned this pull request Feb 7, 2023
8 tasks
@HuggingFaceDocBuilderDev

HuggingFaceDocBuilderDev commented Feb 7, 2023

Copy link
Copy Markdown

The documentation is not available anymore as the PR was closed or merged.

@sanchit-gandhi sanchit-gandhi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @Shubhamai! cc @ydshieh for info

@ydshieh ydshieh left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. It turns out that attention is not all we need 😆

@sgugger sgugger merged commit 9e40bba into huggingface:main Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants