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 transformers unit tests #4079

Merged
merged 1 commit into from
Aug 2, 2023
Merged

Fix transformers unit tests #4079

merged 1 commit into from
Aug 2, 2023

Conversation

mrwyattii
Copy link
Contributor

Our transformers CI workflow had datasets pinned to an old version. This was causing errors.

@@ -56,8 +56,6 @@ jobs:
pip install .[testing]
# find reqs used in ds integration tests
find examples/pytorch -regextype posix-egrep -regex '.*(language-modeling|question-answering|summarization|image-classification|text-classification|translation).*/requirements.txt' -exec grep -v 'torch' {} \; | xargs -I {} pip install --upgrade {}
# force datasets version due to issues
pip install datasets==2.2.2
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you mean to remove it fully or just un-pin the specific version?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

datasets is a dependency of transformers and will be installed with it. No need to explicitly install it unless we are pinning the version.

Copy link
Contributor

Choose a reason for hiding this comment

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

Gotcha, thanks!

@mrwyattii mrwyattii added this pull request to the merge queue Aug 2, 2023
Merged via the queue into master with commit a7fe3bc Aug 2, 2023
polisettyvarma pushed a commit to polisettyvarma/DeepSpeed that referenced this pull request Aug 7, 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.

2 participants