Skip to content

Commit 792cb73

Browse files
tchatonthomas
and
thomas
authored
Remove the LightningDataset relying on un-maintained torchdata (#19019)
Co-authored-by: thomas <[email protected]>
1 parent b80107e commit 792cb73

28 files changed

+8
-2279
lines changed

examples/data/image/imagenet.py

-191
This file was deleted.

requirements/data/data.txt

-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,5 @@
22
# in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment
33

44
lightning-utilities >=0.8.0, <0.10.0
5-
# to be able to include also 0.6 and preserve `>` needed for CI min version bypass
6-
torchdata >0.5.9, <=0.7.0
75
# to be able to include also PL 2.0 and preserve `>` needed for CI min version bypass
86
torch >0.14.0, <2.2.0

src/lightning/data/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from lightning.data.datasets import LightningDataset, LightningIterableDataset
21
from lightning.data.streaming.dataset import StreamingDataset
32
from lightning.data.streaming.functions import map, optimize
43

src/lightning/data/backends.py

-74
This file was deleted.

src/lightning/data/datasets/__init__.py

-4
This file was deleted.

src/lightning/data/datasets/base.py

-39
This file was deleted.

0 commit comments

Comments
 (0)