Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate Data subpackage #19523

Merged
merged 19 commits into from
Feb 26, 2024
Merged

migrate Data subpackage #19523

merged 19 commits into from
Feb 26, 2024

Conversation

tchaton
Copy link
Contributor

@tchaton tchaton commented Feb 23, 2024

What does this PR do?

This PR deletes all the files associated to data as the package was moved to a standalone repo: https://github.com/Lightning-AI/litdata

Before submitting
  • Was this discussed/agreed via a GitHub issue? (not for typos and docs)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • Did you make sure to update the documentation with your changes? (if necessary)
  • Did you write any new necessary tests? (not for typos and docs)
  • Did you verify new and existing tests pass locally with your changes?
  • Did you list all the breaking changes introduced by this pull request?
  • Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review

Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

Reviewer checklist
  • Is this pull request ready for review? (if not, please submit in draft mode)
  • Check that all items from Before submitting are resolved
  • Make sure the title is self-explanatory and the description concisely explains the PR
  • Add labels and milestones (and optionally projects) to the PR so it can be classified

cc @Borda @carmocca @tchaton

Copy link

gitguardian bot commented Feb 23, 2024

⚠️ GitGuardian has uncovered 4 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
5685611 Triggered Generic High Entropy Secret fcab3bd tests/tests_data/streaming/test_resolver.py View secret
5685611 Triggered Generic High Entropy Secret fcab3bd tests/tests_data/streaming/test_resolver.py View secret
5685611 Triggered Generic High Entropy Secret fcab3bd tests/tests_data/streaming/test_resolver.py View secret
5685611 Triggered Generic High Entropy Secret fcab3bd tests/tests_data/streaming/test_resolver.py View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

@github-actions github-actions bot added ci Continuous Integration dependencies Pull requests that update a dependency file data (external) litdata package labels Feb 23, 2024
Copy link
Contributor

github-actions bot commented Feb 23, 2024

⚡ Required checks status: All passing 🟢

Groups summary

🟢 pytorch_lightning: Tests workflow
Check ID Status
pl-cpu (macOS-11, lightning, 3.8, 1.13, oldest) success
pl-cpu (macOS-11, lightning, 3.10, 1.13) success
pl-cpu (macOS-11, lightning, 3.10, 2.1) success
pl-cpu (macOS-11, lightning, 3.10, 2.2) success
pl-cpu (ubuntu-20.04, lightning, 3.8, 1.13, oldest) success
pl-cpu (ubuntu-20.04, lightning, 3.10, 1.13) success
pl-cpu (ubuntu-20.04, lightning, 3.10, 2.1) success
pl-cpu (ubuntu-20.04, lightning, 3.10, 2.2) success
pl-cpu (windows-2022, lightning, 3.8, 1.13, oldest) success
pl-cpu (windows-2022, lightning, 3.10, 1.13) success
pl-cpu (windows-2022, lightning, 3.10, 2.1) success
pl-cpu (windows-2022, lightning, 3.10, 2.2) success
pl-cpu (macOS-11, pytorch, 3.8, 1.13) success
pl-cpu (ubuntu-20.04, pytorch, 3.8, 1.13) success
pl-cpu (windows-2022, pytorch, 3.8, 1.13) success
pl-cpu (macOS-12, pytorch, 3.11, 2.0) success
pl-cpu (macOS-12, pytorch, 3.11, 2.1) success
pl-cpu (ubuntu-22.04, pytorch, 3.11, 2.0) success
pl-cpu (ubuntu-22.04, pytorch, 3.11, 2.1) success
pl-cpu (windows-2022, pytorch, 3.11, 2.0) success
pl-cpu (windows-2022, pytorch, 3.11, 2.1) success

These checks are required after the changes to .actions/assistant.py, pyproject.toml.

🟢 pytorch_lightning: Azure GPU
Check ID Status
pytorch-lightning (GPUs) (testing Lightning | latest) success
pytorch-lightning (GPUs) (testing PyTorch | latest) success

These checks are required after the changes to .actions/assistant.py, src/lightning/__setup__.py, pyproject.toml.

🟢 fabric: Docs
Check ID Status
docs-make (fabric, doctest) success
docs-make (fabric, html) success

These checks are required after the changes to pyproject.toml.

🟢 pytorch_lightning: Docs
Check ID Status
docs-make (pytorch, doctest) success
docs-make (pytorch, html) success

These checks are required after the changes to docs/source-pytorch/visualize/supported_exp_managers.rst, .actions/assistant.py, pyproject.toml.

