JORWAL™ Core: Autonomous multi-agent AI biocompute and molecular intelligence ecosystem.
A production-grade, highly reproducible benchmark repository and Autonomous AI Drug Discovery Operating System evaluating NVIDIA BioNeMo & NIM (Inference Microservices) endpoints for protein language model embedding generation (ESM-2), de novo protein structure prediction (ESMFold), small-molecule latent exploration (MolMIM), and molecular docking pose prediction (DiffDock) against baseline unaccelerated host CPU compute.
This platform doesn't just sample molecules—it orchestrates an end-to-end pharmaceutical discovery pipeline from raw target sequence to FDA submission and wet-lab robotics:
The benchmark suite orchestrates a modular 5-stage bio-cheminformatics pipeline:
[ data/sample_complexes.json ] │ ┌─────────────────────────────┴────────────────────────────┐ ▼ ▼ [ Protein Sequence ] [ Small Molecule SMILES ] │ │ (IUPAC Validation & Sanitization) (RDKit Chemical Sanitization) │ │ ┌─────────┴─────────┐ ┌─────────┴─────────┐ ▼ ▼ ▼ ▼ ┌───────────────┐ ┌───────────────┐ [ Canonical SMILES ] [ Valency & Descriptors ] │ Local CPU │ │ NVIDIA NIM │ │ (MW, LogP, TPSA, HBD/HBA) │ ESM-2 (8M) │ │ ESM-2 (650M) │ │ │ Unaccelerated│ │ TensorRT-LLM │ │ └───────┬───────┘ └───────┬───────┘ │ │ │ │ │ [ Per-Residue Embeddings ] │ │ │ │ │ └──────────────────────┬───────────────┘ │ ▼ │ ┌───────────────────────┐ │ │ NVIDIA NIM DiffDock │ │ │ Diffusion Docking │ │ └───────────┬───────────┘ │ ▼ │ [ Poses & Binding Affinities ] │ │ └───────────────────┬──────────────────────┘ ▼ [ src/metrics.py & Reporter ] │ ┌───────────────────┼───────────────────┐ ▼ ▼ ▼ [ benchmark_summary.csv ] [ throughput_comparison.png ] [ latency_vs_length.png ] Protein Sequence Extraction & Verification: Validates canonical 20 IUPAC amino acid residues across targets ranging from 76 to 850 residues. Small-Molecule Ligand Sanitization: Uses RDKit to parse chemical graphs, verify explicit valencies, generate canonical isomeric SMILES, and extract key physicochemical properties (MW, LogP, HBD, HBA, TPSA). NVIDIA NIM ESM-2 Embeddings: Connects to NVIDIA NIM REST microservices (integrate.api.nvidia.com) with exponential backoff, rate-limit retry logic (HTTP 429), and granular latency breakdown (network overhead vs. server inference). Local CPU Unaccelerated Baseline: Loads Hugging Face's facebook/esm2_t6_8M_UR50D on single-socket host CPU to measure time-per-residue ($ms/\text{residue}$) and token throughput ($\text{tokens}/\text{sec}$). NVIDIA NIM DiffDock Molecular Docking: Submits verified target sequences and sanitized SMILES to predict 3D binding poses, root-mean-square deviation (RMSD), and binding affinities ($\text{kcal}/\text{mol}$). Metrics, Profiling & Visualization: Generates statistical distribution metrics (mean, median, p95), structured CSV exports, and 300 DPI publication-quality Seaborn charts. HPC Theory: Why NIM & TensorRT-LLM Scale Non-Linearly Large protein language models (pLMs) such as ESM-2 (650M) and SE(3)-equivariant generative diffusion models like DiffDock experience computational bottlenecks when executed on standard host CPUs:
Self-attention in transformer architectures scales quadratically with sequence length: $$\mathcal{O}(L^2 \cdot d)$$ On standard CPU architectures, memory bandwidth (DRAM to L3/L2 cache) limits attention calculation because intermediate attention matrices $A \in \mathbb{R}^{L \times L}$ must be repeatedly written to and read from host RAM.
NVIDIA NIM microservices package TensorRT-LLM with FlashAttention-2 kernels, tiling the query, key, and value matrices directly within GPU High-Bandwidth Memory (HBM) and on-chip Shared Memory (SRAM). This reduces memory traffic from $\mathcal{O}(L^2)$ memory trips down to $\mathcal{O}(L)$, sustaining high compute saturation even on extended 800+ residue proteins (e.g., SARS-CoV-2 RdRp).
Host CPUs running unquantized FP32 pipelines require multiple clock cycles per multiply-accumulate (MAC) operation. NVIDIA Hopper (H100) and Ada Lovelace architectures leverage 4th-Gen Tensor Cores and the NVIDIA Transformer Engine to dynamically cast matrix multiplications to FP8/FP16 without loss of biological embedding fidelity, delivering orders-of-magnitude higher floating-point throughput.
Molecular docking via DiffDock relies on reverse diffusion stochastic differential equations (SDEs) over the continuous group $SE(3) \times SO(3)^m$. Calculating translational, rotational, and torsional score updates involves extensive graph neural network message-passing across residue and atom nodes. While CPU implementations struggle with sequential pointer chasing and cache misses, NVIDIA NIM parallelizes node interaction kernels across thousands of streaming multiprocessors (SMs), yielding sub-second pose predictions.
. ├── .env.example # Template configuration for NVIDIA NIM API credentials ├── .gitignore # Git ignore rules for virtualenvs, caches, and artifacts ├── README.md # Technical documentation and executive benchmark report ├── docs/ │ ├── BENCHMARK_REPORT.md # Empirical benchmark report, scaling analysis & visual embeds │ └── NVIDIA_DEVREL_SUBMISSIONS.md # Ready-to-copy submission copy for Forums, LinkedIn & Champions ├── requirements.txt # Pinned dependency requirements ├── run_benchmark.py # CLI entry point supporting both live and CI/CD mock execution ├── data/ │ ├── pdbs/ # Experimental PDB coordinates for sample targets │ └── sample_complexes.json # 5 diverse protein-ligand targets (76 - 932 aa + FDA drugs) ├── src/ │ ├── __init__.py # Source package root │ ├── client.py # Robust NIM REST client (backoff, 429 retries, timers) │ ├── baseline.py # Local PyTorch CPU runner (facebook/esm2_t6_8M_UR50D) │ ├── pipeline.py # Orchestrator integrating RDKit, ESM-2, and DiffDock │ └── metrics.py # Statistical aggregations and publication-grade Seaborn plots ├── tests/ │ ├── __init__.py # Test package root │ └── test_pipeline.py # Comprehensive pytest suite (RDKit, NIM mock, tensor shapes) └── results/ ├── .gitkeep # Git tracking placeholder ├── benchmark_summary.csv # Consolidated tabular benchmark metrics ├── throughput_comparison.png # Publication-grade throughput comparison bar plot └── latency_vs_length.png # Publication-grade latency scaling curve Quickstart Guide 1. Installation Clone the repository and initialize the Python 3.12+ virtual environment:
# Using uv (recommended for ultra-fast wheel resolution) uv venv --python 3.12 .venv .venv\Scripts\activate # On Windows # source .venv/bin/activate # On Linux / macOS uv pip install -r requirements.txt Alternatively, with standard venv and pip:
python -m venv .venv source .venv/bin/activate # On Linux / macOS (.venv\Scripts\activate on Windows) pip install -r requirements.txt 2. Environment Configuration Copy the .env.example file and configure your NVIDIA API key:
NVIDIA_API_KEY=nvapi-your-nvidia-api-key-here (Obtain your free API credits and key from NVIDIA build.nvidia.com).
To run the interactive Autonomous AI Drug Discovery Studio locally:
python serve_cockpit.py Open http://localhost:8000 in any browser. You can click 🧭 10-Step Interactive Guide to explore the entire architecture, run live micro-benchmarks, fold sequences with ESMFold, design leads, stress-test resistance mutations, compile Opentrons OT-2 robotics code, and download FDA IND briefing dossiers.
If you do not have an active API key or are running in an automated CI/CD pipeline, the benchmark suite automatically simulates realistic NVIDIA NIM response envelopes:
python run_benchmark.py --mock --save-plots This will run all 5 sample complexes, display the console summary table, export results/benchmark_summary.csv, and render the high-resolution charts in results/.
With an active NVIDIA_API_KEY set in your .env or passed via CLI:
python run_benchmark.py --api-key nvapi-xxxxxx --save-plots --iterations 3 Test Suite Execution Run the complete test suite to verify SMILES sanitization, mock client envelopes, tensor dimension validation, and end-to-end integration:
pytest -v All tests execute in isolated environments with comprehensive coverage of valid and malformed chemical structures.
The benchmark was evaluated across 5 representative protein targets spanning small peptides, kinase domains, and large viral replication machinery:
The generated artifacts are rendered at 300 DPI and stored in results/:
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). See the LICENSE file for complete terms.
The marks "JORWAL", "Jorwal", "jorwal", "Jorwalzzz", "JORWAL™ NIM SWARM OS", "JORWAL TECH™", "JORWAL AI™", and associated wordmarks, logos, and visual trade dress are exclusive proprietary common-law trademarks of Jorwal (Jorwalzzz) (github.com/Jorwalzzz).
All trademark, trade name, and brand identity rights are strictly and worldwide reserved across all capitalizations and variations for the entire technology, computing, artificial intelligence, software, and cloud industry. Re-distribution of software under AGPLv3 explicitly does not grant or transfer any rights to the trademarks, trade names, or brand identity of Jorwal.
For full legal terms, international classifications (Classes 9, 35, 42, 44), and priority claims, see TRADEMARK.md.
jorwal jorwalzzz nvidia bionemo nim diffdock esmfold molmim drug-discovery biophysics cheminformatics
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.




