Skip to content

Commit 5237c87

Browse files
committed
rename framework to recipes
Signed-off-by: Peter St. John <pstjohn@nvidia.com>
1 parent d52b0b9 commit 5237c87

25 files changed

Lines changed: 59 additions & 59 deletions

File tree

ci/lepton/model_convergence/configs/base.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ commit_sha: ""
100100
############################################################
101101
checkout_script: |
102102
set -euo pipefail
103-
git clone https://github.com/NVIDIA/bionemo-framework.git
104-
cd bionemo-framework
103+
git clone https://github.com/NVIDIA-BioNeMo/bionemo-recipes.git
104+
cd bionemo-recipes
105105
if [ -n "${commit_sha}" ]; then
106106
echo "Checking out commit: ${commit_sha}"
107107
git checkout "${commit_sha}"

ci/lepton/model_convergence/configs/recipes/codonfm_ptl_te.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ task_cmd: "train"
6969

7070
# edit these
7171
max_steps: 200
72-
out_dir: "/workspace/bionemo-framework/recipes/codonfm_ptl_te"
72+
out_dir: "/workspace/bionemo-recipes/recipes/codonfm_ptl_te"
7373
learning_rate: 1e-4
7474
train_batch_size: 32
7575
val_batch_size: 32
@@ -92,8 +92,8 @@ collate_fn: thd
9292
############################################################
9393
checkout_script: |
9494
cd /workspace
95-
git clone https://github.com/NVIDIA/bionemo-framework.git
96-
cd bionemo-framework
95+
git clone https://github.com/NVIDIA-BioNeMo/bionemo-recipes.git
96+
cd bionemo-recipes
9797
if [ -n "${commit_sha}" ]; then
9898
echo "Checking out commit: ${commit_sha}"
9999
git checkout "${commit_sha}"

ci/lepton/model_convergence/launchers/convergence_tests.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ __SCRIPT__
2020
RC=$?
2121
set -e
2222

23-
echo "commit in bionemo-framework"
24-
(cd bionemo-framework && git log -1 || true)
25-
# Always grab the exact commit currently checked out in the framework repo
26-
COMMIT_SHA="$(cd bionemo-framework && git rev-parse HEAD 2>/dev/null || true)"
27-
echo "Resolved framework commit: ${COMMIT_SHA:-<none>}"
23+
echo "commit in bionemo-recipes"
24+
(cd bionemo-recipes && git log -1 || true)
25+
# Always grab the exact commit currently checked out in the recipes repo
26+
COMMIT_SHA="$(cd bionemo-recipes && git rev-parse HEAD 2>/dev/null || true)"
27+
echo "Resolved recipes commit: ${COMMIT_SHA:-<none>}"
2828

2929
# Authenticate to Lepton
3030
pip install -q leptonai >/dev/null 2>&1 || pip install -q leptonai || true
@@ -95,12 +95,12 @@ else
9595
ALL_CONFIG_JSON_UPDATED='{}'
9696
fi
9797

98-
# Inject/overwrite the resolved framework commit (only if we actually got one)
98+
# Inject/overwrite the resolved recipes commit (only if we actually got one)
9999
if [ -n "${COMMIT_SHA:-}" ]; then
100100
ALL_CONFIG_JSON_UPDATED="$(printf '%s' "$ALL_CONFIG_JSON_UPDATED" | jq -c --arg commit "$COMMIT_SHA" '.commit_sha = $commit')"
101101

102102
# Find which branch contains this commit
103-
RESOLVED_BRANCH="$(cd bionemo-framework && git branch -r --contains "$COMMIT_SHA" | grep 'origin/' | head -1 | sed 's|.*origin/||' || true)"
103+
RESOLVED_BRANCH="$(cd bionemo-recipes && git branch -r --contains "$COMMIT_SHA" | grep 'origin/' | head -1 | sed 's|.*origin/||' || true)"
104104

105105
if [ -n "$RESOLVED_BRANCH" ] && [ "$RESOLVED_BRANCH" != "HEAD" ]; then
106106
ALL_CONFIG_JSON_UPDATED="$(printf '%s' "$ALL_CONFIG_JSON_UPDATED" | jq -c --arg branch "$RESOLVED_BRANCH" '.branch = $branch')"
@@ -180,7 +180,7 @@ NVIDIA_DRIVER_INFO="$(jq -n --arg dv "$DRIVER_VERSION" --arg cv "$CUDA_VERSION"
180180
set -e
181181

182182
# Look for W&B files
183-
WANDB_DIR="/workspace/bionemo-framework/recipes/$RECIPE_SUBDIR/wandb"
183+
WANDB_DIR="/workspace/bionemo-recipes/recipes/$RECIPE_SUBDIR/wandb"
184184

185185
WANDB_FOUND=0
186186
WANDB_SUMMARY=""

docs/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# limitations under the License.
1515

1616

