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.2.tar.gz (868.7 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.2-py3-none-any.whl (42.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: protoplast-0.1.2.tar.gz
  • Upload date:
  • Size: 868.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for protoplast-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e6129d27aba3b72b833b3f630a2f761089cb6ae1679408caedde3f212115c608
MD5 06844d1620e99d4f198ab447a6a33da9
BLAKE2b-256 1b76d0f9730dd7af21cb009b828539710f1f077738ba3c7d491fa4eea696592e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: protoplast-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 42.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for protoplast-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6351a87a9d5d55db657c3eec79b43318e4f991a694711c42f1ae162e2ae38701
MD5 97c4a97bc3ebe94430d9b5d2dfd21023
BLAKE2b-256 25b708216f0899e42e3dc1f4b0f56aa965e438f6f7dfc0d71efe2ade8aa75c4d

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