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

Fixing tests. It seems master changed something in the warnings. #9483

Merged
merged 1 commit into from
Jan 10, 2021

Conversation

Narsil
Copy link
Contributor

@Narsil Narsil commented Jan 8, 2021

What does this PR do?

Trying to keep warning tests for now. Should be discarded if it becomes
too hard to maintain.

60 started to trigger a new warning, saying that the input_ids length was longer than model max_length.
I'm not really sure which commit triggered this, but it did not occur in the original 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?

@patrickvonplaten
@LysandreJik

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors which may be interested in your PR.

Trying to keep warning tests for now. Should be discarded if it becomes
too hard to maintain.
@patrickvonplaten
Copy link
Contributor

I don't understand this: "60 started to trigger a new warning, saying that the input_ids length was longer than model max_length."

@patrickvonplaten
Copy link
Contributor

Would be nice to find what triggered this to be sure we didn't introduce a bug no?

@Narsil
Copy link
Contributor Author

Narsil commented Jan 8, 2021

@patrickvonplaten I think we're good.

It's this commit 79bbcc5 that triggered the extra warning.

@patrickvonplaten patrickvonplaten merged commit 96f1f74 into huggingface:master Jan 10, 2021
guyrosin pushed a commit to guyrosin/transformers that referenced this pull request Jan 15, 2021
…gingface#9483)

Trying to keep warning tests for now. Should be discarded if it becomes
too hard to maintain.
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.

2 participants