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

Uploaded Python 3

File details

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

File metadata

  • Download URL: bionemo_moco-0.0.2.1.tar.gz
  • Upload date:
  • Size: 60.2 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.1.tar.gz
Algorithm Hash digest
SHA256 9a0517ba6c17c76c81bca084aabcf8210bf842a835c6dd43c603f97ead17fc84
MD5 a09b687982c1186ba3b38de14192c0f3
BLAKE2b-256 eda83578a925825ecb02f4b485bfd1391859f9afa059f471debc8086d145f4ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bionemo_moco-0.0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 102.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 929bedcfa71d6cf2eb529efb327545943cb969bf4b1c490d4598fa660296bb4e
MD5 ce0b04a6a970e1df2ed299269b271c09
BLAKE2b-256 d2229798aff3266ab0ffe1d176ac6bb8196f9040982e523176338c8cead62768

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