BioEmu-2 and the compiled RMSD kernel, 28 November 2026¶
One RunPod pod: NVIDIA A100 PCIe (80 GB), 31 vCPUs allowed (the container shows 252),
BioEmu-2 preview (bioemu2 0.1.0rc0), OpenMM on CUDA, MDTraj 1.11.2. Everything below was
measured there unless it says otherwise.
BioEmu-2 through dynome-emulate¶
de.emulate_bioemu("ENFSGGCVAGYMRTPDGRCKPTFYQLIT", n_samples=...), the 28-residue peptide 2EQQ.
| 20 samples | 200 samples | |
|---|---|---|
| Wall time, whole call | 237 s | 278 s |
| Samples passing BioEmu's physicality check | 20 of 20 | 200 of 200 |
| Radius of gyration, mean (range) | 0.92 nm (0.80-1.04) | 0.91 nm (0.79-1.14) |
| CA RMSD between samples, mean (max) | 0.49 nm (0.83) | 0.53 nm (1.06) |
| CA RMSD to the nearest NMR model, best / median | 0.33 / 0.42 nm | 0.26 / 0.43 nm |
- About 230 s of every call is start-up (loading the 2 GB checkpoint, compiling kernels, the alignment lookup); the first call also downloads the checkpoint. After that, sampling ran at roughly 4 samples per second: the extra 180 samples cost 41 s.
- Peak GPU memory was about 5 GB for this peptide, so it does not need an 80 GB card. The model card names an 80 GB A100 as the smallest tested device; larger systems will need more.
- Output is heavy atoms only (216 atoms),
topology.cif+samples.xtc+physicality.json, which is the layout the adapter was written for. It read real output without changes. - For scale: the 20 NMR models of 2EQQ differ from each other by 0.39 nm CA RMSD on average, so the emulator's ensemble is somewhat broader than the NMR bundle and overlaps it.
- Four samples were carried through
dynome_sim.prepare(hydrogens and the terminal oxygen added) into 50 ps CUDA runs: all finite, 0.08-0.34 nm CA RMSD from their seeds.
Compiled RMSD kernel (dynome-accel)¶
RMSD of every frame to one reference, best of 5, milliseconds.
| Threads | 20,000 frames x 423 atoms: dynome-accel | MDTraj | 2,000 frames x 11,421 atoms: dynome-accel | MDTraj |
|---|---|---|---|---|
| 1 | 18.1 | 32.9 | 40.6 | 86.9 |
| 8 | 2.2 | 4.1 | 6.0 | 10.7 |
| 31 | 0.85 | 1.73 | 2.3 | 4.4 |
- About twice as fast as MDTraj at every thread count, and it agrees with MDTraj to 3e-6 nm (1e-5 nm for the large system). It is also more exact for near-identical frames, which it redoes in double precision.
- Dynome's NumPy kernel takes 173-213 ms for the first case, so the compiled kernel is roughly 10x faster on one thread and 200x on 31.
- Thread counts matter in containers. This pod shows 252 CPUs and allows 31. With one thread
per visible CPU, MDTraj took 242-401 ms and the raw kernel 112 ms.
dynome_acceltherefore reads the container's CPU quota and the affinity mask before choosing a thread count. - On the 2-core build machine: 8.5 ms against 18.4 ms for MDTraj.
This replaces the RMSD finding of 27 November (MDTraj 40x faster than Dynome).
Cost¶
The pod ran for about 20 minutes at $2.10 per hour: about $0.70.