Skip to content

Infrastructure

High Performance Computing (HPC): Cebule HPC

With the Cebule Python SDK and agentic AI you can easily send tasks to the Cebule Engine to perform quantum chemistry calculations such as for Implicit Solvation (COSMO), Born-Oppenheimer Molecular Dynamics (BOMD), Path Integral Molecular Dynamics (PIMD) and other ab-initio models. Cebule also lets you interface with the MQS Graph Neural Network library and a generative adversarial network (GAN).

The Cebule Engine task manager accessible through the dashboard gives a good overview of all your tasks and if they have completed or if they are still running on the MQS High Performance Compute (HPC) Infrastructure. The infrastructure is currently running on Intel and ARM CPUs and NVIDIA GPUs and is easily scalable based on need and demand.

We try to run our self-hosted infrastructure as energy efficient and sustainable as possible to provide you with a painless experience to run quantum chemistry calculations without the need of thinking of how to compile a specific quantum chemistry package or how to even set up a high performance server. The Cebule SDK combined with AI agents makes it even easier to run sophisticated multi-scenario high-throughput screening scenarios.

Cebule Python SDK

The Cebule Python SDK Gitlab Repository provides documentation with example notebooks and Python scripts. The full documentation of the API endpoints is in the Cebule Engine Dashboard.

A session is opened with your Cebule credentials; every calculation is then a task created through it:

from dotenv import load_dotenv
import mqsdk
from mqsdk.core.cebule import TaskType
import os

load_dotenv()
session = mqsdk.Cebule(os.environ['EMAIL'], os.environ['PASSWORD'])

task = session.cebule.create_task("My task", TaskType.COSMO, ...)

The task types and their inputs are described on the pages of the respective methods, e.g. Implicit Solvation Models for COSMO and Statistical Thermodynamics for σ-profiles, activity coefficients and solubilities. Tasks can be chained with connected_task_id, so that a task takes its input (e.g. a geometry or a COSMO surface) from the result of a completed task.

AWS CloudFormation Template (CFT)

You can retrieve the whole Cebule platform on your own infrastructure, either on-premise or through cloud marketplace providers such as AWS. Please let us know which provider you would like to deploy Cebule to, we have deployed Cebule to all major cloud providers (AWS, Azure, Google Cloud, Hetzner) and you can also deploy Cebule on-premise or as a hybrid cloud setup.

The following diagram depicts the complete infrastructure setup you will get:

  • Cebule Dashboard: A convenient user interface (UI) and user experience (UX) for getting a quick overview of molecular data and your calculation pipelines.

  • Cebule Engine and API/SDK: High-throughput screening of molecules made simple with a convenient SDK to tackle quantum chemistry, quantum computing, machine learning and chemical engineering applications.

  • Cebule Database: Deploy the Cebule DB schema for storing your own data and external connect to multi-terrabyte large datasets hosted on MQS infrastructure. In this way you save storage space with read/request public open access data while keeping your own internal data secure.

  • Lab connect capabilities: Combine in-silico simulations with Bayesian design of experiments to set up closed-loop robot arm driven lab workflows.

  • JupyterHub and Kubeflow: Maintain your projects with JupyterHub and Kubeflow for reproducibility and maintainability.

  • Self-deployable multi-agent LLM system: Accelerate your research and engineering tasks with a safe and secure multi-agent LLM framework which you can modify and select yourself which LLM models you want to rely on.

S3 Compatible Object Storages

Come with your own object storage and connect it to Cebule to secure your data on your own provider of choice. The MQS platform allows you to connect your S3 compatible object storage of choice. This allows also a more refined authentication setup from an enterprise perspective if you have different team members you want to collaborate with and who have different user priviliges with respect to the different object storage buckets you are working together with.

  • Generate the access key / URL to your object storage bucket via the specific provider platform of your choice.

  • Add the object storage access key / URL in the Cebule Dashboard Stats & Settings page.

  • Test a calculation task via the Cebule SDK or the Cebule Engine Dashboard.

  • View the running tasks in the Cebule Engine Dashboard and access the S3 bucket URL to retrieve the results when the task has been completed.

Retrieving task results from the bucket

All task inputs and results are stored in the S3 bucket, one folder per task. They can be browsed on the cloud provider's S3 page (Figure 2) or downloaded directly. Each result is a separate object named after its result type, e.g. cosmo.json for a COSMO surface, sigma.json for σ-profiles, or esp_cube.cube and homo.svg for the cubes and figures of a COSMO task.

With Python and boto3 for an AWS S3 bucket:

import boto3

s3_client = boto3.client('s3',
                         aws_access_key_id='YOUR_ACCESS_KEY',
                         aws_secret_access_key='YOUR_SECRET_KEY')
response = s3_client.get_object(Bucket='YOUR_BUCKET_NAME',
                                Key='tasks/TASK_ID/cosmo.json')
object_content = response['Body'].read().decode('utf-8')
print(object_content)

Or with the AWS CLI, listing a task's results first:

aws s3 ls s3://YOUR_BUCKET_NAME/tasks/TASK_ID/
aws s3 cp s3://YOUR_BUCKET_NAME/tasks/TASK_ID/cosmo.json .

Results of older tasks may still carry the task name in the file name, TASK_NAME_cosmo.json (or TASK_ID_cosmo.json if the task had no name); listing the folder shows which form a task uses.

Figure 2: S3 bucket view of all task folders for a specific S3 bucket. The bucket name is defined by the user on the cloud provider platform of choice.

Git Version Control

The MQS Infrastructure also holds a git system to be able to collaborate on partnership projects or when MQS delivers tailored Python packages and containers to customers.

If you are interested to also have access to a git system under the Cebule Tier, then let us know and we can figure out what you exactly need.

Container Registry

Our self-hosted container registry allows us to deliver compiled container images for different processor architectures (CPUs: Intel, ARM, AMD; GPUs: Nvidia, AMD). With the CloudFormation Template (CFT) all these images can be run on your own infrastructure.

Please contact us if you have a special request with respect to the infrastructure and we will make it work: contact (at) mqs [dot] dk