Skip to content

Release Notes

BioNeMo Framework v2.0

New Features:

  • ESM-2 implementation
  • State of the art training performance and equivalent accuracy to the reference implementation
  • 650M, and 3B scale checkpoints available which mirror the reference model
  • Flexible fine-tuning examples that can be copied and modified to accomplish a wide variety of downstream tasks
  • First version of our NeMo v2 based reference implementation which re-imagines bionemo as a repository of megatron models, dataloaders, and training recipes which make use of NeMo v2 for training loops.
  • Modular design and permissible Apache 2 OSS licenses enables the import and use of our framework in proprietary applications.
  • NeMo2 training abstractions allows the user to focus on the model implementation while the training strategy handles distribution and model parallelism.
  • Documentation and documentation build system for BioNeMo 2.

Known Issues:

  • PEFT support is not yet fully functional.
  • Partial implementation of Geneformer is present, use at your own risk. It will be optimized and officially released in the future.
  • Command line interface is currently based on one-off training recipes and scripts. We are working on a configuration based approach that will be released in the future.
  • Fine-tuning workflow is implemented for BERT based architectures and could be adapted for others, but it requires you to inherit from the biobert base model config. You can follow similar patterns in the short term to load weights from an old checkpoint partially into a new model, however in the future we will have a more direct API which is easier to follow.
  • Slow memory leak occurs during ESM-2 pretraining, which can cause OOM during long pretraining runs. Training with a microbatch size of 48 on 40 A100s raised an out-of-memory error after 5,800 training steps.
  • Possible workarounds include calling gc.collect(); torch.cuda.empty_cache() at every ~1,000 steps, which appears to reclaim the consumed memory; or training with a lower microbatch size and re-starting training from a saved checkpoint periodically.

BioNeMo Framework v1.9

New Features

  • [Documentation] Updated, executable ESM-2nv notebooks demonstrating: Data preprocessing and model training with custom datasets, Fine-tuning on FLIP data, Inference on OAS sequences, Pre-training from scratch and continuing training
  • [Documentation] New notebook demonstrating Zero-Shot Protein Design Using ESM-2nv. Thank you to @awlange from A-Alpha Bio for contributing the original version of this recipe!

Bug fixes and Improvements

  • [Geneformer] Fixed bug in preprocessing due to a relocation of dependent artifacts.
  • [Geneformer] Fixes bug in finetuning to use the newer preprocessing constructor.

BioNeMo Framework v1.8

New Features

  • [Documentation] Updated, executable MolMIM notebooks demonstrating: Training on custom data, Inference and downstream prediction, ZINC15 dataset preprocesing, and CMA-ES optimization
  • [Dependencies] Upgraded the framework to NeMo v1.23, which updates PyTorch to version 2.2.0a0+81ea7a4 and CUDA to version 12.3.

Bug fixes and Improvements

  • [ESM2] Fixed a bug in gradient accumulation in encoder fine-tuning
  • [MegaMolBART] Make MegaMolBART encoder finetuning respect random seed set by user
  • [MegaMolBART] Finetuning with val_check_interval=1 bug fix

Known Issues

  • Minor training speed regression observed for models DNABERT, Geneformer, MolMIM
  • Two known critical CVEs GHSA-cgwc-qvrx-rf7f, GHSA-mr7h-w2qc-ffc2. The vulnerabilities arise within a package that's installed by lightning by default. We do not use that package in bionemo framework container. we are also unable to remove the package in question as it's installed as a side-effect of installing lightning.
  • Two known High CVEs from pytorch : GHSA-pg7h-5qx3-wjr3, GHSA-5pcm-hx3q-hm94.

BioNeMo Framework v1.7

New Models

  • DSMBind, developed under the BioNeMo framework, is a model which can produce comparative values for ranking protein-ligand binding affinities. This release features the capability to perform inference using a newly trained checkpoint.

