litdata 0.2.75__tar.gz → 0.2.77__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- litdata-0.2.77/CODE_OF_CONDUCT.md +76 -0
- litdata-0.2.77/CONTRIBUTING.md +102 -0
- litdata-0.2.77/GOVERNANCE.md +38 -0
- {litdata-0.2.75 → litdata-0.2.77}/MANIFEST.in +3 -1
- {litdata-0.2.75/src/litdata.egg-info → litdata-0.2.77}/PKG-INFO +360 -152
- {litdata-0.2.75 → litdata-0.2.77}/README.md +357 -149
- litdata-0.2.77/SECURITY.md +28 -0
- litdata-0.2.77/requirements/docs.txt +16 -0
- litdata-0.2.77/requirements/extras.txt +10 -0
- litdata-0.2.77/requirements/test.txt +19 -0
- {litdata-0.2.75 → litdata-0.2.77}/requirements.txt +1 -1
- {litdata-0.2.75 → litdata-0.2.77}/setup.py +1 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/__about__.py +1 -1
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/__init__.py +18 -2
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/constants.py +0 -1
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/processing/data_processor.py +8 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/processing/readers.py +2 -1
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/processing/utilities.py +10 -3
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/raw/dataset.py +5 -4
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/__init__.py +2 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/cache.py +6 -2
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/client.py +133 -29
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/combined.py +1 -1
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/config.py +28 -29
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/dataloader.py +9 -3
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/dataset.py +194 -6
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/downloader.py +108 -17
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/item_loader.py +1 -1
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/parallel.py +10 -3
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/reader.py +15 -7
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/resolver.py +2 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/serializers.py +31 -9
- litdata-0.2.77/src/litdata/streaming/temporal.py +212 -0
- litdata-0.2.77/src/litdata/streaming/window.py +316 -0
- litdata-0.2.77/src/litdata/streaming/window_mmap.py +102 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/writer.py +29 -3
- litdata-0.2.77/src/litdata/utilities/_nfs_direct_io.c +107 -0
- litdata-0.2.77/src/litdata/utilities/affinity.py +207 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/utilities/base.py +3 -1
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/utilities/dataset_utilities.py +33 -18
- litdata-0.2.77/src/litdata/utilities/direct_io.py +185 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/utilities/hf_dataset.py +3 -2
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/utilities/parquet.py +2 -2
- litdata-0.2.77/src/litdata/utilities/path_safety.py +36 -0
- {litdata-0.2.75 → litdata-0.2.77/src/litdata.egg-info}/PKG-INFO +360 -152
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata.egg-info/SOURCES.txt +13 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata.egg-info/requires.txt +2 -2
- litdata-0.2.75/CONTRIBUTING.md +0 -355
- {litdata-0.2.75 → litdata-0.2.77}/LICENSE +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/setup.cfg +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/__main__.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/cli/__init__.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/cli/commands.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/cli/handler/__init__.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/cli/handler/cache.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/cli/handler/optimize.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/cli/parser.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/debugger.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/exceptions.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/helpers.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/imports.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/processing/__init__.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/processing/complete.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/processing/functions.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/processing/media_folder.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/raw/__init__.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/raw/indexer.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/raw/types.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/requirements.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/async_prefetch.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/collate.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/compression.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/dataset_update.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/elastic.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/framed_zstd.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/fs_provider.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/posix_fast.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/sampler.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/shuffle.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/streaming/timing.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/types.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/utilities/__init__.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/utilities/_pytree.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/utilities/breakpoint.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/utilities/broadcast.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/utilities/encryption.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/utilities/env.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/utilities/format.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/utilities/hf_fs.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/utilities/keys_index.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/utilities/packing.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/utilities/shuffle.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/utilities/subsample.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/utilities/torch_utils.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata/utilities/train_test_split.py +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata.egg-info/dependency_links.txt +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata.egg-info/entry_points.txt +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata.egg-info/not-zip-safe +0 -0
- {litdata-0.2.75 → litdata-0.2.77}/src/litdata.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
|
8
|
+
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
|
9
|
+
level of experience, education, socioeconomic status, nationality, personal
|
|
10
|
+
appearance, race, religion, or sexual identity and orientation.
|
|
11
|
+
|
|
12
|
+
## Our Standards
|
|
13
|
+
|
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
|
15
|
+
include:
|
|
16
|
+
|
|
17
|
+
- Using welcoming and inclusive language
|
|
18
|
+
- Being respectful of differing viewpoints and experiences
|
|
19
|
+
- Gracefully accepting constructive criticism
|
|
20
|
+
- Focusing on what is best for the community
|
|
21
|
+
- Showing empathy towards other community members
|
|
22
|
+
|
|
23
|
+
Examples of unacceptable behavior by participants include:
|
|
24
|
+
|
|
25
|
+
- The use of sexualized language or imagery and unwelcome sexual attention or
|
|
26
|
+
advances
|
|
27
|
+
- Trolling, insulting/derogatory comments, and personal or political attacks
|
|
28
|
+
- Public or private harassment
|
|
29
|
+
- Publishing others' private information, such as a physical or electronic
|
|
30
|
+
address, without explicit permission
|
|
31
|
+
- Other conduct which could reasonably be considered inappropriate in a
|
|
32
|
+
professional setting
|
|
33
|
+
|
|
34
|
+
## Our Responsibilities
|
|
35
|
+
|
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
|
38
|
+
response to any instances of unacceptable behavior.
|
|
39
|
+
|
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
|
44
|
+
threatening, offensive, or harmful.
|
|
45
|
+
|
|
46
|
+
## Scope
|
|
47
|
+
|
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
|
49
|
+
when an individual is representing the project or its community. Examples of
|
|
50
|
+
representing a project or community include using an official project e-mail
|
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
|
53
|
+
further defined and clarified by project maintainers.
|
|
54
|
+
|
|
55
|
+
## Enforcement
|
|
56
|
+
|
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
58
|
+
reported by contacting the project team at community@lightning.ai. All
|
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
|
63
|
+
|
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
|
66
|
+
members of the project's leadership.
|
|
67
|
+
|
|
68
|
+
## Attribution
|
|
69
|
+
|
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
|
71
|
+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
|
72
|
+
|
|
73
|
+
For answers to common questions about this code of conduct, see
|
|
74
|
+
https://www.contributor-covenant.org/faq
|
|
75
|
+
|
|
76
|
+
[homepage]: https://www.contributor-covenant.org
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Contributing to LitData
|
|
2
|
+
|
|
3
|
+
We welcome all contributions, whatever your level of experience — bug fixes, features, examples, and docs improvements are all appreciated.
|
|
4
|
+
|
|
5
|
+
By participating, you agree to abide by our [Code of Conduct](CODE_OF_CONDUCT.md). New to open source? Start with [GitHub's guide to your first contribution](https://docs.github.com/en/get-started/quickstart/contributing-to-projects).
|
|
6
|
+
|
|
7
|
+
## What we're looking for
|
|
8
|
+
|
|
9
|
+
- **Bug fixes** — especially streaming correctness, resumption, distributed sampling, and cloud storage backends.
|
|
10
|
+
- **Features** — optimize/map pipelines, item loaders, serializers, and new data formats.
|
|
11
|
+
- **Integrations and examples** — streaming a new dataset type or storage provider.
|
|
12
|
+
- **Docs** — clarifications, missing docstrings, better examples.
|
|
13
|
+
- **Performance** — throughput or memory regressions, ideally with a reproducible benchmark.
|
|
14
|
+
|
|
15
|
+
## How to contribute
|
|
16
|
+
|
|
17
|
+
1. **Open an issue** first, so we can align on scope. For bugs, include your setup, expected vs. actual behaviour, and a minimal reproduction. For features, explain the motivation with a use case.
|
|
18
|
+
2. **Fork the repo** and create a branch off `main`. Name it `<type>/<issue-id>_<short-name>`, for example `bugfix/237_uneven-batches`. Types we use: `bugfix`, `feature`, `docs`, `tests`.
|
|
19
|
+
3. **Write a test first** where you can: one that fails on `main` and passes with your change.
|
|
20
|
+
4. **Open a pull request** against `main`, describing what changed and why, and linking the issue.
|
|
21
|
+
|
|
22
|
+
Looking for somewhere to start? Try a [good first issue](https://github.com/Lightning-AI/litdata/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) or [help wanted](https://github.com/Lightning-AI/litdata/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22), and comment so we can assign it to you. [PR #237](https://github.com/Lightning-AI/litdata/pull/237) is a good example to model yours on. And if you can't find the fix, a PR with just a failing test is still a valuable contribution — we can finish it together.
|
|
23
|
+
|
|
24
|
+
## Development setup
|
|
25
|
+
|
|
26
|
+
We use [uv](https://docs.astral.sh/uv/getting-started/installation/) and `make`, the same as CI.
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
# 1. clone your fork
|
|
30
|
+
git clone https://github.com/{YOUR_USERNAME}/litdata.git
|
|
31
|
+
cd litdata
|
|
32
|
+
|
|
33
|
+
# 2. create and activate an environment
|
|
34
|
+
# any Python version in `python_requires` (see setup.py) works
|
|
35
|
+
uv venv --python 3.12
|
|
36
|
+
source .venv/bin/activate # Windows: .venv\Scripts\activate
|
|
37
|
+
|
|
38
|
+
# 3. install dependencies and pre-commit hooks
|
|
39
|
+
make setup
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
That's it — you're ready to go! 🎉
|
|
43
|
+
|
|
44
|
+
If `make` is missing: `sudo apt-get install build-essential` on Debian-based systems, `brew install make` on macOS. On [Lightning Studio](https://lightning.ai/studios), skip step 2.
|
|
45
|
+
|
|
46
|
+
## Running tests
|
|
47
|
+
|
|
48
|
+
Tests use [pytest](https://docs.pytest.org/en/stable/) and live in `tests/`, mirroring `src/litdata/`. Add yours to the file covering that area, or create one.
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
pytest tests/ -v # everything
|
|
52
|
+
pytest tests/streaming/test_dataset.py -v # one file
|
|
53
|
+
pytest tests/streaming/test_dataset.py::test_streaming_dataset # one test
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Style is enforced by [ruff](https://docs.astral.sh/ruff/) via pre-commit. `make setup` installs the hooks, so they run automatically on every commit. To check everything before pushing:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
pre-commit run --all-files
|
|
60
|
+
|
|
61
|
+
# using uvx
|
|
62
|
+
uvx pre-commit run --all-files
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Guidelines
|
|
66
|
+
|
|
67
|
+
- Keep pull requests focused — one logical change per PR.
|
|
68
|
+
- Write tests for new functionality, and a regression test alongside any bug fix.
|
|
69
|
+
- Follow the existing code style (enforced via [ruff](https://docs.astral.sh/ruff/) and pre-commit).
|
|
70
|
+
- All code should be your own original work; third-party snippets must be attributed, and new dependencies kept at least as permissive as our [Apache-2.0 license](LICENSE).
|
|
71
|
+
|
|
72
|
+
## Reviews and merging
|
|
73
|
+
|
|
74
|
+
Anyone in the community is welcome to review — you don't have to be a maintainer, and an extra pair of eyes always helps.
|
|
75
|
+
|
|
76
|
+
Not ready for review but want CI to run? Open a **draft PR**, and prefix the title with **\[blocked by #<number>\]** if it depends on another PR.
|
|
77
|
+
|
|
78
|
+
Merging needs green CI and approval from a [code owner](.github/CODEOWNERS) for the paths you touched. Reviews can take a few days; if your PR goes quiet for a week, feel free to ping. See [GOVERNANCE.md](GOVERNANCE.md) for how decisions get made.
|
|
79
|
+
|
|
80
|
+
## Keeping your branch up to date
|
|
81
|
+
|
|
82
|
+
If `main` moves on while your PR is open, rebase rather than merge, so history stays linear. Point your fork at upstream once:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
git remote add upstream https://github.com/Lightning-AI/litdata.git
|
|
86
|
+
git remote -v # origin = your fork, upstream = Lightning-AI
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Then, whenever you need to catch up:
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
git fetch --all --prune
|
|
93
|
+
git rebase upstream/main
|
|
94
|
+
# resolve any conflicts, following git's instructions
|
|
95
|
+
git push -f origin {BRANCH_NAME} # -f is needed after a rebase
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## Getting help
|
|
99
|
+
|
|
100
|
+
Stuck? You don't have to figure it out alone — ask on [Discord](https://discord.com/invite/MWAEvnC5fU) for the quickest answer, [open an issue](https://github.com/Lightning-AI/litdata/issues) to report a bug, or browse the [documentation](https://lightning.ai/docs/litdata).
|
|
101
|
+
|
|
102
|
+
Thanks for helping make LitData better! 💜
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Governance
|
|
2
|
+
|
|
3
|
+
LitData is an open source project backed by [Lightning AI](https://lightning.ai/), released under the [Apache-2.0](LICENSE) license.
|
|
4
|
+
|
|
5
|
+
## Roles and responsibilities
|
|
6
|
+
|
|
7
|
+
**Maintainers** review and merge contributions, triage issues, guide technical direction, and cut releases. The current maintainers are listed under [Maintainers](README.md#maintainers) in the README; ownership is scoped by path in [.github/CODEOWNERS](.github/CODEOWNERS).
|
|
8
|
+
|
|
9
|
+
**Contributors** are anyone contributing code, tests, docs, triage, or review. See [CONTRIBUTING.md](CONTRIBUTING.md) to get started.
|
|
10
|
+
|
|
11
|
+
**Emeritus maintainers** are past maintainers, recorded under [Emeritus Maintainers](README.md#emeritus-maintainers) and not requested for review.
|
|
12
|
+
|
|
13
|
+
Maintainers are invited on the strength of sustained contribution, with the agreement of the current maintainers. A maintainer may step down, or be moved to emeritus status after a long period of inactivity, by a pull request updating the README roster and [.github/CODEOWNERS](.github/CODEOWNERS).
|
|
14
|
+
|
|
15
|
+
## Decision making
|
|
16
|
+
|
|
17
|
+
Changes land through pull requests against `main`; direct pushes are not used. A pull request needs passing CI and approval from a maintainer who owns the affected paths. Larger changes — new public APIs, breaking changes, new dependencies, changes to the on-disk chunk format or index schema — should start as an issue. Maintainers work by consensus and resolve disagreements in the open.
|
|
18
|
+
|
|
19
|
+
## Communication
|
|
20
|
+
|
|
21
|
+
GitHub issues and pull requests are the source of truth for decisions. Discussion also happens on [Discord](https://discord.com/invite/MWAEvnC5fU), but anything affecting the project is recorded on GitHub.
|
|
22
|
+
|
|
23
|
+
## Releases
|
|
24
|
+
|
|
25
|
+
LitData follows `MAJOR.MINOR.PATCH` versioning, with the version in [src/litdata/\_\_about\_\_.py](src/litdata/__about__.py).
|
|
26
|
+
|
|
27
|
+
- **Cadence:** cut as needed rather than on a fixed calendar, once a meaningful set of fixes or features has landed on `main`. Regressions and security fixes ship as soon as they are ready.
|
|
28
|
+
- **Criteria:** `main` is green across the CI matrix, including tests, typing, packaging, documentation, simulator, and benchmark checks.
|
|
29
|
+
- **Process:** a maintainer bumps the version and publishes a GitHub Release, which builds and publishes the distributions to PyPI via trusted publishing.
|
|
30
|
+
- **Supported versions:** supported Python and dependency ranges are documented in the project configuration and tested in CI. LitData is validated against the latest two PyTorch minor releases; support for a PyTorch or Python version is dropped only in a minor release and announced in the release notes.
|
|
31
|
+
|
|
32
|
+
## Code of Conduct
|
|
33
|
+
|
|
34
|
+
All participants follow the [Code of Conduct](CODE_OF_CONDUCT.md). Reports go to community@lightning.ai.
|
|
35
|
+
|
|
36
|
+
## Changing this document
|
|
37
|
+
|
|
38
|
+
By pull request, with approval from at least two maintainers.
|
|
@@ -31,7 +31,7 @@ exclude docs
|
|
|
31
31
|
|
|
32
32
|
# Include the Requirements
|
|
33
33
|
include requirements.txt
|
|
34
|
-
recursive-include requirements *.
|
|
34
|
+
recursive-include requirements *.txt
|
|
35
35
|
|
|
36
36
|
# Exclude Makefile
|
|
37
37
|
exclude Makefile
|
|
@@ -43,3 +43,5 @@ prune notebook*
|
|
|
43
43
|
prune temp*
|
|
44
44
|
prune test*
|
|
45
45
|
prune benchmark*
|
|
46
|
+
|
|
47
|
+
include src/litdata/utilities/_nfs_direct_io.c
|