-
Notifications
You must be signed in to change notification settings - Fork 166
[DataPipe] DataPipe Deprecation Tracker #163
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
Comments
We labeled these DataPipes as deprecated on Sep 30th, 2021 (#65827). Users should import these DataPipes from [TorchData](https://github.com/pytorch/data) to continue using them. We will be checking for any downstream library usage before landing this PR. All deprecation related to DataPipes are tracked in pytorch/data#163 DataPipes impacted by this PR: | Name | Functional API | Deprecation Date | What Happens Now | ------------- | ------------- | ------------- | ------------- | | BucketBatcher | NA | Sep 30th, 2021 | Remove (moved to TorchData) | HTTPReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) | LineReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) | TarArchiveReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) | ZipArchiveReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) Lastly, tests related to those DataPipes will also be removed or migrated to TorchData (if they do not already exist there). Differential Revision: [D33532272](https://our.internmc.facebook.com/intern/diff/D33532272) cc ezyang gchanan @VitalyFedyunin ejguan @NivekT [ghstack-poisoned]
We labeled these DataPipes as deprecated on Sep 30th, 2021 (#65827). Users should import these DataPipes from [TorchData](https://github.com/pytorch/data) to continue using them. We will be checking for any downstream library usage before landing this PR. All deprecation related to DataPipes are tracked in pytorch/data#163 DataPipes impacted by this PR: | Name | Functional API | Deprecation Date | What Happens Now | ------------- | ------------- | ------------- | ------------- | | BucketBatcher | NA | Sep 30th, 2021 | Remove (moved to TorchData) | HTTPReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) | LineReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) | TarArchiveReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) | ZipArchiveReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) Lastly, tests related to those DataPipes will also be removed or migrated to TorchData (if they do not already exist there). Differential Revision: [D33532272](https://our.internmc.facebook.com/intern/diff/D33532272) cc ezyang gchanan @VitalyFedyunin ejguan @NivekT [ghstack-poisoned]
We labeled these DataPipes as deprecated on Sep 30th, 2021 (#65827). Users should import these DataPipes from [TorchData](https://github.com/pytorch/data) to continue using them. We will be checking for any downstream library usage before landing this PR. All deprecation related to DataPipes are tracked in pytorch/data#163 DataPipes impacted by this PR: | Name | Functional API | Deprecation Date | What Happens Now | ------------- | ------------- | ------------- | ------------- | | BucketBatcher | NA | Sep 30th, 2021 | Remove (moved to TorchData) | HTTPReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) | LineReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) | TarArchiveReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) | ZipArchiveReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) Lastly, tests related to those DataPipes will also be removed or migrated to TorchData (if they do not already exist there). Differential Revision: [D33532272](https://our.internmc.facebook.com/intern/diff/D33532272) cc ezyang gchanan @VitalyFedyunin ejguan @NivekT [ghstack-poisoned]
We labeled these DataPipes as deprecated on Sep 30th, 2021 (#65827). Users should import these DataPipes from [TorchData](https://github.com/pytorch/data) to continue using them. We will be checking for any downstream library usage before landing this PR. All deprecation related to DataPipes are tracked in pytorch/data#163 DataPipes impacted by this PR: | Name | Functional API | Deprecation Date | What Happens Now | ------------- | ------------- | ------------- | ------------- | | BucketBatcher | NA | Sep 30th, 2021 | Remove (moved to TorchData) | HTTPReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) | LineReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) | TarArchiveReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) | ZipArchiveReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) Lastly, tests related to those DataPipes will also be removed or migrated to TorchData (if they do not already exist there). Differential Revision: [D33532272](https://our.internmc.facebook.com/intern/diff/D33532272) cc ezyang gchanan @VitalyFedyunin ejguan @NivekT [ghstack-poisoned]
We labeled these DataPipes as deprecated on Sep 30th, 2021 (#65827). Users should import these DataPipes from [TorchData](https://github.com/pytorch/data) to continue using them. We will be checking for any downstream library usage before landing this PR. All deprecation related to DataPipes are tracked in pytorch/data#163 DataPipes impacted by this PR: | Name | Functional API | Deprecation Date | What Happens Now | ------------- | ------------- | ------------- | ------------- | | BucketBatcher | NA | Sep 30th, 2021 | Remove (moved to TorchData) | HTTPReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) | LineReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) | TarArchiveReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) | ZipArchiveReader | NA | Sep 30th, 2021 | Remove (moved to TorchData) Lastly, tests related to those DataPipes will also be removed or migrated to TorchData (if they do not already exist there). Differential Revision: [D33532272](https://our.internmc.facebook.com/intern/diff/D33532272) cc ezyang gchanan @VitalyFedyunin ejguan @NivekT [ghstack-poisoned]
For |
…taPipe arguments Last patch to align DataPipe API with TorchArrow DataFrame For deprecation warning of DataPipe argument: ``` The argument `drop_empty_batches` of `FilterIterDataPipe()` is deprecated since 1.12 and will be removed in 1.14. See pytorch/data#163 for details. ``` Pull Request resolved: #76060 Approved by: https://github.com/NivekT
…taPipe arguments (#76060) Summary: Last patch to align DataPipe API with TorchArrow DataFrame For deprecation warning of DataPipe argument: ``` The argument `drop_empty_batches` of `FilterIterDataPipe()` is deprecated since 1.12 and will be removed in 1.14. See pytorch/data#163 for details. ``` Pull Request resolved: #76060 Approved by: https://github.com/NivekT Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/ec591087fb95525b430f2bbcdd023567e2fb1cc9 Reviewed By: seemethere, osalpekar Differential Revision: D35874488 Pulled By: ejguan fbshipit-source-id: 83f1cfc6430e6294b332195e9f056af4d2405dce
…Pipe names" Fixes pytorch/data#480. For the list of deprecated DataPipes (or functional names), see pytorch/data#163 Testing: ```python IterableWrapper(range(10)).open_file_by_iopath() ``` Returns: ``` /Users/.../pytorch/torch/utils/data/datapipes/utils/common.py:171: FutureWarning: `IoPathFileOpener()`'s functional API `.open_file_by_iopath()` is deprecated since 1.12 and will be removed in 1.14. See pytorch/data#163 for details. Please use `.open_files_by_iopath()` instead. warnings.warn(msg, FutureWarning) ``` [ghstack-poisoned]
…Pipe names" Fixes pytorch/data#480. For the list of deprecated DataPipes (or functional names), see pytorch/data#163 Testing: ```python IterableWrapper(range(10)).open_file_by_iopath() ``` Returns: ``` /Users/.../pytorch/torch/utils/data/datapipes/utils/common.py:171: FutureWarning: `IoPathFileOpener()`'s functional API `.open_file_by_iopath()` is deprecated since 1.12 and will be removed in 1.14. See pytorch/data#163 for details. Please use `.open_files_by_iopath()` instead. warnings.warn(msg, FutureWarning) ``` [ghstack-poisoned]
…Pipe names" Fixes pytorch/data#480. For the list of deprecated DataPipes (or functional names), see pytorch/data#163 Testing: ```python IterableWrapper(range(10)).open_file_by_iopath() ``` Returns: ``` /Users/.../pytorch/torch/utils/data/datapipes/utils/common.py:171: FutureWarning: `IoPathFileOpener()`'s functional API `.open_file_by_iopath()` is deprecated since 1.12 and will be removed in 1.14. See pytorch/data#163 for details. Please use `.open_files_by_iopath()` instead. warnings.warn(msg, FutureWarning) ``` [ghstack-poisoned]
Another Misc tracker:
|
…ional APIs (#88693) - Deprecating based on pytorch/data#163 Corresponding PRs from TorchData: pytorch/data#890 Pull Request resolved: #88693 Approved by: https://github.com/NivekT
I see RoutedDecoder has been marked as deprecated: what is it going to be replaced by? |
@BlueskyFR |
I don't understand: how should I proceed to decode a PNG image in the current state then? |
You can use a map function like |
Okay, but why was support for decoding dropped then? |
As, TorchData provides composable way to construct pipeline, users should be able to create a pipeline to handle specific decoding mechanism |
Okay. What is the preferred mechanism to decode images? Ideally I think it should be done in batches if performance is needed |
It depends on if your |
…ional APIs (pytorch#88693) - Deprecating based on pytorch/data#163 Corresponding PRs from TorchData: pytorch/data#890 Pull Request resolved: pytorch#88693 Approved by: https://github.com/NivekT
Uh oh!
There was an error while loading. Please reload this page.
We have a number of DataPipes that are being deprecated. Our general policy is that we first mark the DataPipe as deprecated with a warning, and wait at least one release cycle (~3 months) before removing it. Note that some DataPipes will be removed from the PyTorch Core library but will remain in TorchData, and some others are renamed.
Status Types:
DataLoader2
TrackerPrototypeMultiProcessingReadingService
->MultiProcessingReadingService
IterDataPipe
Trackeropen_file_by_fsspec
is Removedopen_file_by_iopath
is RemovedMapDataPipe
TrackerNothing for now
cc: @ejguan @VitalyFedyunin @NivekT
The text was updated successfully, but these errors were encountered: