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

Fix slow tests v4.2.0 #9561

Merged
merged 13 commits into from
Jan 13, 2021
Merged

Fix slow tests v4.2.0 #9561

merged 13 commits into from
Jan 13, 2021

Conversation

LysandreJik
Copy link
Member

Fixes a bunch of slow tests that were failing.

@@ -822,7 +822,9 @@ def prepare_config_and_inputs(self):
}

def get_pretrained_model(self):
return EncoderDecoderModel.from_encoder_decoder_pretrained("bert-large-uncased", "prophetnet-large-uncased")
return EncoderDecoderModel.from_encoder_decoder_pretrained(
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks a lot!

Copy link
Contributor

@patrickvonplaten patrickvonplaten left a comment

Choose a reason for hiding this comment

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

Thanks a lot for fixing the tests!

Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

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

Thanks for all the fixes, you rock!

@@ -75,7 +75,7 @@ jobs:
RUN_SLOW: yes
run: |
source .env/bin/activate
pip install -r examples/requirements.txt
pip install -r examples/_tests_requirements.txt
Copy link
Collaborator

Choose a reason for hiding this comment

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

Good catch!

@LysandreJik LysandreJik merged commit c949516 into master Jan 13, 2021
@LysandreJik LysandreJik deleted the fix-slow-tests-v4.2.0 branch January 13, 2021 14:55
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.

3 participants