-
Notifications
You must be signed in to change notification settings - Fork 151
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
torchdata/datapipes/iter/load/fsspec: added fsspec datapipes #116
Conversation
@d4l3k has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
eaa8dd6
to
0f318b9
Compare
@d4l3k has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
@d4l3k has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
@ejguan can you review this? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please install fsspec
for the CI script to turn on the tests?
Line 47 in 6309113
run: pip3 install expecttest iopath==0.1.9 numpy pytest rarfile |
You may need to install aiohttp
as well.
5a9d1f2
to
4a9fca2
Compare
@d4l3k has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again!
@d4l3k has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
This adds fsspec datapipes that are equivalent to the existing iopath ones. The tests are largely equivalent and test the
file://
andmemory://
filesystems to ensure compatibility.Closes #114
Test plan:
pytest tests/test_fsspec.py