🟢 pytorch_lightning: Docker
Check ID Status
build-cuda (3.9, 1.13, 11.8.0) success
build-cuda (3.9, 1.13, 12.0.1) success
build-cuda (3.10, 2.0, 11.8.0) success
build-cuda (3.10, 2.1, 12.1.0) success
build-pl (3.9, 1.13, 11.8.0) success
build-pl (3.9, 1.13, 12.0.1) success
build-pl (3.10, 2.0, 11.8.0) success
build-pl (3.10, 2.1, 12.1.0) success

These checks are required after the changes to .actions/assistant.py.

🟢 lightning_fabric: CPU workflow
Check ID Status
fabric-cpu (macOS-11, lightning, 3.8, 1.13, oldest) success
fabric-cpu (macOS-11, lightning, 3.10, 1.13) success
fabric-cpu (macOS-11, lightning, 3.11, 2.1) success
fabric-cpu (macOS-11, lightning, 3.11, 2.2) success
fabric-cpu (ubuntu-20.04, lightning, 3.8, 1.13, oldest) success
fabric-cpu (ubuntu-20.04, lightning, 3.10, 1.13) success
fabric-cpu (ubuntu-20.04, lightning, 3.11, 2.1) success
fabric-cpu (ubuntu-20.04, lightning, 3.11, 2.2) success
fabric-cpu (windows-2022, lightning, 3.8, 1.13, oldest) success
fabric-cpu (windows-2022, lightning, 3.10, 1.13) success
fabric-cpu (windows-2022, lightning, 3.11, 2.1) success
fabric-cpu (windows-2022, lightning, 3.11, 2.2) success
fabric-cpu (macOS-11, fabric, 3.8, 1.13) success
fabric-cpu (ubuntu-20.04, fabric, 3.8, 1.13) success
fabric-cpu (windows-2022, fabric, 3.8, 1.13) success
fabric-cpu (macOS-12, fabric, 3.11, 2.0) success
fabric-cpu (macOS-12, fabric, 3.11, 2.1) success
fabric-cpu (ubuntu-22.04, fabric, 3.11, 2.0) success
fabric-cpu (ubuntu-22.04, fabric, 3.11, 2.1) success
fabric-cpu (windows-2022, fabric, 3.11, 2.0) success
fabric-cpu (windows-2022, fabric, 3.11, 2.1) success

These checks are required after the changes to .actions/assistant.py, pyproject.toml.

🟢 lightning_fabric: Azure GPU
Check ID Status
lightning-fabric (GPUs) (testing Fabric | latest) success
lightning-fabric (GPUs) (testing Lightning | latest) success

These checks are required after the changes to .actions/assistant.py, src/lightning/__setup__.py, pyproject.toml.

🟢 lightning_app: Tests workflow
Check ID Status
app-pytest (macOS-11, lightning, 3.8, latest) success
app-pytest (macOS-11, lightning, 3.8, oldest) success
app-pytest (macOS-11, app, 3.9, latest) success
app-pytest (macOS-12, app, 3.11, latest) success
app-pytest (ubuntu-20.04, lightning, 3.8, latest) success
app-pytest (ubuntu-20.04, lightning, 3.8, oldest) success
app-pytest (ubuntu-20.04, app, 3.9, latest) success
app-pytest (ubuntu-22.04, app, 3.11, latest) success
app-pytest (windows-2022, lightning, 3.8, latest) success
app-pytest (windows-2022, lightning, 3.8, oldest) success
app-pytest (windows-2022, app, 3.8, latest) success
app-pytest (windows-2022, app, 3.11, latest) success

These checks are required after the changes to .actions/assistant.py.

🟢 lightning_app: Examples
Check ID Status
app-examples (macOS-11, lightning, 3.9, latest) success
app-examples (macOS-11, lightning, 3.9, oldest) success
app-examples (macOS-11, app, 3.9, latest) success
app-examples (ubuntu-20.04, lightning, 3.9, latest) success
app-examples (ubuntu-20.04, lightning, 3.9, oldest) success
app-examples (ubuntu-20.04, app, 3.9, latest) success
app-examples (windows-2022, lightning, 3.9, latest) success
app-examples (windows-2022, lightning, 3.9, oldest) success
app-examples (windows-2022, app, 3.9, latest) success

These checks are required after the changes to .actions/assistant.py.

