Skip to main content

BioNeMo Modular Co-Design: Making building Diffusion and Flow Matching generative models easier

Project description

Modular Co-Design (MoCo) Interpolants

MoCo enables abstracted interpolants for building and sampling from a variety of popular generative model frameworks. Specifically, MoCo supports interpolants for both continuous and discrete data types. PyPI version

Continuous Data Interpolants

MoCo currently supports the following continuous data interpolants:

  • DDPM (Denoising Diffusion Probabilistic Models)
  • VDM (Variational Diffusion Models)
  • CFM (Conditional Flow Matching)

Discrete Data Interpolants

MoCo also supports the following discrete data interpolants:

  • D3PM (Discrete Denoising Diffusion Probabilistic Models)
  • MDLM (Masked Diffusion Language Models)
  • DFM (Discrete Flow Matching)

Useful Abstractions

MoCo also provides useful wrappers for customizable time distributions and inference time schedules.

Extendible

If the desired interpolant or sampling method is not already supported, MoCo was designed to be easily extended.

Installation

For Conda environment setup, please refer to the environment directory for specific instructions.

Once your environment is set up, you can install this project by running the following command:

pip install -e .

This will install the project in editable mode, allowing you to make changes and see them reflected immediately.

Examples

Please see examples of all interpolants in the examples directory.

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

bionemo_moco-0.0.2.2.tar.gz (62.6 kB view details)

Uploaded Source

Built Distribution

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

bionemo_moco-0.0.2.2-py3-none-any.whl (104.4 kB view details)

Uploaded Python 3

File details

Details for the file bionemo_moco-0.0.2.2.tar.gz.

File metadata

  • Download URL: bionemo_moco-0.0.2.2.tar.gz
  • Upload date:
  • Size: 62.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for bionemo_moco-0.0.2.2.tar.gz
Algorithm Hash digest
SHA256 22c1d0ff652299749998b46a19a22d624273d35e78795c3515ccc0b9cf2d64db
MD5 787852d1004c32e08560889904d59fc6
BLAKE2b-256 da260e933ae66a32ea713fb3d4b1ef8f81eb3102c5599157004438546d8823f5

See more details on using hashes here.

File details

Details for the file bionemo_moco-0.0.2.2-py3-none-any.whl.

File metadata

  • Download URL: bionemo_moco-0.0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 104.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for bionemo_moco-0.0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c5585803c1cb9aadb96b570491aea5a6dd2135096527ade333c60c6a755b6a2f
MD5 ef50c803d423763745707034517cbb0a
BLAKE2b-256 bc2a36c4c97a75e3ecc890ce71c787a7ebbc4825be6703bed81f792a5941c71d

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