ReleaseLightning AILightning AIpublished Sep 10, 2025seen Jun 26

Lightning-AI/litData v0.2.54

Lightning-AI/litData

Open original ↗

Captured source

source ↗
published Sep 10, 2025seen Jun 26captured 4dhttp 200method plain

LitData v0.2.54

Repository: Lightning-AI/litData

Tag: v0.2.54

Published: 2025-09-10T14:02:37Z

Prerelease: no

Release notes: Lightning AI ⚡ is excited to announce the release of LitData v0.2.54

Highlights

Lightning AI Storage - Direct download

Lightning Studios have special directories for data connections that are available to an entire teamspace. LitData functions that reference those directories will experience a significant performance increase as uploads and downloads will happen directly from the bucket that backs the folder. LitData has supported existing folder types like S3 and GCS folders, and this release introduces support for lightning_storage folders which were recently launched.

For example, data will be downloaded directly from the my-data-1 Lightning Storage bucket in this example code.

from litdata import StreamingDataset

if __name__ == "__main__":
data_dir = "/teamspace/lightning_storage/my-bucket-1/data"

dataset = StreamingDataset(data_dir)

for sample in dataset:
print(sample)

References to any of the following directories will work similarly: 1. /teamspace/lightning_storage/... 2. /teamspace/s3_connections/... 3. /teamspace/gcs_connections/... 4. /teamspace/s3_folders/... 5. /teamspace/gcs_folders/...

Changes

Added

  • Add downloader for R2 by @pwgardipee in https://github.com/Lightning-AI/litData/pull/711

Changed

  • Update README.md by @tchaton in https://github.com/Lightning-AI/litData/pull/710

Full Changelog: https://github.com/Lightning-AI/litData/compare/v0.2.53...v0.2.54

🧑‍💻 Contributors

We thank all folks who submitted issues, features, fixes and doc changes. It's the only way we can collectively make LitData better for everyone, nice job!

Key Contributors

@pwgardipee

Thank you ❤️ and we hope you'll keep them coming!