IMPRESS¶
Integrated Machine-learning for PRotEin Structures at Scale
IMPRESS is an asynchronous framework for managing complex protein design pipelines with adaptive decision-making capabilities. It is built for deploying heterogeneous scientific workflows (mixed CPU/GPU and data sharing) in high-performance computing environments. Using a building-block approach to workflow design, IMPRESS enables high-throughput campaigns based on foundation models like ProteinMPNN, RFDiffusion3, and Boltz-2, or with custom models requiring runtime training and optimization.
Features¶
- Protein Design Pipelines: Example and custom workflows
- Adaptive Execution: Dynamic pipeline spawning
- HPC Optimized: High-performance async execution
- Flexible Architecture: Standard and user-defined pipelines
- Autonomous Campaigns: IMPRESS-A composes a new workflow each cycle
Quick Example¶
import asyncio
from concurrent.futures import ThreadPoolExecutor
from radical.asyncflow import LocalExecutionBackend, WorkflowEngine
from impress import ImpressBasePipeline, ImpressManager
class MyPipeline(ImpressBasePipeline):
def register_pipeline_tasks(self):
@self.auto_register_task()
async def analyze(*args, **kwargs):
return "echo 'Analyzing sequences'"
async def run(self):
await self.analyze()
async def run_dummy_pipelines():
backend = await LocalExecutionBackend(ThreadPoolExecutor())
flow = await WorkflowEngine.create(backend=backend)
manager = ImpressManager(flow)
try:
await manager.start(pipeline_setups=[{'name': 'p1', 'config': {},
'type': MyPipeline},
{'name': 'p2', 'config': {},
'type': MyPipeline},
{'name': 'p3', 'config': {},
'type': MyPipeline}])
finally:
await flow.shutdown()
asyncio.run(run_dummy_pipelines())
The caller owns the WorkflowEngine: create it from an execution backend,
hand it to ImpressManager, and shut it down when start() returns.
Learn More¶
- Run It In Colab — a real adaptive run you can execute in a browser tab, no allocation and no GPU: set a threshold, watch a pipeline spawn a child, then read the Gantt and the genealogy
- Architecture — how
ImpressManager,ImpressBasePipeline, andPipelineSetupfit together - Adaptive Execution — a worked walkthrough of adaptive child-pipeline spawning
- Examples — real HPC workflows: protein binding, discontinuous scaffolds, small molecule binding
- API Reference — full class and method documentation
- IMPRESS-A — a separate package (
impress_a) for autonomous campaigns: instead of running a fixed pipeline, it decides what experiment to run next and composes the workflow for it