-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c7281be
commit 088e5d9
Showing
65 changed files
with
11,040 additions
and
1 deletion.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.2 | ||
1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../LICENSE/license.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# 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 (Markov Diffusion Language Models) | ||
- DFM (Discrete Flow Matching) | ||
|
||
### Useful Abstractions | ||
MoCo also provides useful wrappers for customizable time distributions and infernece 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: | ||
|
||
```bash | ||
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](./examples). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../VERSION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Table of Contents | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Environment Setup | ||
=============== | ||
|
||
While you can install bionemo-moco directly here is an example of specifying the specific torch and cuda versions: | ||
|
||
conda create --name moco python=3.10 pytorch==2.2.1 torchvision==0.17.1 torchaudio==2.2.1 pytorch-cuda=12.1 -c pytorch -c nvidia -y | ||
|
||
conda activate moco | ||
python -m pip install 'numpy<2.0' | ||
|
||
pip install -r environment/requirements.txt | ||
|
||
pre-commit install | ||
|
||
pip install -e . |
Oops, something went wrong.