NVIDIA / NVIDIA/TensorRT-Model-Connect

Feature: support biology models - Boltz-2, OpenFold3, ESMFold2

Open
#998 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Enterprise
Dominant language
Python
Stars
254
Forks
58
Avg merge
1d 7h
Merged PRs (30d)
235

Description

Request type

New model or checkpoint support

Problem and use case

TensorRT Model Connect does not support biomolecular structure prediction. Boltz-2 and OpenFold3 are AlphaFold3-style co-folding systems built around MSA and pair representations, Pairformer-like trunks, and atom-level diffusion. ESMFold2 is architecturally distinct: it conditions folding on ESMC-6B protein-language-model embeddings, with optional MSA conditioning, its own pair trunk, and diffusion-based all-atom generation. They share task-level inputs and outputs, but likely require separate architecture-specific Model Connect families rather than one common graph implementation.

There seems to be TRT backend for Boltz-2 and OpenFold3. However, TensorRT Model Connect does not work out of the box.

Proposed outcome

Add a biomolecular structure-prediction task and model-family integration, initially targeting Boltz-2 and OpenFold3.

Acceptance criteria:

  • Build a BF16 engine on at least one documented supported NVIDIA GPU covering the complete Pairformer/trunk and diffusion path.
  • Support variable sequence lengths, masks, recycling, and documented MSA inputs.
  • Return structure and confidence outputs on example input: https://github.com/jwohlwend/boltz/blob/main/examples/prot_custom_msa.yaml
  • Validate parity against upstream PyTorch.
  • Benchmark warmed steady-state latency against eager PyTorch and torch.compile, excluding engine-build time.
Model and target details
  • Boltz-2
  • OpenFold3 (gated)
  • ESMFold2
  • Task: biomolecular structure prediction
  • Precision: BF16
  • Hardware target: at least one documented supported NVIDIA GPU; additional platform profiles may be qualified separately
  • Runtime: TensorRT Model Connect family plugin, bundle, and native runtime
Alternatives considered

No response

Additional context
Submission checks
  • I searched open and closed issues and found no duplicate request.
  • I removed secrets, private/internal evidence, personal paths, and restricted artifacts.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Boltz, OpenFold3, and ESMFold2 source repositories and the linked Boltz example input. Then inspect the existing TensorRT Model Connect family plugin, bundle, and native runtime integration points. Done means BF16 support for the documented GPU, variable lengths, masks, recycling, MSA inputs, structure and confidence outputs, upstream parity, and warmed latency benchmarks.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
bioinformatics, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.