Ersilia Book
  • 🤗Welcome to Ersilia!
    • The Ersilia Open Source Initiative
    • Ten principles
    • Ersilia's ecosystem
  • 🚀Ersilia Model Hub
    • Getting started
    • Online inference
    • Local inference
    • Model contribution
      • Model template
      • Model incorporation workflow
      • Troubleshooting models
      • BioModels annotation
    • For developers
      • Command line interface
      • CI/CD workflows
      • Test command
      • Testing playground
      • Model packaging
      • Inputs
      • Codebase quality and consistency
      • Results caching
  • 💊Chemistry tools
    • Automated activity prediction models
      • Light-weight AutoML with LazyQSAR
      • Accurate AutoML with ZairaChem
      • Model distillation with Olinda
    • Sampling the chemical space
    • Encryption of AI/ML models
  • AMR chemical collections
  • 🙌Contributors
    • Communication channels
    • Tech stack
    • Internships
      • Outreachy Summer 2025
      • Outreachy Winter 2024
      • Outreachy Summer 2024
      • Outreachy Winter 2023
      • Outreachy Summer 2023
      • Outreachy Winter 2022
      • Outreachy Summer 2022
  • 📑Training materials
    • AI2050 intro workshop
    • AI2050 AI for Drug Discovery
    • Introduction to ML for Drug Discovery
    • Python 101
    • External resources
  • 🎨Styles
    • Brand guidelines
    • Slide and document templates
    • Scientific figures with Stylia
    • Coding style
  • 🌍About Us
    • Where to find us?
    • Diversity and inclusion statement
    • Code of conduct
    • Open standards and best practices
    • Ersilia privacy notice
    • Strategic Plan 2025-2027
    • Ersilia, the Invisible City
Powered by GitBook

2025, Ersilia Open Source Initiative

On this page

Was this helpful?

  1. Ersilia Model Hub
  2. For developers

Model packaging

High-level information about the packaging of models using Ersilia Pack

PreviousTesting playgroundNextInputs

Last updated 22 days ago

Was this helpful?

To package models in Ersilia, there are two essential components, namely the , and the tool. Ersilia Pack creates a FastAPI app based on the information available in a given model repository, based on the template.

Ersilia Pack is a lightweight, plug-and-play framework to serve AI models from the via an API.

It allows developers to:

  • Package models with their dependencies

  • Run them as web services

  • Submit data and retrieve predictions

  • Monitor jobs and system performance

  • Access detailed model metadata

on Ersilia Pack is available in the corresponding GitHub repository. Here, we simply provide a high-level overview of the tool.

Typical Workflow

  1. Lint a model repository to check it has the correct structure

  2. Package the model into a self-contained bundle

  3. Serve the model via API locally or in the cloud

  4. Interact with the model through documented endpoints

🚀
Ersilia model template
Ersilia Pack
Ersilia Model Hub
Detailed documentation