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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a0517ba6c17c76c81bca084aabcf8210bf842a835c6dd43c603f97ead17fc84
|
|
| MD5 |
a09b687982c1186ba3b38de14192c0f3
|
|
| BLAKE2b-256 |
eda83578a925825ecb02f4b485bfd1391859f9afa059f471debc8086d145f4ec
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
929bedcfa71d6cf2eb529efb327545943cb969bf4b1c490d4598fa660296bb4e
|
|
| MD5 |
ce0b04a6a970e1df2ed299269b271c09
|
|
| BLAKE2b-256 |
d2229798aff3266ab0ffe1d176ac6bb8196f9040982e523176338c8cead62768
|