-
Notifications
You must be signed in to change notification settings - Fork 157
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
TorchText tests failed when multiprocessing #397
Comments
See the domain tests in my PR https://github.com/pytorch/data/pull/394/checks |
Thank you for reporting, lets fix it forward in DataLoader1 and DataLoader2 |
If users upgrade I can also submit a PR to |
@NivekT totally makes sense to update torchtext. As parallel topic: Should we consider |
If that helps, we have opened pytorch/vision#5938 so that you can check whether recent changes break the torchvision datapipes when Re torchtext's useof Regarding making |
Yeah but technically, we can revert the change by doing |
Do I understand correctly that this |
Install won't affect. It only affects the |
…in mutiprocessing" Fixes part of pytorch/data#397 (only DataLoader v2 remaining) [ghstack-poisoned]
…in mutiprocessing" Fixes part of pytorch/data#397 (only DataLoader v2 remaining) [ghstack-poisoned]
…in mutiprocessing" Fixes part of pytorch/data#397 (only DataLoader v2 remaining) [ghstack-poisoned]
…in mutiprocessing" Fixes part of pytorch/data#397 (only DataLoader v2 remaining) Differential Revision: [D36347737](https://our.internmc.facebook.com/intern/diff/D36347737) [ghstack-poisoned]
…in mutiprocessing" Fixes part of pytorch/data#397 (only DataLoader v2 remaining) Differential Revision: [D36347737](https://our.internmc.facebook.com/intern/diff/D36347737) [ghstack-poisoned]
…in mutiprocessing" Fixes part of pytorch/data#397 (only DataLoader v2 remaining) Differential Revision: [D36347737](https://our.internmc.facebook.com/intern/diff/D36347737) [ghstack-poisoned]
Updating the original post to track progress |
Summary: X-link: pytorch/pytorch#77288 Fixes part of #397 (only DataLoader v2 remaining) Reviewed By: NivekT, ejguan Differential Revision: D36347737 Pulled By: VitalyFedyunin fbshipit-source-id: 144d149f1da98b7108f54e9dcecda0f5740d1eb9
…essing (#77288) Summary: Pull Request resolved: #77288 Fixes part of pytorch/data#397 (only DataLoader v2 remaining) Test Plan: Imported from OSS Reviewed By: NivekT, ejguan Differential Revision: D36347737 Pulled By: VitalyFedyunin fbshipit-source-id: 144d149f1da98b7108f54e9dcecda0f5740d1eb9
Keeping this open since we need the change for DataLoader V2 as well |
🐛 Describe the bug
I think the test from TorchText starts failing after pytorch/pytorch#74984 is landed into core and shipped into nightly.
Should we either revert the change or fix this problem ASAP considering the closing branch cut for TorchText?
We can let TorchText team to remove all lambda function in their dataset if needed.
Versions
main
Progress
Replacing lambda functions with regular functions in all datasets text#1718
dill
in DataLoaderV1[DataLoader] Adding ability to use dill to pass DataPipes in mutiprocessing pytorch#77288
dill
in DataLoaderV2 (TODO)The text was updated successfully, but these errors were encountered: