Skip to main content

Scalable machine learning for molecular data analysis

Project description

protoplast

PyPI version Documentation Status

Early developer preview of PROTOplast targets acceleration of ML model training workflows

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

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

protoplast-0.1.1.tar.gz (830.4 kB view details)

Uploaded Source

Built Distribution

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

protoplast-0.1.1-py3-none-any.whl (39.4 kB view details)

Uploaded Python 3

File details

Details for the file protoplast-0.1.1.tar.gz.

File metadata

  • Download URL: protoplast-0.1.1.tar.gz
  • Upload date:
  • Size: 830.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for protoplast-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bca5a4b9b1ee3dd13c0d111d09987694d5af98f74f84f2536ccf314740c48638
MD5 f89acc44de709499b77a8b4600242856
BLAKE2b-256 b41b3af3341527d5f9ba199f93307bfc7b3e744a04b352f7b3e986bf4a996983

See more details on using hashes here.

File details

Details for the file protoplast-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: protoplast-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 39.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for protoplast-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4b34931f339fd1afefb0d472567d128f589ad4911048acf6e85dafcd0d3f882d
MD5 0172cc72f2661168eec67a9ffc490f94
BLAKE2b-256 ef441bb0499bb918aedf5dafd0531b239dea9f0c0e9a0c5ea00b4e99b6d02370

See more details on using hashes here.

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