Skip to main content

PADL

License

Pipeline abstractions for deep learning.


Full documentation here: https://lf1-io.github.io/padl/

PADL:

  • is a pipeline builder for PyTorch.
  • may be used with all of the great PyTorch functionality you're used to for writing layers.
  • allows users to build pre-processing, forward passes, loss functions and post-processing into the pipeline
  • models may have arbitrary topologies and make use of arbitrary packages from the python ecosystem
  • allows for converting standard functions to PADL components using a single keyword transform.

PADL was developed at LF1 an AI innovation lab based in Berlin, Germany.

Getting Started

pip install padl

Your first PADL program

from padl import transform, batch, unbatch
import torch
from torch import nn
nn = transform(nn)

@transform
def prepare(x):
    return torch.tensor(x)

@transform
def post(x):
  	return x.topk(1)[1].item()

my_pipeline = prepare >> batch >> nn.Linear(10, 20) >> unbatch >> post

Contributing

Code of conduct: https://github.com/lf1-io/padl/blob/main/CODE_OF_CONDUCT.md

If your interested in contributing to PADL please look at the current issues: https://github.com/lf1-io/padl/issues

Licensing

PADL is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

Metadata

Release files for padl 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for padl 0.1.6
File Size Uploaded Provenance Actions
padl-0.1.6.tar.gz 186.8 kB Without provenance Details for padl-0.1.6.tar.gz

Release files / padl-0.1.6.tar.gz

Download URL padl-0.1.6.tar.gz
Size 186.8 kB
Tags Source
SHA-256 checksum
How to use checksums
00afcb38d3862957a5723f13308fbe0c5da9f724285f1ffac16d868abd6e61d7
BLAKE2b-256 checksum
How to use checksums
f4abc295fb0ee229e4123745d9952d500a586891135d604861f650c9604fa97b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2

Security for padl 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page