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

Install portalocker for testing #2056

Merged
merged 1 commit into from
Feb 14, 2023
Merged

Conversation

ejguan
Copy link
Contributor

@ejguan ejguan commented Feb 13, 2023

We are adding this patch to minimize the hard dependency for TorchData. So, portalocker won't be automatically installed when installing with torchdata.

This PR would add portalocker to ensure CI green

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 thanks for adding this!

@Nayef211 Nayef211 merged commit 4875857 into pytorch:main Feb 14, 2023
@h-vetinari
Copy link

Shouldn't torch/text add an explicit dependency on portalocker now? Without it, I get:

= 979 failed, 204 passed, 12 skipped, 1 deselected, 6 warnings in 495.47s (0:08:15) =

that's >80% failed tests, and probably does not represent a functional torchtext?

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.

4 participants