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

Uploaded Python 3

File details

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

File metadata

  • Download URL: bionemo_moco-0.0.1.tar.gz
  • Upload date:
  • Size: 56.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.1.tar.gz
Algorithm Hash digest
SHA256 5c8dcb1890be5f82cc95428a3eb3ae9ac707aef6bb2e9b8c02979e1c9e8dea94
MD5 e4b09ed793d8c37666bcf15273144549
BLAKE2b-256 79e7ce5c4316194a9771307481e5cf3cfa3b8f1bbc60079da79ce11924c4b135

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bionemo_moco-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 97.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d076f598932fa736ec5bd8e1922cbc214013af8c42fecfbeb913954ea931b50
MD5 d64e6f52bde4a8048dace24dde6dc09f
BLAKE2b-256 113166008a49edc6b11db0b58617ec426a2892a9b0a5537ec43b475898c7361c

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