17-
# FIXME: remove this notebooks from ignore when this issue is fixed: https://github.com/NVIDIA/bionemo-framework/issues/778
17+
# FIXME: remove this notebooks from ignore when this issue is fixed: https://github.com/NVIDIA-BioNeMo/bionemo-recipes/issues/778
1818
collect_ignore = ["docs/user-guide/examples/bionemo-geneformer/geneformer_cellxgene_tutorial.ipynb"]

docs/docs/main/FAQ.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ while also providing a high degree of freedom and flexibility for users.
1111
## How do I install BioNeMo Recipes?
1212

1313
You can install individual recipe directories from within BioNeMo Recipes by following the corresponding
14-
README pages the [BioNeMo Recipes GitHub](https://github.com/NVIDIA-BioNeMo/bionemo-framework).
14+
README pages in the [BioNeMo Recipes GitHub repository](https://github.com/NVIDIA-BioNeMo/bionemo-recipes).
1515

1616
## What are the system requirements for BioNeMo Recipes?
1717

@@ -35,7 +35,7 @@ For more information about external contributions, refer to the [Contributing](c
3535
## How do I report bugs or suggest new features?
3636

3737
To report a bug or suggest a new feature, open an issue on the
38-
[BioNeMo Recipes GitHub site](https://github.com/NVIDIA-BioNeMo/bionemo-framework/issues). For the fastest turnaround,
38+
[BioNeMo Recipes GitHub site](https://github.com/NVIDIA-BioNeMo/bionemo-recipes/issues). For the fastest turnaround,
3939
thoroughly describe your issue, including any steps and/or _minimal_ data sets necessary to reproduce (when possible),
4040
as well as the expected behavior.
4141

docs/docs/models/ESM-2/pre-training.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ and train/test splits are available.
88
## Training with BioNeMo Recipes
99

1010
Active ESM-2 training code lives in
11-
[`recipes/esm2_native_te`](https://github.com/NVIDIA-BioNeMo/bionemo-framework/tree/main/recipes/esm2_native_te).
11+
[`recipes/esm2_native_te`](https://github.com/NVIDIA-BioNeMo/bionemo-recipes/tree/main/recipes/esm2_native_te).
1212
See the recipe README for setup instructions, supported training scripts (`train_ddp.py`,
1313
`train_fsdp2.py`), and benchmark results.
1414

1515
An Accelerate-based variant is also available at
16-
[`recipes/esm2_accelerate_te`](https://github.com/NVIDIA-BioNeMo/bionemo-framework/tree/main/recipes/esm2_accelerate_te).
16+
[`recipes/esm2_accelerate_te`](https://github.com/NVIDIA-BioNeMo/bionemo-recipes/tree/main/recipes/esm2_accelerate_te).
1717

1818
## Model Convergence
1919

docs/docs/models/amplify.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
## Model Overview
22

33
Training code for this model is in
4-
[`recipes/esm2_native_te`](https://github.com/NVIDIA-BioNeMo/bionemo-framework/tree/main/recipes/esm2_native_te)
4+
[`recipes/esm2_native_te`](https://github.com/NVIDIA-BioNeMo/bionemo-recipes/tree/main/recipes/esm2_native_te)
55
and
6-
[`recipes/esm2_accelerate_te`](https://github.com/NVIDIA-BioNeMo/bionemo-framework/tree/main/recipes/esm2_accelerate_te);
6+
[`recipes/esm2_accelerate_te`](https://github.com/NVIDIA-BioNeMo/bionemo-recipes/tree/main/recipes/esm2_accelerate_te);
77
use an AMPLIFY model tag such as `nvidia/AMPLIFY_120M`. Use
8-
[`models/amplify`](https://github.com/NVIDIA-BioNeMo/bionemo-framework/tree/main/models/amplify)
8+
[`models/amplify`](https://github.com/NVIDIA-BioNeMo/bionemo-recipes/tree/main/models/amplify)
99
for checkpoint conversion and model implementation details.
1010

1111
### Description
@@ -72,7 +72,7 @@ Schulz, Sarath Chandar, Christopher James Langmead bioRxiv 2024.09.23.614603; do
7272

7373
The model is fully compatible with weights distributed via HuggingFace, i.e.,
7474
[chandar-lab/AMPLIFY_120M](https://huggingface.co/chandar-lab/AMPLIFY_120M). See
75-
[`models/amplify`](https://github.com/NVIDIA-BioNeMo/bionemo-framework/tree/main/models/amplify)
75+
[`models/amplify`](https://github.com/NVIDIA-BioNeMo/bionemo-recipes/tree/main/models/amplify)
7676
for checkpoint conversion utilities and usage examples.
7777

7878
## Training & Evaluation
@@ -98,9 +98,9 @@ AMPLIFY is provided under the Apache 2.0 license.
9898

9999
Use the recipe READMEs for current training entrypoints:
100100

101-
- [`models/amplify`](https://github.com/NVIDIA-BioNeMo/bionemo-framework/tree/main/models/amplify)
102-
- [`recipes/esm2_native_te`](https://github.com/NVIDIA-BioNeMo/bionemo-framework/tree/main/recipes/esm2_native_te)
103-
- [`recipes/esm2_accelerate_te`](https://github.com/NVIDIA-BioNeMo/bionemo-framework/tree/main/recipes/esm2_accelerate_te)
101+
- [`models/amplify`](https://github.com/NVIDIA-BioNeMo/bionemo-recipes/tree/main/models/amplify)
102+
- [`recipes/esm2_native_te`](https://github.com/NVIDIA-BioNeMo/bionemo-recipes/tree/main/recipes/esm2_native_te)
103+
- [`recipes/esm2_accelerate_te`](https://github.com/NVIDIA-BioNeMo/bionemo-recipes/tree/main/recipes/esm2_accelerate_te)
104104

105105
| Model Size | GPUs | Batch Size (per GPU) | Training Step Time (s) |
106106
| ---------- | ---------------- | -------------------- | ---------------------- |

docs/docs/models/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
State-of-the-art models are continually integrated into BioNeMo Recipes. BioNeMo Recipes currently offers the following pre-trained models:
44

5-
| **Model** | **Modality** | **Uses** | **Training Location** |
6-
| ----------------------------- | ------------ | ----------------------- | -------------------------------------------------------------------------------- |
7-
| [AMPLIFY](./amplify.md) | Protein | Representation Learning | [BioNeMo Recipes](https://github.com/NVIDIA-BioNeMo/bionemo-framework/tree/main) |
8-
| [ESM-2](./ESM-2/index.md) | Protein | Representation Learning | [BioNeMo Recipes](https://github.com/NVIDIA-BioNeMo/bionemo-framework/tree/main) |
9-
| [Evo2](./evo2.md) | DNA | Generative AI | [BioNeMo Recipes](https://github.com/NVIDIA-BioNeMo/bionemo-framework/tree/main) |
10-
| [Geneformer](./geneformer.md) | Single Cell | Representation Learning | [BioNeMo Recipes](https://github.com/NVIDIA-BioNeMo/bionemo-framework/tree/main) |
5+
| **Model** | **Modality** | **Uses** | **Training Location** |
6+
| ----------------------------- | ------------ | ----------------------- | ------------------------------------------------------------------------------ |
7+
| [AMPLIFY](./amplify.md) | Protein | Representation Learning | [BioNeMo Recipes](https://github.com/NVIDIA-BioNeMo/bionemo-recipes/tree/main) |
8+
| [ESM-2](./ESM-2/index.md) | Protein | Representation Learning | [BioNeMo Recipes](https://github.com/NVIDIA-BioNeMo/bionemo-recipes/tree/main) |
9+
| [Evo2](./evo2.md) | DNA | Generative AI | [BioNeMo Recipes](https://github.com/NVIDIA-BioNeMo/bionemo-recipes/tree/main) |
10+
| [Geneformer](./geneformer.md) | Single Cell | Representation Learning | [BioNeMo Recipes](https://github.com/NVIDIA-BioNeMo/bionemo-recipes/tree/main) |
1111

1212
<!-- TODO: MolMIM has not yet been ported to BioNeMo Recipes. Add a model card entry here once a recipe is available. -->
1313

docs/mkdocs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
site_name: BioNeMo
2-
site_url: https://nvidia-bionemo.github.io/bionemo-framework
3-
repo_url: https://github.com/NVIDIA-BioNeMo/bionemo-framework
4-
repo_name: NVIDIA-BioNeMo/bionemo-framework
2+
site_url: https://nvidia-bionemo.github.io/bionemo-recipes
3+
repo_url: https://github.com/NVIDIA-BioNeMo/bionemo-recipes
4+
repo_name: NVIDIA-BioNeMo/bionemo-recipes
55

66
theme:
77
name: "material"
@@ -113,12 +113,12 @@ markdown_extensions:
113113
extra:
114114
social:
115115
- icon: fontawesome/brands/github
116-
link: https://github.com/NVIDIA-BioNeMo/bionemo-framework
116+
link: https://github.com/NVIDIA-BioNeMo/bionemo-recipes
117117
version:
118118
provider: mike
119119
default: latest
120120
alias: true
121-
github_url: https://github.com/NVIDIA-BioNeMo/bionemo-framework
121+
github_url: https://github.com/NVIDIA-BioNeMo/bionemo-recipes
122122

123123
copyright: |
124124
&copy; Copyright 2023-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.

docs/scripts/gen_ref_pages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def filter(self, record: logging.LogRecord) -> bool:
6060
}
6161
SUPPORT_FILE_NAMES = {"Dockerfile", "LICENSE", "Makefile", "requirements.txt"}
6262
SKIP_SUPPORT_DIRS = {"assets", "examples", "notebooks", ".venv", "__pycache__", ".pytest_cache"}
63-
GITHUB_BLOB_BASE = "https://github.com/NVIDIA-BioNeMo/bionemo-framework/blob/main"
63+
GITHUB_BLOB_BASE = "https://github.com/NVIDIA-BioNeMo/bionemo-recipes/blob/main"
6464

6565

6666
def _rewrite_relative_links(

0 commit comments

Comments
 (0)