lightning/.github/workflows/ci-tests-data.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

117 lines
4.3 KiB
YAML
Raw Normal View History

Lightning Dataset (including optimized dataloading of s3 buckets) (#17743) * Lightning DataLoader * lightning dataloader * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * init * example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * env var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/__init__.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * remove unused functions * extra reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/fileio.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports work now! yay * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * missing import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * error handling * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update creds for local use case * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * recursive get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clean up get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update imagenet example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * example cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changelog * reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * requirements * expose LightningDataset too * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * expost LightningDataset at top level * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove unused private methods from init * remove private imports * upper bound on extra requirements * review comments * loosen req * deps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test updating fabric base req * remove version pin on s3fs to test * recover missing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * update * random * torchdata >= 0.3.0 * update torchdata version * remove torchdata version to test * try rem torch version pin * req * update bucket in test * req * skips * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * import * update structure to lightning.data * base.txt for data reqs * fix imports * rename to LightningS3Dataset * new workflow * dont need to test warnings * reqs * req * revert data folder in pytorch * test import * tests * req * req * req * torch version * req * req * open dep * reformatted * pin strict * pin strict extra * req * modify workflow, no cache * try * patch * import * fix * dataset test * update getattr * pin everything to test * remove torch preinstall from workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * print * skip test for now * update path join * revert app dep version bump * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow updates * app base req * req * window test failure * add data req to assistant * try * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add missing comma * updates * update * typo * requirements * try widening req * older torch version * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * update * update * update * cleanup tests * typo again * update * remove unnecessary line * Update .github/CODEOWNERS * Discard changes to requirements/pytorch/base.txt * Discard changes to requirements/fabric/base.txt * Discard changes to requirements/app/base.txt * requirements * requirements * one line * app workflow pick only app reqs * rename package * undo * don't use cache * examples CI * pytorch and fabric CI * try remove cache * Apply suggestions from code review * jirka playing * jirka playing * jirka playing * blah * flatten LightningDataset * cleans up dataset class * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * extra * fix dataset test * update checkgroups * Luca's review comments * val error fix * unskip test * min * fix precommit warning * cpu * docstrings * req * 2.0.1 * add return type * typing errors * req * return types with quotations * import for type-checking * no botocore in cloudagnostic code * exit args * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * backends typing * remove oldest from data tests * typing * typing * typing * types * type * typing * typing * typing * import fix * Changelog --------- Co-authored-by: Noha Alon <nohaalon@Nohas-MacBook-Air.local> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz> Co-authored-by: Justus Schock <justus.schock@posteo.de>
2023-06-13 10:44:41 +00:00
name: Test Data
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
on:
push:
branches: [master, "release/*"]
pull_request:
branches: [master, "release/*"]
types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped
Lightning Dataset (including optimized dataloading of s3 buckets) (#17743) * Lightning DataLoader * lightning dataloader * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * init * example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * env var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/__init__.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * remove unused functions * extra reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/fileio.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports work now! yay * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * missing import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * error handling * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update creds for local use case * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * recursive get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clean up get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update imagenet example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * example cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changelog * reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * requirements * expose LightningDataset too * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * expost LightningDataset at top level * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove unused private methods from init * remove private imports * upper bound on extra requirements * review comments * loosen req * deps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test updating fabric base req * remove version pin on s3fs to test * recover missing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * update * random * torchdata >= 0.3.0 * update torchdata version * remove torchdata version to test * try rem torch version pin * req * update bucket in test * req * skips * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * import * update structure to lightning.data * base.txt for data reqs * fix imports * rename to LightningS3Dataset * new workflow * dont need to test warnings * reqs * req * revert data folder in pytorch * test import * tests * req * req * req * torch version * req * req * open dep * reformatted * pin strict * pin strict extra * req * modify workflow, no cache * try * patch * import * fix * dataset test * update getattr * pin everything to test * remove torch preinstall from workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * print * skip test for now * update path join * revert app dep version bump * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow updates * app base req * req * window test failure * add data req to assistant * try * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add missing comma * updates * update * typo * requirements * try widening req * older torch version * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * update * update * update * cleanup tests * typo again * update * remove unnecessary line * Update .github/CODEOWNERS * Discard changes to requirements/pytorch/base.txt * Discard changes to requirements/fabric/base.txt * Discard changes to requirements/app/base.txt * requirements * requirements * one line * app workflow pick only app reqs * rename package * undo * don't use cache * examples CI * pytorch and fabric CI * try remove cache * Apply suggestions from code review * jirka playing * jirka playing * jirka playing * blah * flatten LightningDataset * cleans up dataset class * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * extra * fix dataset test * update checkgroups * Luca's review comments * val error fix * unskip test * min * fix precommit warning * cpu * docstrings * req * 2.0.1 * add return type * typing errors * req * return types with quotations * import for type-checking * no botocore in cloudagnostic code * exit args * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * backends typing * remove oldest from data tests * typing * typing * typing * types * type * typing * typing * typing * import fix * Changelog --------- Co-authored-by: Noha Alon <nohaalon@Nohas-MacBook-Air.local> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz> Co-authored-by: Justus Schock <justus.schock@posteo.de>
2023-06-13 10:44:41 +00:00
paths:
2023-06-15 15:25:59 +00:00
- ".actions/*"
Lightning Dataset (including optimized dataloading of s3 buckets) (#17743) * Lightning DataLoader * lightning dataloader * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * init * example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * env var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/__init__.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * remove unused functions * extra reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/fileio.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports work now! yay * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * missing import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * error handling * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update creds for local use case * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * recursive get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clean up get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update imagenet example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * example cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changelog * reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * requirements * expose LightningDataset too * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * expost LightningDataset at top level * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove unused private methods from init * remove private imports * upper bound on extra requirements * review comments * loosen req * deps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test updating fabric base req * remove version pin on s3fs to test * recover missing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * update * random * torchdata >= 0.3.0 * update torchdata version * remove torchdata version to test * try rem torch version pin * req * update bucket in test * req * skips * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * import * update structure to lightning.data * base.txt for data reqs * fix imports * rename to LightningS3Dataset * new workflow * dont need to test warnings * reqs * req * revert data folder in pytorch * test import * tests * req * req * req * torch version * req * req * open dep * reformatted * pin strict * pin strict extra * req * modify workflow, no cache * try * patch * import * fix * dataset test * update getattr * pin everything to test * remove torch preinstall from workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * print * skip test for now * update path join * revert app dep version bump * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow updates * app base req * req * window test failure * add data req to assistant * try * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add missing comma * updates * update * typo * requirements * try widening req * older torch version * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * update * update * update * cleanup tests * typo again * update * remove unnecessary line * Update .github/CODEOWNERS * Discard changes to requirements/pytorch/base.txt * Discard changes to requirements/fabric/base.txt * Discard changes to requirements/app/base.txt * requirements * requirements * one line * app workflow pick only app reqs * rename package * undo * don't use cache * examples CI * pytorch and fabric CI * try remove cache * Apply suggestions from code review * jirka playing * jirka playing * jirka playing * blah * flatten LightningDataset * cleans up dataset class * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * extra * fix dataset test * update checkgroups * Luca's review comments * val error fix * unskip test * min * fix precommit warning * cpu * docstrings * req * 2.0.1 * add return type * typing errors * req * return types with quotations * import for type-checking * no botocore in cloudagnostic code * exit args * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * backends typing * remove oldest from data tests * typing * typing * typing * types * type * typing * typing * typing * import fix * Changelog --------- Co-authored-by: Noha Alon <nohaalon@Nohas-MacBook-Air.local> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz> Co-authored-by: Justus Schock <justus.schock@posteo.de>
2023-06-13 10:44:41 +00:00
- "requirements/data/**"
- "src/lightning/data/**"
- "tests/tests_data/**"
- "pyproject.toml" # includes pytest config
Lightning Dataset (including optimized dataloading of s3 buckets) (#17743) * Lightning DataLoader * lightning dataloader * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * init * example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * env var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/__init__.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * remove unused functions * extra reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/fileio.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports work now! yay * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * missing import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * error handling * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update creds for local use case * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * recursive get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clean up get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update imagenet example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * example cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changelog * reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * requirements * expose LightningDataset too * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * expost LightningDataset at top level * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove unused private methods from init * remove private imports * upper bound on extra requirements * review comments * loosen req * deps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test updating fabric base req * remove version pin on s3fs to test * recover missing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * update * random * torchdata >= 0.3.0 * update torchdata version * remove torchdata version to test * try rem torch version pin * req * update bucket in test * req * skips * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * import * update structure to lightning.data * base.txt for data reqs * fix imports * rename to LightningS3Dataset * new workflow * dont need to test warnings * reqs * req * revert data folder in pytorch * test import * tests * req * req * req * torch version * req * req * open dep * reformatted * pin strict * pin strict extra * req * modify workflow, no cache * try * patch * import * fix * dataset test * update getattr * pin everything to test * remove torch preinstall from workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * print * skip test for now * update path join * revert app dep version bump * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow updates * app base req * req * window test failure * add data req to assistant * try * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add missing comma * updates * update * typo * requirements * try widening req * older torch version * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * update * update * update * cleanup tests * typo again * update * remove unnecessary line * Update .github/CODEOWNERS * Discard changes to requirements/pytorch/base.txt * Discard changes to requirements/fabric/base.txt * Discard changes to requirements/app/base.txt * requirements * requirements * one line * app workflow pick only app reqs * rename package * undo * don't use cache * examples CI * pytorch and fabric CI * try remove cache * Apply suggestions from code review * jirka playing * jirka playing * jirka playing * blah * flatten LightningDataset * cleans up dataset class * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * extra * fix dataset test * update checkgroups * Luca's review comments * val error fix * unskip test * min * fix precommit warning * cpu * docstrings * req * 2.0.1 * add return type * typing errors * req * return types with quotations * import for type-checking * no botocore in cloudagnostic code * exit args * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * backends typing * remove oldest from data tests * typing * typing * typing * types * type * typing * typing * typing * import fix * Changelog --------- Co-authored-by: Noha Alon <nohaalon@Nohas-MacBook-Air.local> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz> Co-authored-by: Justus Schock <justus.schock@posteo.de>
2023-06-13 10:44:41 +00:00
- ".github/workflows/ci-tests-data.yml"
- "!requirements/*/docs.txt"
- "!*.md"
- "!**/*.md"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }}
defaults:
run:
shell: bash
jobs:
data-cpu:
runs-on: ${{ matrix.os }}
if: github.event.pull_request.draft == false
strategy:
fail-fast: false
matrix:
include:
- { os: "macOS-11", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.0" }
- { os: "ubuntu-20.04", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.0" }
- { os: "windows-2022", pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.0" }
Lightning Dataset (including optimized dataloading of s3 buckets) (#17743) * Lightning DataLoader * lightning dataloader * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * init * example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * env var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/__init__.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * remove unused functions * extra reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/fileio.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports work now! yay * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * missing import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * error handling * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update creds for local use case * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * recursive get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clean up get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update imagenet example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * example cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changelog * reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * requirements * expose LightningDataset too * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * expost LightningDataset at top level * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove unused private methods from init * remove private imports * upper bound on extra requirements * review comments * loosen req * deps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test updating fabric base req * remove version pin on s3fs to test * recover missing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * update * random * torchdata >= 0.3.0 * update torchdata version * remove torchdata version to test * try rem torch version pin * req * update bucket in test * req * skips * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * import * update structure to lightning.data * base.txt for data reqs * fix imports * rename to LightningS3Dataset * new workflow * dont need to test warnings * reqs * req * revert data folder in pytorch * test import * tests * req * req * req * torch version * req * req * open dep * reformatted * pin strict * pin strict extra * req * modify workflow, no cache * try * patch * import * fix * dataset test * update getattr * pin everything to test * remove torch preinstall from workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * print * skip test for now * update path join * revert app dep version bump * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow updates * app base req * req * window test failure * add data req to assistant * try * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add missing comma * updates * update * typo * requirements * try widening req * older torch version * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * update * update * update * cleanup tests * typo again * update * remove unnecessary line * Update .github/CODEOWNERS * Discard changes to requirements/pytorch/base.txt * Discard changes to requirements/fabric/base.txt * Discard changes to requirements/app/base.txt * requirements * requirements * one line * app workflow pick only app reqs * rename package * undo * don't use cache * examples CI * pytorch and fabric CI * try remove cache * Apply suggestions from code review * jirka playing * jirka playing * jirka playing * blah * flatten LightningDataset * cleans up dataset class * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * extra * fix dataset test * update checkgroups * Luca's review comments * val error fix * unskip test * min * fix precommit warning * cpu * docstrings * req * 2.0.1 * add return type * typing errors * req * return types with quotations * import for type-checking * no botocore in cloudagnostic code * exit args * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * backends typing * remove oldest from data tests * typing * typing * typing * types * type * typing * typing * typing * import fix * Changelog --------- Co-authored-by: Noha Alon <nohaalon@Nohas-MacBook-Air.local> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz> Co-authored-by: Justus Schock <justus.schock@posteo.de>
2023-06-13 10:44:41 +00:00
# "oldest" versions tests, only on minimum Python
# - {os: "macOS-11", pkg-name: "lightning", python-version: "3.8", pytorch-version: "2.0", requires: "oldest"}
# - {os: "ubuntu-20.04", pkg-name: "lightning", python-version: "3.8", pytorch-version: "2.0", requires: "oldest"}
# - {os: "windows-2022", pkg-name: "lightning", python-version: "3.8", pytorch-version: "2.0", requires: "oldest"}
timeout-minutes: 25 # because of building grpcio on Mac
Lightning Dataset (including optimized dataloading of s3 buckets) (#17743) * Lightning DataLoader * lightning dataloader * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * init * example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * env var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/__init__.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * remove unused functions * extra reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/fileio.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports work now! yay * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * missing import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * error handling * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update creds for local use case * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * recursive get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clean up get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update imagenet example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * example cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changelog * reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * requirements * expose LightningDataset too * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * expost LightningDataset at top level * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove unused private methods from init * remove private imports * upper bound on extra requirements * review comments * loosen req * deps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test updating fabric base req * remove version pin on s3fs to test * recover missing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * update * random * torchdata >= 0.3.0 * update torchdata version * remove torchdata version to test * try rem torch version pin * req * update bucket in test * req * skips * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * import * update structure to lightning.data * base.txt for data reqs * fix imports * rename to LightningS3Dataset * new workflow * dont need to test warnings * reqs * req * revert data folder in pytorch * test import * tests * req * req * req * torch version * req * req * open dep * reformatted * pin strict * pin strict extra * req * modify workflow, no cache * try * patch * import * fix * dataset test * update getattr * pin everything to test * remove torch preinstall from workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * print * skip test for now * update path join * revert app dep version bump * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow updates * app base req * req * window test failure * add data req to assistant * try * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add missing comma * updates * update * typo * requirements * try widening req * older torch version * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * update * update * update * cleanup tests * typo again * update * remove unnecessary line * Update .github/CODEOWNERS * Discard changes to requirements/pytorch/base.txt * Discard changes to requirements/fabric/base.txt * Discard changes to requirements/app/base.txt * requirements * requirements * one line * app workflow pick only app reqs * rename package * undo * don't use cache * examples CI * pytorch and fabric CI * try remove cache * Apply suggestions from code review * jirka playing * jirka playing * jirka playing * blah * flatten LightningDataset * cleans up dataset class * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * extra * fix dataset test * update checkgroups * Luca's review comments * val error fix * unskip test * min * fix precommit warning * cpu * docstrings * req * 2.0.1 * add return type * typing errors * req * return types with quotations * import for type-checking * no botocore in cloudagnostic code * exit args * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * backends typing * remove oldest from data tests * typing * typing * typing * types * type * typing * typing * typing * import fix * Changelog --------- Co-authored-by: Noha Alon <nohaalon@Nohas-MacBook-Air.local> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz> Co-authored-by: Justus Schock <justus.schock@posteo.de>
2023-06-13 10:44:41 +00:00
env:
PACKAGE_NAME: ${{ matrix.pkg-name }}
FREEZE_REQUIREMENTS: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }}
# PYPI_CACHE_DIR: "_pip-wheels"
2023-08-28 15:15:12 +00:00
TORCH_URL: "https://download.pytorch.org/whl/cpu/torch_stable.html"
Lightning Dataset (including optimized dataloading of s3 buckets) (#17743) * Lightning DataLoader * lightning dataloader * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * init * example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * env var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/__init__.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * remove unused functions * extra reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/fileio.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports work now! yay * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * missing import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * error handling * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update creds for local use case * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * recursive get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clean up get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update imagenet example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * example cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changelog * reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * requirements * expose LightningDataset too * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * expost LightningDataset at top level * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove unused private methods from init * remove private imports * upper bound on extra requirements * review comments * loosen req * deps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test updating fabric base req * remove version pin on s3fs to test * recover missing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * update * random * torchdata >= 0.3.0 * update torchdata version * remove torchdata version to test * try rem torch version pin * req * update bucket in test * req * skips * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * import * update structure to lightning.data * base.txt for data reqs * fix imports * rename to LightningS3Dataset * new workflow * dont need to test warnings * reqs * req * revert data folder in pytorch * test import * tests * req * req * req * torch version * req * req * open dep * reformatted * pin strict * pin strict extra * req * modify workflow, no cache * try * patch * import * fix * dataset test * update getattr * pin everything to test * remove torch preinstall from workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * print * skip test for now * update path join * revert app dep version bump * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow updates * app base req * req * window test failure * add data req to assistant * try * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add missing comma * updates * update * typo * requirements * try widening req * older torch version * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * update * update * update * cleanup tests * typo again * update * remove unnecessary line * Update .github/CODEOWNERS * Discard changes to requirements/pytorch/base.txt * Discard changes to requirements/fabric/base.txt * Discard changes to requirements/app/base.txt * requirements * requirements * one line * app workflow pick only app reqs * rename package * undo * don't use cache * examples CI * pytorch and fabric CI * try remove cache * Apply suggestions from code review * jirka playing * jirka playing * jirka playing * blah * flatten LightningDataset * cleans up dataset class * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * extra * fix dataset test * update checkgroups * Luca's review comments * val error fix * unskip test * min * fix precommit warning * cpu * docstrings * req * 2.0.1 * add return type * typing errors * req * return types with quotations * import for type-checking * no botocore in cloudagnostic code * exit args * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * backends typing * remove oldest from data tests * typing * typing * typing * types * type * typing * typing * typing * import fix * Changelog --------- Co-authored-by: Noha Alon <nohaalon@Nohas-MacBook-Air.local> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz> Co-authored-by: Justus Schock <justus.schock@posteo.de>
2023-06-13 10:44:41 +00:00
steps:
- uses: actions/checkout@v3
Lightning Dataset (including optimized dataloading of s3 buckets) (#17743) * Lightning DataLoader * lightning dataloader * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * init * example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * env var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/__init__.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * remove unused functions * extra reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/fileio.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports work now! yay * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * missing import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * error handling * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update creds for local use case * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * recursive get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clean up get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update imagenet example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * example cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changelog * reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * requirements * expose LightningDataset too * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * expost LightningDataset at top level * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove unused private methods from init * remove private imports * upper bound on extra requirements * review comments * loosen req * deps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test updating fabric base req * remove version pin on s3fs to test * recover missing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * update * random * torchdata >= 0.3.0 * update torchdata version * remove torchdata version to test * try rem torch version pin * req * update bucket in test * req * skips * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * import * update structure to lightning.data * base.txt for data reqs * fix imports * rename to LightningS3Dataset * new workflow * dont need to test warnings * reqs * req * revert data folder in pytorch * test import * tests * req * req * req * torch version * req * req * open dep * reformatted * pin strict * pin strict extra * req * modify workflow, no cache * try * patch * import * fix * dataset test * update getattr * pin everything to test * remove torch preinstall from workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * print * skip test for now * update path join * revert app dep version bump * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow updates * app base req * req * window test failure * add data req to assistant * try * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add missing comma * updates * update * typo * requirements * try widening req * older torch version * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * update * update * update * cleanup tests * typo again * update * remove unnecessary line * Update .github/CODEOWNERS * Discard changes to requirements/pytorch/base.txt * Discard changes to requirements/fabric/base.txt * Discard changes to requirements/app/base.txt * requirements * requirements * one line * app workflow pick only app reqs * rename package * undo * don't use cache * examples CI * pytorch and fabric CI * try remove cache * Apply suggestions from code review * jirka playing * jirka playing * jirka playing * blah * flatten LightningDataset * cleans up dataset class * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * extra * fix dataset test * update checkgroups * Luca's review comments * val error fix * unskip test * min * fix precommit warning * cpu * docstrings * req * 2.0.1 * add return type * typing errors * req * return types with quotations * import for type-checking * no botocore in cloudagnostic code * exit args * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * backends typing * remove oldest from data tests * typing * typing * typing * types * type * typing * typing * typing * import fix * Changelog --------- Co-authored-by: Noha Alon <nohaalon@Nohas-MacBook-Air.local> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz> Co-authored-by: Justus Schock <justus.schock@posteo.de>
2023-06-13 10:44:41 +00:00
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
Lightning Dataset (including optimized dataloading of s3 buckets) (#17743) * Lightning DataLoader * lightning dataloader * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * init * example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * env var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/__init__.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * remove unused functions * extra reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/fileio.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports work now! yay * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * missing import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * error handling * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update creds for local use case * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * recursive get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clean up get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update imagenet example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * example cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changelog * reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * requirements * expose LightningDataset too * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * expost LightningDataset at top level * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove unused private methods from init * remove private imports * upper bound on extra requirements * review comments * loosen req * deps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test updating fabric base req * remove version pin on s3fs to test * recover missing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * update * random * torchdata >= 0.3.0 * update torchdata version * remove torchdata version to test * try rem torch version pin * req * update bucket in test * req * skips * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * import * update structure to lightning.data * base.txt for data reqs * fix imports * rename to LightningS3Dataset * new workflow * dont need to test warnings * reqs * req * revert data folder in pytorch * test import * tests * req * req * req * torch version * req * req * open dep * reformatted * pin strict * pin strict extra * req * modify workflow, no cache * try * patch * import * fix * dataset test * update getattr * pin everything to test * remove torch preinstall from workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * print * skip test for now * update path join * revert app dep version bump * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow updates * app base req * req * window test failure * add data req to assistant * try * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add missing comma * updates * update * typo * requirements * try widening req * older torch version * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * update * update * update * cleanup tests * typo again * update * remove unnecessary line * Update .github/CODEOWNERS * Discard changes to requirements/pytorch/base.txt * Discard changes to requirements/fabric/base.txt * Discard changes to requirements/app/base.txt * requirements * requirements * one line * app workflow pick only app reqs * rename package * undo * don't use cache * examples CI * pytorch and fabric CI * try remove cache * Apply suggestions from code review * jirka playing * jirka playing * jirka playing * blah * flatten LightningDataset * cleans up dataset class * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * extra * fix dataset test * update checkgroups * Luca's review comments * val error fix * unskip test * min * fix precommit warning * cpu * docstrings * req * 2.0.1 * add return type * typing errors * req * return types with quotations * import for type-checking * no botocore in cloudagnostic code * exit args * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * backends typing * remove oldest from data tests * typing * typing * typing * types * type * typing * typing * typing * import fix * Changelog --------- Co-authored-by: Noha Alon <nohaalon@Nohas-MacBook-Air.local> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz> Co-authored-by: Justus Schock <justus.schock@posteo.de>
2023-06-13 10:44:41 +00:00
- name: basic setup
run: pip install -q -r .actions/requirements.txt
Lightning Dataset (including optimized dataloading of s3 buckets) (#17743) * Lightning DataLoader * lightning dataloader * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * init * example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * env var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/__init__.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * remove unused functions * extra reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/fileio.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports work now! yay * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * missing import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * error handling * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update creds for local use case * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * recursive get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clean up get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update imagenet example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * example cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changelog * reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * requirements * expose LightningDataset too * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * expost LightningDataset at top level * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove unused private methods from init * remove private imports * upper bound on extra requirements * review comments * loosen req * deps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test updating fabric base req * remove version pin on s3fs to test * recover missing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * update * random * torchdata >= 0.3.0 * update torchdata version * remove torchdata version to test * try rem torch version pin * req * update bucket in test * req * skips * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * import * update structure to lightning.data * base.txt for data reqs * fix imports * rename to LightningS3Dataset * new workflow * dont need to test warnings * reqs * req * revert data folder in pytorch * test import * tests * req * req * req * torch version * req * req * open dep * reformatted * pin strict * pin strict extra * req * modify workflow, no cache * try * patch * import * fix * dataset test * update getattr * pin everything to test * remove torch preinstall from workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * print * skip test for now * update path join * revert app dep version bump * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow updates * app base req * req * window test failure * add data req to assistant * try * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add missing comma * updates * update * typo * requirements * try widening req * older torch version * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * update * update * update * cleanup tests * typo again * update * remove unnecessary line * Update .github/CODEOWNERS * Discard changes to requirements/pytorch/base.txt * Discard changes to requirements/fabric/base.txt * Discard changes to requirements/app/base.txt * requirements * requirements * one line * app workflow pick only app reqs * rename package * undo * don't use cache * examples CI * pytorch and fabric CI * try remove cache * Apply suggestions from code review * jirka playing * jirka playing * jirka playing * blah * flatten LightningDataset * cleans up dataset class * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * extra * fix dataset test * update checkgroups * Luca's review comments * val error fix * unskip test * min * fix precommit warning * cpu * docstrings * req * 2.0.1 * add return type * typing errors * req * return types with quotations * import for type-checking * no botocore in cloudagnostic code * exit args * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * backends typing * remove oldest from data tests * typing * typing * typing * types * type * typing * typing * typing * import fix * Changelog --------- Co-authored-by: Noha Alon <nohaalon@Nohas-MacBook-Air.local> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz> Co-authored-by: Justus Schock <justus.schock@posteo.de>
2023-06-13 10:44:41 +00:00
- name: Set min. dependencies
if: ${{ matrix.requires == 'oldest' }}
run: |
python .actions/assistant.py replace_oldest_ver
Lightning Dataset (including optimized dataloading of s3 buckets) (#17743) * Lightning DataLoader * lightning dataloader * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * init * example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * env var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/__init__.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * remove unused functions * extra reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/fileio.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports work now! yay * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * missing import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * error handling * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update creds for local use case * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * recursive get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clean up get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update imagenet example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * example cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changelog * reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * requirements * expose LightningDataset too * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * expost LightningDataset at top level * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove unused private methods from init * remove private imports * upper bound on extra requirements * review comments * loosen req * deps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test updating fabric base req * remove version pin on s3fs to test * recover missing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * update * random * torchdata >= 0.3.0 * update torchdata version * remove torchdata version to test * try rem torch version pin * req * update bucket in test * req * skips * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * import * update structure to lightning.data * base.txt for data reqs * fix imports * rename to LightningS3Dataset * new workflow * dont need to test warnings * reqs * req * revert data folder in pytorch * test import * tests * req * req * req * torch version * req * req * open dep * reformatted * pin strict * pin strict extra * req * modify workflow, no cache * try * patch * import * fix * dataset test * update getattr * pin everything to test * remove torch preinstall from workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * print * skip test for now * update path join * revert app dep version bump * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow updates * app base req * req * window test failure * add data req to assistant * try * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add missing comma * updates * update * typo * requirements * try widening req * older torch version * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * update * update * update * cleanup tests * typo again * update * remove unnecessary line * Update .github/CODEOWNERS * Discard changes to requirements/pytorch/base.txt * Discard changes to requirements/fabric/base.txt * Discard changes to requirements/app/base.txt * requirements * requirements * one line * app workflow pick only app reqs * rename package * undo * don't use cache * examples CI * pytorch and fabric CI * try remove cache * Apply suggestions from code review * jirka playing * jirka playing * jirka playing * blah * flatten LightningDataset * cleans up dataset class * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * extra * fix dataset test * update checkgroups * Luca's review comments * val error fix * unskip test * min * fix precommit warning * cpu * docstrings * req * 2.0.1 * add return type * typing errors * req * return types with quotations * import for type-checking * no botocore in cloudagnostic code * exit args * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * backends typing * remove oldest from data tests * typing * typing * typing * types * type * typing * typing * typing * import fix * Changelog --------- Co-authored-by: Noha Alon <nohaalon@Nohas-MacBook-Air.local> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz> Co-authored-by: Justus Schock <justus.schock@posteo.de>
2023-06-13 10:44:41 +00:00
- name: Adjust PyTorch versions in requirements files
if: ${{ matrix.requires != 'oldest' && matrix.release != 'pre' }}
run: |
pip install -q wget packaging
python -m wget https://raw.githubusercontent.com/Lightning-AI/utilities/main/scripts/adjust-torch-versions.py
for fpath in `ls requirements/data/*.txt`; do \
python ./adjust-torch-versions.py $fpath ${{ matrix.pytorch-version }}; \
done
cat requirements/data/data.txt
cat requirements/data/cloud.txt
Lightning Dataset (including optimized dataloading of s3 buckets) (#17743) * Lightning DataLoader * lightning dataloader * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * init * example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * env var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/__init__.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * remove unused functions * extra reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/fileio.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports work now! yay * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * missing import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * error handling * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update creds for local use case * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * recursive get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clean up get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update imagenet example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * example cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changelog * reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * requirements * expose LightningDataset too * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * expost LightningDataset at top level * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove unused private methods from init * remove private imports * upper bound on extra requirements * review comments * loosen req * deps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test updating fabric base req * remove version pin on s3fs to test * recover missing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * update * random * torchdata >= 0.3.0 * update torchdata version * remove torchdata version to test * try rem torch version pin * req * update bucket in test * req * skips * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * import * update structure to lightning.data * base.txt for data reqs * fix imports * rename to LightningS3Dataset * new workflow * dont need to test warnings * reqs * req * revert data folder in pytorch * test import * tests * req * req * req * torch version * req * req * open dep * reformatted * pin strict * pin strict extra * req * modify workflow, no cache * try * patch * import * fix * dataset test * update getattr * pin everything to test * remove torch preinstall from workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * print * skip test for now * update path join * revert app dep version bump * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow updates * app base req * req * window test failure * add data req to assistant * try * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add missing comma * updates * update * typo * requirements * try widening req * older torch version * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * update * update * update * cleanup tests * typo again * update * remove unnecessary line * Update .github/CODEOWNERS * Discard changes to requirements/pytorch/base.txt * Discard changes to requirements/fabric/base.txt * Discard changes to requirements/app/base.txt * requirements * requirements * one line * app workflow pick only app reqs * rename package * undo * don't use cache * examples CI * pytorch and fabric CI * try remove cache * Apply suggestions from code review * jirka playing * jirka playing * jirka playing * blah * flatten LightningDataset * cleans up dataset class * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * extra * fix dataset test * update checkgroups * Luca's review comments * val error fix * unskip test * min * fix precommit warning * cpu * docstrings * req * 2.0.1 * add return type * typing errors * req * return types with quotations * import for type-checking * no botocore in cloudagnostic code * exit args * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * backends typing * remove oldest from data tests * typing * typing * typing * types * type * typing * typing * typing * import fix * Changelog --------- Co-authored-by: Noha Alon <nohaalon@Nohas-MacBook-Air.local> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz> Co-authored-by: Justus Schock <justus.schock@posteo.de>
2023-06-13 10:44:41 +00:00
# ToDo
# - name: pip wheels cache
# uses: actions/cache/restore@v3
# with:
# path: ${{ env.PYPI_CACHE_DIR }}
# key: pypi_wheels
# - run: |
# mkdir -p $PYPI_CACHE_DIR
# ls -lh $PYPI_CACHE_DIR
Lightning Dataset (including optimized dataloading of s3 buckets) (#17743) * Lightning DataLoader * lightning dataloader * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * init * example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * env var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/__init__.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * remove unused functions * extra reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/fileio.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports work now! yay * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * missing import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * error handling * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update creds for local use case * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * recursive get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clean up get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update imagenet example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * example cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changelog * reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * requirements * expose LightningDataset too * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * expost LightningDataset at top level * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove unused private methods from init * remove private imports * upper bound on extra requirements * review comments * loosen req * deps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test updating fabric base req * remove version pin on s3fs to test * recover missing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * update * random * torchdata >= 0.3.0 * update torchdata version * remove torchdata version to test * try rem torch version pin * req * update bucket in test * req * skips * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * import * update structure to lightning.data * base.txt for data reqs * fix imports * rename to LightningS3Dataset * new workflow * dont need to test warnings * reqs * req * revert data folder in pytorch * test import * tests * req * req * req * torch version * req * req * open dep * reformatted * pin strict * pin strict extra * req * modify workflow, no cache * try * patch * import * fix * dataset test * update getattr * pin everything to test * remove torch preinstall from workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * print * skip test for now * update path join * revert app dep version bump * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow updates * app base req * req * window test failure * add data req to assistant * try * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add missing comma * updates * update * typo * requirements * try widening req * older torch version * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * update * update * update * cleanup tests * typo again * update * remove unnecessary line * Update .github/CODEOWNERS * Discard changes to requirements/pytorch/base.txt * Discard changes to requirements/fabric/base.txt * Discard changes to requirements/app/base.txt * requirements * requirements * one line * app workflow pick only app reqs * rename package * undo * don't use cache * examples CI * pytorch and fabric CI * try remove cache * Apply suggestions from code review * jirka playing * jirka playing * jirka playing * blah * flatten LightningDataset * cleans up dataset class * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * extra * fix dataset test * update checkgroups * Luca's review comments * val error fix * unskip test * min * fix precommit warning * cpu * docstrings * req * 2.0.1 * add return type * typing errors * req * return types with quotations * import for type-checking * no botocore in cloudagnostic code * exit args * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * backends typing * remove oldest from data tests * typing * typing * typing * types * type * typing * typing * typing * import fix * Changelog --------- Co-authored-by: Noha Alon <nohaalon@Nohas-MacBook-Air.local> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz> Co-authored-by: Justus Schock <justus.schock@posteo.de>
2023-06-13 10:44:41 +00:00
- name: Install package & dependencies
run: |
python -m pip install -q pip -U
pip install -e ".[data-dev]" -U --prefer-binary -f ${TORCH_URL}
pip list
Lightning Dataset (including optimized dataloading of s3 buckets) (#17743) * Lightning DataLoader * lightning dataloader * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * init * example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * env var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/__init__.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * remove unused functions * extra reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/fileio.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports work now! yay * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * missing import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * error handling * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update creds for local use case * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * recursive get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clean up get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update imagenet example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * example cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changelog * reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * requirements * expose LightningDataset too * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * expost LightningDataset at top level * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove unused private methods from init * remove private imports * upper bound on extra requirements * review comments * loosen req * deps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test updating fabric base req * remove version pin on s3fs to test * recover missing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * update * random * torchdata >= 0.3.0 * update torchdata version * remove torchdata version to test * try rem torch version pin * req * update bucket in test * req * skips * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * import * update structure to lightning.data * base.txt for data reqs * fix imports * rename to LightningS3Dataset * new workflow * dont need to test warnings * reqs * req * revert data folder in pytorch * test import * tests * req * req * req * torch version * req * req * open dep * reformatted * pin strict * pin strict extra * req * modify workflow, no cache * try * patch * import * fix * dataset test * update getattr * pin everything to test * remove torch preinstall from workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * print * skip test for now * update path join * revert app dep version bump * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow updates * app base req * req * window test failure * add data req to assistant * try * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add missing comma * updates * update * typo * requirements * try widening req * older torch version * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * update * update * update * cleanup tests * typo again * update * remove unnecessary line * Update .github/CODEOWNERS * Discard changes to requirements/pytorch/base.txt * Discard changes to requirements/fabric/base.txt * Discard changes to requirements/app/base.txt * requirements * requirements * one line * app workflow pick only app reqs * rename package * undo * don't use cache * examples CI * pytorch and fabric CI * try remove cache * Apply suggestions from code review * jirka playing * jirka playing * jirka playing * blah * flatten LightningDataset * cleans up dataset class * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * extra * fix dataset test * update checkgroups * Luca's review comments * val error fix * unskip test * min * fix precommit warning * cpu * docstrings * req * 2.0.1 * add return type * typing errors * req * return types with quotations * import for type-checking * no botocore in cloudagnostic code * exit args * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * backends typing * remove oldest from data tests * typing * typing * typing * types * type * typing * typing * typing * import fix * Changelog --------- Co-authored-by: Noha Alon <nohaalon@Nohas-MacBook-Air.local> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz> Co-authored-by: Justus Schock <justus.schock@posteo.de>
2023-06-13 10:44:41 +00:00
- name: Testing Data
working-directory: tests/tests_data
# NOTE: do not include coverage report here, see: https://github.com/nedbat/coveragepy/issues/1003
run: |
python -m coverage run --source lightning \
-m pytest -v --timeout=60 --durations=60
Lightning Dataset (including optimized dataloading of s3 buckets) (#17743) * Lightning DataLoader * lightning dataloader * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * init * example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * env var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/__init__.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * remove unused functions * extra reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/fileio.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports work now! yay * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * missing import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * error handling * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update creds for local use case * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * recursive get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clean up get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update imagenet example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * example cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changelog * reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * requirements * expose LightningDataset too * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * expost LightningDataset at top level * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove unused private methods from init * remove private imports * upper bound on extra requirements * review comments * loosen req * deps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test updating fabric base req * remove version pin on s3fs to test * recover missing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * update * random * torchdata >= 0.3.0 * update torchdata version * remove torchdata version to test * try rem torch version pin * req * update bucket in test * req * skips * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * import * update structure to lightning.data * base.txt for data reqs * fix imports * rename to LightningS3Dataset * new workflow * dont need to test warnings * reqs * req * revert data folder in pytorch * test import * tests * req * req * req * torch version * req * req * open dep * reformatted * pin strict * pin strict extra * req * modify workflow, no cache * try * patch * import * fix * dataset test * update getattr * pin everything to test * remove torch preinstall from workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * print * skip test for now * update path join * revert app dep version bump * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow updates * app base req * req * window test failure * add data req to assistant * try * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add missing comma * updates * update * typo * requirements * try widening req * older torch version * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * update * update * update * cleanup tests * typo again * update * remove unnecessary line * Update .github/CODEOWNERS * Discard changes to requirements/pytorch/base.txt * Discard changes to requirements/fabric/base.txt * Discard changes to requirements/app/base.txt * requirements * requirements * one line * app workflow pick only app reqs * rename package * undo * don't use cache * examples CI * pytorch and fabric CI * try remove cache * Apply suggestions from code review * jirka playing * jirka playing * jirka playing * blah * flatten LightningDataset * cleans up dataset class * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * extra * fix dataset test * update checkgroups * Luca's review comments * val error fix * unskip test * min * fix precommit warning * cpu * docstrings * req * 2.0.1 * add return type * typing errors * req * return types with quotations * import for type-checking * no botocore in cloudagnostic code * exit args * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * backends typing * remove oldest from data tests * typing * typing * typing * types * type * typing * typing * typing * import fix * Changelog --------- Co-authored-by: Noha Alon <nohaalon@Nohas-MacBook-Air.local> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz> Co-authored-by: Justus Schock <justus.schock@posteo.de>
2023-06-13 10:44:41 +00:00
- name: Statistics
if: success()
working-directory: tests/tests_data
run: |
coverage report
coverage xml
Lightning Dataset (including optimized dataloading of s3 buckets) (#17743) * Lightning DataLoader * lightning dataloader * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * init * example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * env var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/__init__.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * remove unused functions * extra reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/lightning/pytorch/utilities/data/fileio.py Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports work now! yay * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * imports * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * missing import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * error handling * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update creds for local use case * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * recursive get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clean up get index * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update imagenet example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * example cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changelog * reqs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * codeowners * requirements * expose LightningDataset too * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * expost LightningDataset at top level * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove unused private methods from init * remove private imports * upper bound on extra requirements * review comments * loosen req * deps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test updating fabric base req * remove version pin on s3fs to test * recover missing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * tests * update * random * torchdata >= 0.3.0 * update torchdata version * remove torchdata version to test * try rem torch version pin * req * update bucket in test * req * skips * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * import * update structure to lightning.data * base.txt for data reqs * fix imports * rename to LightningS3Dataset * new workflow * dont need to test warnings * reqs * req * revert data folder in pytorch * test import * tests * req * req * req * torch version * req * req * open dep * reformatted * pin strict * pin strict extra * req * modify workflow, no cache * try * patch * import * fix * dataset test * update getattr * pin everything to test * remove torch preinstall from workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * workflow * req * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow * print * skip test for now * update path join * revert app dep version bump * Update .github/workflows/ci-tests-data.yml Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> * workflow updates * app base req * req * window test failure * add data req to assistant * try * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add missing comma * updates * update * typo * requirements * try widening req * older torch version * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * update * update * update * cleanup tests * typo again * update * remove unnecessary line * Update .github/CODEOWNERS * Discard changes to requirements/pytorch/base.txt * Discard changes to requirements/fabric/base.txt * Discard changes to requirements/app/base.txt * requirements * requirements * one line * app workflow pick only app reqs * rename package * undo * don't use cache * examples CI * pytorch and fabric CI * try remove cache * Apply suggestions from code review * jirka playing * jirka playing * jirka playing * blah * flatten LightningDataset * cleans up dataset class * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * jirka playing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * extra * fix dataset test * update checkgroups * Luca's review comments * val error fix * unskip test * min * fix precommit warning * cpu * docstrings * req * 2.0.1 * add return type * typing errors * req * return types with quotations * import for type-checking * no botocore in cloudagnostic code * exit args * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * backends typing * remove oldest from data tests * typing * typing * typing * types * type * typing * typing * typing * import fix * Changelog --------- Co-authored-by: Noha Alon <nohaalon@Nohas-MacBook-Air.local> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz> Co-authored-by: Justus Schock <justus.schock@posteo.de>
2023-06-13 10:44:41 +00:00
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
# see: https://github.com/actions/toolkit/issues/399
continue-on-error: true
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: tests/tests_data/coverage.xml
flags: lightning,cpu,pytest,python${{ matrix.python-version }}
name: CPU-coverage
fail_ci_if_error: false