Skip to main content

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

Project description

Modular Co-Design (MoCo) Interpolants

Description

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.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: bionemo_moco-0.0.2.tar.gz
  • Upload date:
  • Size: 59.0 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.tar.gz
Algorithm Hash digest
SHA256 6381db7d8f13d3d0dd2473ba47d5b4c0931571c0d46f4f07bcbd506b90c75fcc
MD5 ef9ca1837745f9cdacf674cecbf9a374
BLAKE2b-256 c7fcf41eafc1a916ef549ef51e0dd886e78c46692e543b10304d1d4f911d2eb6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bionemo_moco-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 101.3 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-py3-none-any.whl
Algorithm Hash digest
SHA256 49799c90ef70fcbe1892e7b7c823cd05f09d00e458d61c1ace0345dd4de0c361
MD5 2babf546064ca2d96d9448111a2207d4
BLAKE2b-256 922b26eeb98dbb8a4b3a43f49a21781136705c0316034b2faf54bd8e57fc0572

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