Skip to main content

Lambda's Interdisciplinary Large Atlas

Project description

LAILA

Lambda's Interdisciplinary Large Atlas

LAILA is a Python platform for unifying training, simulation, and data management into a single computational workflow. It wraps heterogeneous storage backends (S3, GCS, Redis, HDF5, filesystem, and more) behind one consistent API so that memorizing data, recalling it, and orchestrating compute feels the same regardless of where things live.

pip install laila-core

Quick example

import numpy as np
import laila
from laila.pool import S3Pool

# 1. Create a pool (any backend — S3, Redis, HDF5, filesystem, …)
pool = S3Pool(
    bucket_name="your-bucket",
    access_key_id="YOUR_ACCESS_KEY_ID",
    secret_access_key="YOUR_SECRET_ACCESS_KEY",
    region_name="us-east-1",
    nickname="my_pool",
)

# 2. Register the pool with LAILA's memory system
laila.memory.add_pool(pool, pool_nickname="my_pool")

# 3. Wrap your data in an Entry
entry = laila.constant(data=np.random.randn(10, 10), nickname="my_matrix")

# 4. Memorize (write) — returns a future you can wait on
future = laila.memorize(entry, pool_nickname="my_pool")
laila.wait(future)

# 5. Remember (read) — reconstruct the entry from storage
recalled = laila.remember(entry.global_id, pool_nickname="my_pool")
laila.wait(recalled)
print(recalled.result.data)  # your numpy array, intact

Core concepts

Concept What it is
Entry An immutable (constant) or versioned (variable) container for any Python object — tensors, dicts, strings, model weights. Each entry has a deterministic global_id.
Pool A storage backend. LAILA ships with pools for S3, GCS, Azure Blob, Cloudflare R2, Redis, HDF5, filesystem, DuckDB, Postgres, MongoDB, Hugging Face Hub, and SQLite.
memorize / remember / forget The three core verbs. Write, read, and delete entries from any registered pool using the same interface.
Future Async operations return futures. Use laila.status(future), laila.wait(future), or access .result / .exception directly.

Installation extras

Install only the backends you need:

pip install "laila-core[s3]"        # S3 / Cloudflare R2 / Backblaze B2
pip install "laila-core[redis]"     # Redis
pip install "laila-core[hdf5]"      # HDF5
pip install "laila-core[torch]"     # PyTorch tensor support
pip install "laila-core[all]"       # everything

Vision

LAILA is intended to serve as an interdisciplinary platform for teams that need to move fluidly between data creation, data storage, model training, and large-scale execution. Rather than treating infrastructure boundaries as the primary abstraction, LAILA focuses on ergonomic syntax and reusable interfaces that let users reason about workflows at a higher level.

This approach makes it easier to:

  • organize and manage data across multiple storage systems
  • connect compute and memory workflows with less boilerplate
  • build distributed pipelines that remain readable and maintainable
  • reduce the operational friction between experimentation and production-scale execution

Current release

LAILA is currently in beta 1.0.

The current release includes the command and memory module as the first public component of the broader platform. Interfaces may continue to evolve as the platform expands and real-world usage informs the next stage of development.

Learn more

  • Tutorials — progressive walkthroughs from basic entries to full model checkpointing
  • API Reference — auto-generated from docstrings
  • Examples — end-to-end notebooks covering datasets, multipool setups, and more

Credits

  • Creator: Amir Zadeh
  • Tutorials and Documentation: Jessica Nicholson
  • Acknowledgements: Jason Zhang, Xuweiyi Chen, Connor Alvarez

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

laila_core-1.0.0b9.tar.gz (98.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

laila_core-1.0.0b9-py3-none-any.whl (150.8 kB view details)

Uploaded Python 3

File details

Details for the file laila_core-1.0.0b9.tar.gz.

File metadata

  • Download URL: laila_core-1.0.0b9.tar.gz
  • Upload date:
  • Size: 98.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for laila_core-1.0.0b9.tar.gz
Algorithm Hash digest
SHA256 faadc253b8ff46e1c60415f8571c174046590cc5459788bd01de2b8774b7dfd8
MD5 09d50ca61e06608c254e29e8d3ac6cda
BLAKE2b-256 a417ba58fcc48fcb155149e97b8d8d00c0f6b1dcfed1cc43ea8bfef877a09ca5

See more details on using hashes here.

Provenance

The following attestation bundles were made for laila_core-1.0.0b9.tar.gz:

Publisher: publish-to-pypi.yml on LambdaLabsML/laila-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file laila_core-1.0.0b9-py3-none-any.whl.

File metadata

  • Download URL: laila_core-1.0.0b9-py3-none-any.whl
  • Upload date:
  • Size: 150.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for laila_core-1.0.0b9-py3-none-any.whl
Algorithm Hash digest
SHA256 91f0b037bf28f872274571a63dc76c79b3c44627da8a0969f665d18d4531bac3
MD5 fa235b6387acaa612dd5daea07852062
BLAKE2b-256 0419bac80a49568211a9c10b3ac2370b938b080de3fe5dd56e60af639be9f464

See more details on using hashes here.

Provenance

The following attestation bundles were made for laila_core-1.0.0b9-py3-none-any.whl:

Publisher: publish-to-pypi.yml on LambdaLabsML/laila-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page