Skip to content
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

Update modeling_flax_wav2vec2.py #13680

Merged
merged 1 commit into from
Sep 21, 2021

Conversation

kamalkraj
Copy link
Contributor

@kamalkraj kamalkraj commented Sep 21, 2021

conv kernel_size to Tuple,
Flax Version 0.3.5 breaking change, https://github.com/google/flax/releases/tag/v0.3.5

PR #13393
test failed link - https://app.circleci.com/pipelines/github/huggingface/transformers/28187/workflows/e0df5370-aebd-4fe7-99fb-ff49e2ddcec8/jobs/276846

What does this PR do?

Fixes # (issue)

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?

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.

@patrickvonplaten

conv kernel_size to Tuple,
Flax Version 0.3.5 breaking change, https://github.com/google/flax/releases/tag/v0.3.5
@patrickvonplaten
Copy link
Contributor

Thanks a lot for the PR @kamalkraj!

@patil-suraj - I checked that FlaxViT and FlaxCLIP already use Tuples so this PR should cover all Flax Conv modules

@patrickvonplaten patrickvonplaten merged commit 8565d38 into huggingface:master Sep 21, 2021
@patil-suraj
Copy link
Contributor

Thanks for the quick fix @kamalkraj !

@kamalkraj kamalkraj deleted the patch-1 branch September 22, 2021 05:19
Narsil pushed a commit to Narsil/transformers that referenced this pull request Sep 25, 2021
stas00 pushed a commit to stas00/transformers that referenced this pull request Oct 12, 2021
Albertobegue pushed a commit to Albertobegue/transformers that referenced this pull request Jan 13, 2022
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.

None yet

3 participants