Skip to content
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

Cleanup datapipes #1332

Merged
merged 8 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/scripts/check_complete_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,13 @@ def compare_sets(set_a, set_b, ignore_set=None):


def main():
datapipes_folder = os.path.join("torchdata", "datapipes")
init_file = "__init__.py"
docs_source_folder = os.path.join("docs", "source")
exit_code = 0

for target, ignore_set in zip(["iter", "map", "utils"], [{"IterDataPipe", "Extractor"}, {"MapDataPipe"}, {}]):
init_path = os.path.join(datapipes_folder, target, init_file)
rst_path = os.path.join(docs_source_folder, "torchdata.datapipes." + target + ".rst")
for target, ignore_set in [("stateful_dataloader", {})]:
init_path = os.path.join("torchdata", target, init_file)
rst_path = os.path.join(docs_source_folder, "torchdata." + target + ".rst")

init_set = collect_init_dps(init_path)
rst_set = collect_rst_dps(rst_path)
Expand Down
57 changes: 0 additions & 57 deletions .github/workflows/aistore_ci.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/build_wheels_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
include:
- repository: pytorch/data
pre-script: packaging/pre_build_script_linux.sh
post-script: packaging/post_build_script_linux.sh
post-script: ""
smoke-test-script: test/smoke_test/smoke_test.py
package-name: torchdata
name: ${{ matrix.repository }}
Expand Down
6 changes: 0 additions & 6 deletions .gitmodules

This file was deleted.

68 changes: 0 additions & 68 deletions CMakeLists.txt

This file was deleted.

11 changes: 0 additions & 11 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,21 +112,10 @@
"<class 'torch.utils.data.sampler.SequentialSampler'>": "SequentialSampler",
"torch.utils.data.datapipes.iter.combining.T_co": "T_co",
"torch.utils.data.datapipes.iter.combinatorics.T_co": "T_co",
"torchdata.datapipes.iter.transform.bucketbatcher.T_co": "T_co",
"torch.utils.data.datapipes.map.grouping.T": "T",
"torch.utils.data.datapipes.map.combining.T_co": "T_co",
"torch.utils.data.datapipes.map.combinatorics.T_co": "T_co",
"torchdata.datapipes.iter.util.cycler.T_co": "T_co",
"torchdata.datapipes.iter.util.paragraphaggregator.T_co": "T_co",
"torchdata.datapipes.map.util.cacheholder.T_co": "T_co",
"Sequence[torchdata.datapipes.map.util.unzipper.T]": "Sequence[T]",
"torchdata.datapipes.iter.util.samplemultiplexer.T_co": "T_co",
"torchdata.datapipes.iter.util.indexadder.K": "K",
"torchdata.datapipes.iter.util.unzipper.T": "T",
"torch.utils.data.datapipes.iter.grouping.T_co": "T_co",
"torchdata.datapipes.iter.util.dataframemaker.T_co": "T_co",
"torchdata.datapipes.iter.util.cacheholder.T_co": "T_co",
"torchdata.datapipes.iter.util.header.T_co": "T_co",
"<class 'torch.utils.data.datapipes.datapipe.DataChunk'>": "List",
"typing.": "",
"Union[IterDataPipe, MapDataPipe]": "DataPipe",
Expand Down
70 changes: 0 additions & 70 deletions docs/source/dataloader2.rst

This file was deleted.

70 changes: 0 additions & 70 deletions docs/source/dlv2_tutorial.rst

This file was deleted.

Loading
Loading