New Features

  • [EquiDock] Remove steric clashes as a post-processing step after equidock inference.
  • [Documentation] Updated Getting Started section which sequentially describes prerequisites, BioNeMo Framework access, startup instructions, and next steps.

Known Issues

  • There is a known security vulnerability with NLTK that can allow for arbitrary code execution via pickle files that are external assets downloaded via nltk.download() (https://github.com/nltk/nltk/issues/3266). BioNeMo itself does not use this dependency in any way, however parts of NeMo text-to-speech (nemo.collections.tts) does use this vulnerable codepath. Since NeMo is installed in the BioNeMo release containers, users are urged to exercise caution when using nemo.collections.tts or nltk.

BioNeMo Framework v1.6

New Features

  • [Model Fine-tuning] model.freeze_layers fine-tuning config parameter added to freeze a specified number of layers. Thank you to github user @nehap25!
  • [ESM2] Loading pre-trained ESM-2 weights and continue pre-training on the MLM objective on a custom FASTA dataset is now supported.
  • [OpenFold] MLPerf feature 3.2 bug (mha_fused_gemm) fix has merged.
  • [OpenFold] MLPerf feature 3.10 integrated into bionemo framework.
  • [DiffDock] Updated data loading module for DiffDock model training, changing from sqlite3 backend to webdataset.

BioNeMo Framework v1.5

New Models

  • Geneformer is out of Beta status. This release includes newly trained checkpoints and benchmarks, including a variant based on the publication with 10M parameters, and the largest variant of geneformer publically available to date with 106M parameters.

BioNeMo Framework v1.4

New Models

  • Beta Geneformer a foundation model for single-cell data that encodes each cell as represented by an ordered list of differentially expressed genes for that cell.

New Features

  • Beta Geneformer pretraining with custom datasets
  • Low-Rank Adaptation (LoRA) finetuning for ESM2

Bug fixes and Improvements

  • OpenFold training improved benchmarks and validation of optimizations

Known Issues

  • BioNeMo Framework v24.04 container is vulnerable to GHSA-whh8-fjgc-qp73 in onnx 1.14.0. Users are advised not to open untrusted onnx files with this image. Restrict your mount point to minimize directory traversal impact. A fix for this is scheduled in the 24.05 (May) release.

BioNeMo Framework v1.3

New Models

New Features

  • MolMIM re-trained on more data is now available in the framework, and achieves state of the art performance.
  • MolMIM property guided tutorial notebook covering property guided optimization using our new framework model.
  • MolMIM training tutorial available walking users through either training from scratch or from an existing checkpoint on your own data.
  • MolMIM tutorial notebook covering molecular sampling and property prediction is also now available.
  • Numerous optimizations from NVIDIA's entry to the MLPerf competition have been added to OpenFold. Documentation and detailed benchmarks are works in progress and will be published in upcoming releases. This release contains the following performance optimizations:
    • Fused GEMMs in multi-head attention (MHA)
    • Non-blocking data pipeline
    • BF16 precision training
    • Fused MHA gating
    • Inductor Compiled LayerNorm
    • OpenAI Triton LayerNorm kernels
    • OpenAI Triton MHA

Bug fixes and Improvements

  • NeMo upgraded to v1.22 (see NeMo release notes),
  • PyTorch Lightning upgraded to 2.0.7
  • NGC CLI has been removed from the release container. If users download models from inside the container (e.g. using bionemo_data_download or via running specific unit tests), the NGC CLI will be auto-installed to pull the models from NGC.

Known Issues

  • BioNeMo Framework v24.03 container is vulnerable to GHSA-whh8-fjgc-qp73 in onnx 1.14.0. Users are advised not to open untrusted onnx files with this image. Restrict your mount point to minimize directory traversal impact.

BioNeMo Framework v1.2

New Models

  • OpenFold implementation under BioNeMo framework, derived from public OpenFold and DeepMind AlphaFold-2.
  • DNABERT implementation for computing embeddings for each nucleotide in the input DNA sequence.

New Features

  • Training recipes for DNABERT and OpenFold, including automated data processing and full configuration for training.
  • Example tutorials for running inference using OpenFold.
  • Splice Prediction downstream task example for DNABERT.
  • Wrapper scripts for DNABERT and OpenFold to launch jobs on BCP.

Bug fixes and Improvements

  • Interface improvements for ESM-2 data ingestion and pre-processing. The interface allows for explicit specification of training, validation, and test sets. The user may set config.model.data.default_dataset_path to maintain prior behavior, or set config.model.data.train.dataset_path, config.model.data.val.dataset_path, config.model.data.test.dataset_path which may all be unique.

Known Issues

  • OpenFold training speed does not yet include MLPerf optimizations, and these will be released in the subsequent release.

BioNeMo Framework v1.1

New Models

  • EquiDock for protein-protein docking pose prediction
  • DiffDock for protein-ligand blind docking pose generation

New Features

  • Training recipes for EquiDock and DiffDock, including automated data processing and full configuration for training.
  • Accelerated inference and training for DiffDock via fast tensor-product kernels.
  • Example tutorials for running inference using EquiDock and DiffDock.
  • Recipes for running EquiDock and DiffDock on BCP and Slurm.
  • Pipeline parallel supported for ESM-2nv.
  • Migration of inference notebooks to using pytriton.

Bug fixes and Improvements

  • Faster pre-processing of data on BCP.
  • Refactor of download_models.sh to download_models.py for easier CLI use.
  • Refactor of install structure to move from /opt/nvidia to /workspace/bionemo. The environment variable $BIONEMO_HOME now points to the repo base and is required to be set for tests to pass.

Security Notice

SchedMD Slurm in the release container is shipped with a security vulnerability, CVE-2022-29501, and therefore this version of Slurm should not be used to run a Slurm cluster (specifically, the processes slurmdbd, slurmctld, and slurmd.

In general, the BioNeMo Framework release is designed to ship code and an environment that would be executed on local workstations, or deployed on clusters for large scale training jobs. This container is not designed to run as a service with public facing APIs. A full summary of security vulnerabilities can be found here.

BioNeMo Framework v1.0

New Models

  • ESM-2nv for protein sequence representations, pretrained weights of ESM-2 650M and ESM-2 3B converted from HF checkpoint available.

New Features

  • Pre-training recipes for ESM-2nv, including automated data processing and full configuration for training
  • Fine-tuning of ESM-2nv with encoder frozen or trainable
  • Downstream task finetuning support for single-value classification (e.g. subcellular localization), single-value regression (e.g. meltome) and per-token classification (e.g. secondary structure)
  • Validation in loop to evaluate performance on downstream tasks during training
  • Example tutorials for pre-training, fine tuning, and downstream tasks

BioNeMo Framework v0.4.0

New Models

  • ESM-1nv for protein sequence representations, pretrained weights available
  • ProtT5nv for protein sequence representation and sequence-to-sequence tasks, pretrained weights available

New Features

  • Pre-training for all models, including automated data processing and full configuration for training
  • Fine-tuning of MegaMolBART, ESM-1nv, and ProtT5nv with encoder frozen or trainable
  • Downstream task example applications – secondary structure prediction for ESM-1nv and ProtT5nv, physchem prediction (lipophilicity, FreeSolv, ESOL) and retrosynthesis prediction for MegaMolBART
  • Validation in loop to evaluate performance on downstream tasks during training: physchem prediction (MegaMolBART) and secondary structure prediction (ESM-1nv and ProtT5nv).
  • Pipeline parallelism supported as a beta feature. Not fully tested.
  • Example notebooks for pre-training, fine tuning, and downstream tasks

Known Issues

  • Data preprocessing on DGX Cloud is slow. Faster to do it on a local machine.

New APIs

  • BioNeMoDataModule - Encapsulates dataset instantiation in bionemo models so that many different datasets can be used with the same model
  • EncoderFineTuning - Base class to facilitate implementation of downstream tasks built on embeddings from other models