🟢 lightning: Store
Check ID Status
store-cpu (macOS-11, lightning, 3.10, 2.0) success
store-cpu (ubuntu-20.04, lightning, 3.10, 2.0) success
store-cpu (windows-2022, lightning, 3.10, 2.0) success

These checks are required after the changes to src/lightning/__setup__.py.

🟢 lightning_app: Docs
Check ID Status
docs-make (app, doctest) success
docs-make (app, html) success

These checks are required after the changes to .actions/assistant.py, pyproject.toml.

🟢 mypy
Check ID Status
mypy success

These checks are required after the changes to .actions/assistant.py, requirements/data/cloud.txt, requirements/data/data.txt, requirements/data/examples.txt, requirements/data/test.txt, src/lightning/MANIFEST.in, src/lightning/__setup__.py, src/lightning/data/__init__.py, src/lightning/data/constants.py, src/lightning/data/processing/__init__.py, src/lightning/data/processing/data_processor.py, src/lightning/data/processing/functions.py, src/lightning/data/processing/readers.py, src/lightning/data/processing/utilities.py, src/lightning/data/streaming/__init__.py, src/lightning/data/streaming/cache.py, src/lightning/data/streaming/client.py, src/lightning/data/streaming/combined.py, src/lightning/data/streaming/compression.py, src/lightning/data/streaming/config.py, src/lightning/data/streaming/dataloader.py, src/lightning/data/streaming/dataset.py, src/lightning/data/streaming/downloader.py, src/lightning/data/streaming/item_loader.py, src/lightning/data/streaming/reader.py, src/lightning/data/streaming/resolver.py, src/lightning/data/streaming/sampler.py, src/lightning/data/streaming/serializers.py, src/lightning/data/streaming/shuffle.py, src/lightning/data/streaming/writer.py, src/lightning/data/utilities/__init__.py, src/lightning/data/utilities/broadcast.py, src/lightning/data/utilities/env.py, src/lightning/data/utilities/format.py, src/lightning/data/utilities/packing.py, src/lightning/data/utilities/shuffle.py, pyproject.toml.

🟢 install
Check ID Status
install-pkg (ubuntu-22.04, app, 3.8) success
install-pkg (ubuntu-22.04, app, 3.11) success
install-pkg (ubuntu-22.04, fabric, 3.8) success
install-pkg (ubuntu-22.04, fabric, 3.11) success
install-pkg (ubuntu-22.04, pytorch, 3.8) success
install-pkg (ubuntu-22.04, pytorch, 3.11) success
install-pkg (ubuntu-22.04, lightning, 3.8) success
install-pkg (ubuntu-22.04, lightning, 3.11) success
install-pkg (ubuntu-22.04, notset, 3.8) success
install-pkg (ubuntu-22.04, notset, 3.11) success
install-pkg (macOS-12, app, 3.8) success
install-pkg (macOS-12, app, 3.11) success
install-pkg (macOS-12, fabric, 3.8) success
install-pkg (macOS-12, fabric, 3.11) success
install-pkg (macOS-12, pytorch, 3.8) success
install-pkg (macOS-12, pytorch, 3.11) success
install-pkg (macOS-12, lightning, 3.8) success
install-pkg (macOS-12, lightning, 3.11) success
install-pkg (macOS-12, notset, 3.8) success
install-pkg (macOS-12, notset, 3.11) success
install-pkg (windows-2022, app, 3.8) success
install-pkg (windows-2022, app, 3.11) success
install-pkg (windows-2022, fabric, 3.8) success
install-pkg (windows-2022, fabric, 3.11) success
install-pkg (windows-2022, pytorch, 3.8) success
install-pkg (windows-2022, pytorch, 3.11) success
install-pkg (windows-2022, lightning, 3.8) success
install-pkg (windows-2022, lightning, 3.11) success
install-pkg (windows-2022, notset, 3.8) success
install-pkg (windows-2022, notset, 3.11) success

