protoplast
Early developer preview of PROTOplast targets acceleration of ML model training workflows
- PyPI package: https://pypi.org/project/protoplast/
Features
- Stream directly from remote/cloud storage (via runtime patching of anndata to use fsspec)
- Accelerated training of your ML models (14.5minutes on an A100 instance with 4 GPUs). Scale to multi-node clusters with zero code changes (with native Ray integration)
- Drop-in replacement of your custom ML training (by subclassing Lightning's LightningModule)
Getting started
It's easy to get started with PROTOplast
from protoplast import RayTrainRunner, DistributedCellLineAnnDataset, LinearClassifier
import glob
files = glob.glob("/data/tahoe100/*.h5ad")
trainer = RayTrainRunner(
LinearClassifier, # replace with your own model
DistributedCellLineAnnDataset, # replace with your own Dataset
["num_genes", "num_classes"], # change according to what you need for your model
)
trainer.train(file_paths=files)
Additional tutorials are available at https://protoplast.dataxight.com/tutorials
Full documentation at https://protoplast.dataxight.com
Metadata
Release files for protoplast 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| protoplast-0.1.3.tar.gz | 871.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| protoplast-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 916.3 kB
Release files / protoplast-0.1.3.tar.gz
| Download URL | protoplast-0.1.3.tar.gz |
|---|---|
| Size | 871.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90babaf6d422000d5fa3b0f53bc60f9cc27c6c05ecb5d45b548e288d2f866376
|
|
BLAKE2b-256 checksum How to use checksums |
3cc94802db69f586c130ac14f117eb6bcbc4c7ee389e346e68f3a8777887fd78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / protoplast-0.1.3-py3-none-any.whl
| Download URL | protoplast-0.1.3-py3-none-any.whl |
|---|---|
| Size | 44.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
006106900ec044a8ae354a6c506f4324edc6a5b4ea5e4fb1bc9979358858f32a
|
|
BLAKE2b-256 checksum How to use checksums |
9b91cdd0fac09935d0025fe9c9e6d58e95b32188fe17a9f627b8b5c341a1b51e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|