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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
protoplast-0.1.3.tar.gz
(871.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file protoplast-0.1.3.tar.gz.
File metadata
- Download URL: protoplast-0.1.3.tar.gz
- Upload date:
- Size: 871.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90babaf6d422000d5fa3b0f53bc60f9cc27c6c05ecb5d45b548e288d2f866376
|
|
| MD5 |
35b2ab8a26935c80b8b78cf860818669
|
|
| BLAKE2b-256 |
3cc94802db69f586c130ac14f117eb6bcbc4c7ee389e346e68f3a8777887fd78
|
File details
Details for the file protoplast-0.1.3-py3-none-any.whl.
File metadata
- Download URL: protoplast-0.1.3-py3-none-any.whl
- Upload date:
- Size: 44.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
006106900ec044a8ae354a6c506f4324edc6a5b4ea5e4fb1bc9979358858f32a
|
|
| MD5 |
d9cd6ab5bbe0ff1f07197855dd5120cb
|
|
| BLAKE2b-256 |
9b91cdd0fac09935d0025fe9c9e6d58e95b32188fe17a9f627b8b5c341a1b51e
|