These checks are required after the changes to .actions/assistant.py, .github/workflows/ci-pkg-install.yml, src/lightning/MANIFEST.in, src/lightning/__setup__.py, src/lightning/data/__init__.py, src/lightning/data/constants.py, src/lightning/data/processing/__init__.py, src/lightning/data/processing/data_processor.py, src/lightning/data/processing/functions.py, src/lightning/data/processing/readers.py, src/lightning/data/processing/utilities.py, src/lightning/data/streaming/__init__.py, src/lightning/data/streaming/cache.py, src/lightning/data/streaming/client.py, src/lightning/data/streaming/combined.py, src/lightning/data/streaming/compression.py, src/lightning/data/streaming/config.py, src/lightning/data/streaming/dataloader.py, src/lightning/data/streaming/dataset.py, src/lightning/data/streaming/downloader.py, src/lightning/data/streaming/item_loader.py, src/lightning/data/streaming/reader.py, src/lightning/data/streaming/resolver.py, src/lightning/data/streaming/sampler.py, src/lightning/data/streaming/serializers.py, src/lightning/data/streaming/shuffle.py, src/lightning/data/streaming/writer.py, src/lightning/data/utilities/__init__.py, src/lightning/data/utilities/broadcast.py, src/lightning/data/utilities/env.py, src/lightning/data/utilities/format.py, src/lightning/data/utilities/packing.py, src/lightning/data/utilities/shuffle.py, requirements/data/cloud.txt, requirements/data/data.txt, requirements/data/examples.txt, requirements/data/test.txt.


Thank you for your contribution! 💜

Note
This comment is automatically generated and updates for 60 minutes every 180 seconds. If you have any other questions, contact carmocca for help.

Copy link
Contributor

@carmocca carmocca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest grepping the entire project for any leftover usages (I haven't checked if there are any)

requirements/data/data.txt Show resolved Hide resolved
.github/workflows/ci-tests-data.yml Outdated Show resolved Hide resolved
@tchaton tchaton requested a review from carmocca February 23, 2024 21:03
@mergify mergify bot removed the has conflicts label Feb 23, 2024
src/lightning/__setup__.py Outdated Show resolved Hide resolved
@mergify mergify bot added the ready PRs ready to be merged label Feb 23, 2024
Copy link

codecov bot commented Feb 23, 2024

Codecov Report

Merging #19523 (b3ede34) into master (2a827f3) will increase coverage by 0%.
The diff coverage is 0%.

Additional details and impacted files
@@            Coverage Diff            @@
##           master   #19523     +/-   ##
=========================================
  Coverage      83%      84%             
=========================================
  Files         450      424     -26     
  Lines       38250    34912   -3338     
=========================================
- Hits        31893    29212   -2681     
+ Misses       6357     5700    -657     

@Borda Borda changed the title Delete data files migrate Data subpackage Feb 23, 2024
@awaelchli awaelchli added this to the 2.3 milestone Feb 25, 2024
requirements/data/data.txt Outdated Show resolved Hide resolved
.github/workflows/ci-pkg-install.yml Outdated Show resolved Hide resolved
@mergify mergify bot removed the ready PRs ready to be merged label Feb 26, 2024
@mergify mergify bot added the ready PRs ready to be merged label Feb 26, 2024
@github-actions github-actions bot added docs Documentation related pl Generic label for PyTorch Lightning package data labels Feb 26, 2024
Copy link
Collaborator

@lantiga lantiga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lantiga lantiga merged commit e43820a into master Feb 26, 2024
145 checks passed
@lantiga lantiga deleted the delete_data_stuffs branch February 26, 2024 13:25
@tchaton tchaton mentioned this pull request Apr 10, 2024
awaelchli added a commit that referenced this pull request Apr 10, 2024
* update

* update

* update

* update

* Update checkgroup.yml

* More

* Add note

* Labeller should be kept as long as we have the stubs

* update

* update

* update

* Apply suggestions from code review

* init

* ci fix

* pin version range

* https://www.neptune.ai/

---------

Co-authored-by: Carlos Mocholí <[email protected]>
Co-authored-by: Jirka Borovec <[email protected]>
Co-authored-by: Jirka <[email protected]>
awaelchli added a commit that referenced this pull request Apr 10, 2024
Co-authored-by: Carlos Mocholí <[email protected]>
Co-authored-by: Jirka Borovec <[email protected]>
Co-authored-by: Jirka <[email protected]>
awaelchli added a commit that referenced this pull request Apr 10, 2024
Co-authored-by: Carlos Mocholí <[email protected]>
Co-authored-by: Jirka Borovec <[email protected]>
Co-authored-by: Jirka <[email protected]>
lantiga pushed a commit that referenced this pull request Apr 11, 2024
Co-authored-by: Carlos Mocholí <[email protected]>
Co-authored-by: Jirka Borovec <[email protected]>
Co-authored-by: Jirka <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous Integration data (external) litdata package dependencies Pull requests that update a dependency file docs Documentation related package pl Generic label for PyTorch Lightning package ready PRs ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants