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 test utils #1757

Merged
merged 1 commit into from
Jun 2, 2022
Merged

Fix test utils #1757

merged 1 commit into from
Jun 2, 2022

Conversation

parmeet
Copy link
Contributor

@parmeet parmeet commented Jun 2, 2022

The validation.tar.gz (http://www.quest.dcs.shef.ac.uk/wmt16_files_mmt/validation.tar.gz) file used in test_utils.py is broken. Ideally we should not rely on public assets for testing.

This PR creates a mock asset and upload it to _TEXT_BUCKET ("https://download.pytorch.org/models/text/") which is used for testing.

@parmeet
Copy link
Contributor Author

parmeet commented Jun 2, 2022

@VirgileHlav I am seeing some test failures related to newly added datasets. Could you please take a look?

Copy link
Contributor

@Nayef211 Nayef211 left a comment

Choose a reason for hiding this comment

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

LGTM

@parmeet parmeet merged commit 1c1e823 into pytorch:main Jun 2, 2022
@parmeet parmeet deleted the fix_test_utils branch June 2, 2022 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants