Skip to content

Commit

Permalink
Add datapipes deprecation warning banner to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Ho committed Aug 7, 2024
1 parent 88c8bdc commit ccc3580
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,16 @@ def setup(app):
intersphinx_mapping = {
"graphviz": ("https://graphviz.readthedocs.io/en/stable/", None),
}

rst_prolog = """.. attention::
**June 2024 Status Update: Removing DataPipes and DataLoader V2**
We are re-focusing the torchdata repo to be an iterative enhancement of torch.utils.data.DataLoader. We do not plan on
continuing development or maintaining the [`DataPipes`] and [`DataLoaderV2`] solutions, and they will be removed from
the torchdata repo. We'll also be revisiting the `DataPipes` references in pytorch/pytorch. In release
`torchdata==0.8.0` (July 2024) they will be marked as deprecated, and in 0.9.0 (Oct 2024) they will be deleted. Existing
users are advised to pin to `torchdata==0.8.0` or an older version until they are able to migrate away. Subsequent
releases will not include DataPipes or DataLoaderV2.
Please reach out if you suggestions or comments (please use `this issue <https://github.com/pytorch/data/issues/1196>`_ for feedback)
"""

0 comments on commit ccc3580

Please sign in to comment.