MoleculeDesk + Runpod: cloud GPU execution with local molecular results
MoleculeDesk can run Boltz-2 and ProteinMPNN on a Runpod GPU. The workflow uses your own Runpod account, prepares the model, runs prediction on a cloud GPU, and downloads verified results to your computer. ephemeral caching is supported; persistent caching is experimental. Other models are not enabled for cloud execution yet, and shutdown is best effort (see below).
The goal is to make a cloud run feel like a familiar MoleculeDesk run: choose an input, review the cost and location, approve execution, then open the structures and report locally.
Why model preparation matters for cloud GPU costs
Running a molecular AI model can involve more than inference. Checkpoint downloads, reference-data extraction and dependency installation also take time. If all preparation happens on a rented GPU, you pay for that GPU while those tasks finish.
MoleculeDesk's Runpod integration introduces two cache policies. They let you choose whether model assets disappear after a run or remain available for future runs.
| Cache policy | Where preparation happens | What remains afterward | Tradeoff |
|---|---|---|---|
ephemeral — temporary model assets (supported) | GPU Pod prepares assets and runtime | Downloaded local results; no persistent model volume | Simple cleanup, but model assets must be prepared again next time |
persistent — reusable model assets (experimental) | CPU Pod prepares missing assets; GPU Pod installs its runtime and predicts | Local results plus model assets on a retained network volume | Reuses prepared assets, but storage continues to incur charges |
Both policies are designed to terminate GPU Pods after each run. Persistent caching retains model data, not a running GPU or a portable Python environment. GPU runtime setup is still required.
Persistent caching may reduce repeated preparation work. It does not guarantee a lower bill for every workload, especially for a single run. In live tests with Boltz on standard network volumes, the first persistent run was much slower than an ephemeral run (about 43 minutes against about 4 minutes), because the CPU Pod prepared the assets slowly. That is why it is marked experimental. Actual costs depend on preparation time, hardware, transfer time and storage retention.
What does a Runpod run look like?
Onboarding starts with connecting your Runpod account. MoleculeDesk saves the API key in the operating system's credential store. Runpod bills your account directly.
Next, you choose temporary or reusable model assets. Before execution, MoleculeDesk presents the uploaded input, selected datacenter and GPU, lifetime limit, estimated compute cost and budget exclusions. Retained storage charges are disclosed separately; unavailable rates are shown as unknown.
After approval, the run progresses through provisioning, asset preparation, runtime installation, prediction, result verification and Pod cleanup. Returned structures can be opened through MoleculeDesk's existing local visualization workflow.
From the CLI:
moldesk cloud connect runpod
moldesk run boltz complex.yaml --compute runpod \
--cache-policy ephemeral --max-budget 2 --max-lifetime 3600
moldesk run boltz complex.yaml --compute runpod \
--cache-policy persistent --max-budget 2 --max-lifetime 3600
moldesk run proteinmpnn structure.pdb --compute runpod \
--cache-policy ephemeral --max-budget 2 --max-lifetime 3600Add --dry-run to print the quote without uploading or provisioning anything. Without a terminal, approve with --yes --accept-lifetime-risk.
The example budget is a user-selected limit for covered cost estimates, not a quoted Runpod price or a guaranteed spending cap. Desktop onboarding is a future integration; MoleculeDesk's desktop application is still planned.
What stays on your computer?
The cloud workflow is designed to preserve input snapshots, parameters, model provenance, verified outputs and received logs in the local run directory. Scientific outputs are checked by file size and SHA-256 before acceptance. Local reports use the existing MoleculeDesk adapters and visualizer.
Cloud execution still uploads approved inputs to the selected datacenter. Local result storage does not mean inference happens locally. If a job file references other files on your computer (for example a protein structure), the quote lists each one with its path and checksum, and you must acknowledge that upload separately (--accept-file-upload without a terminal) before anything is copied. Worker logs currently use a bounded remote tail, so complete log retention is not guaranteed for very chatty jobs.
What happens if MoleculeDesk disconnects?
Stopping a worker process is insufficient. Provider spikes found that a Runpod Pod could remain running and billable after its container command exited.
MoleculeDesk uses a client-side deadline while running and connected, automatic cleanup, an in-Pod watchdog where supported, and restart recovery. These are best-effort protections; automatic shutdown is not guaranteed. Before approving each run, you must acknowledge this warning:
If MoleculeDesk closes or loses connection, your Runpod Pod may keep running and charging. Automatic shutdown is not guaranteed. Check your Runpod dashboard and terminate any remaining Pod.
Ordinary cleanup terminates ephemeral Pods. Deleting a retained model cache is a separate action requiring confirmation. A one-run compute budget does not cover indefinite storage retention or every provider fee.
Is MoleculeDesk Runpod execution available now?
Yes, for Boltz-2 and ProteinMPNN. ephemeral caching is supported. persistent caching ran live (cold and warm) but is experimental because it was slower than ephemeral.
What was checked on real Runpod compute: a Boltz run on an RTX 3090, ProteinMPNN runs on an A40 and an RTX A5000, a persistent cold and warm run, and the in-Pod watchdog (with the client killed mid-run, the orphaned Pod terminated itself at its deadline).
Known limits:
- Automatic shutdown is not guaranteed; the watchdog does not help if a container never boots.
- Runpod's proxy sometimes returns a transient error right after a Pod becomes healthy. The run then fails cleanly, resources are cleaned up, and running it again works. Automatic retries are not built yet.
- ProteinMPNN runs only on Ampere, Ada and Hopper NVIDIA GPUs (its pinned PyTorch has no kernels for newer ones). Other models do not restrict GPUs yet.
- GPU memory and disk sizes come from short runs; very large inputs may need more.
- Runpod does not publish disk or volume rates, so those costs are shown as unknown.
Common questions
Do I need my own Runpod account?
Yes. The integration is designed around your own Runpod account and API key. MoleculeDesk does not act as a billing intermediary.
Does persistent caching keep the GPU running?
No. It retains prepared model assets on a network volume. GPU Pods are intended to be terminated after each run; the retained volume remains billable until deleted.
Can I run Boltz or ProteinMPNN from a computer without a local NVIDIA GPU?
Yes. Prediction runs in the remote Linux/CUDA environment, while verified results return to your computer.
Will every MoleculeDesk model support Runpod immediately?
No. Cloud support requires a validated model profile. Boltz-2, ProteinMPNN, DiffDock-L and OpenDDE are enabled today. LigandMPNN and BindCraft2 are not yet. DiffDock-L uploads its protein file and BindCraft2 needs extra input files uploaded too; MoleculeDesk does that behind an explicit acknowledgment, and BindCraft2 has not been run on Runpod yet. LigandMPNN's live run failed on its weights host.
Where can I follow implementation details?
See the cloud execution documentation, implementation plan and provider spike findings. These describe the current implementation, remaining gates and evidence behind the design.