Skip to content

Autodiff-native, self-documenting software components for Simulation Intelligence. 📦

License

Notifications You must be signed in to change notification settings

pasteurlabs/tesseract-core

Repository files navigation

Tesseract Core

Autodiff-native, self-documenting software components for Simulation Intelligence. 📦

Read the docs | Report an issue | Talk to the community | Contribute


Tesseract Core bundles:

  1. Tools to define, create, and run Tesseracts, via the tesseract CLI and tesseract_core Python API.
  2. The Tesseract Runtime, a lightweight, high-performance execution environment for Tesseracts.

What is a Tesseract?

Tesseracts are components that expose experimental, research-grade software to the world. They are self-contained, self-documenting, and self-executing, via command line and HTTP. They are designed to be easy to create, easy to use, and easy to share, including in a production environment. This repository contains all you need to define your own and execute them.

Tesseracts provide built-in support for differentiable programming by propagating gradient information at the level of individual components, making it easy to build complex, diverse software pipelines that can be optimized end-to-end.

Quick start

Note

Before proceeding, make sure you have a working installation of Docker and a modern Python installation (Python 3.10+).

  1. Install Tesseract Core:

    $ pip install tesseract-core
  2. Build an example Tesseract:

    $ tesseract build examples/vectoradd --tag 0.1.0
  3. Display its API documentation:

    $ tesseract apidoc vectoradd:0.1.0

  1. Run the Tesseract:

    $ tesseract run vectoradd:0.1.0 apply '{"inputs": {"a": [1], "b": [2]}}'
    {"result":{"object_type":"array","shape":[1],"dtype":"float64","data":{"buffer":[3.0],"encoding":"json"}}}⏎

Tip

Now you're ready to dive into the documentation for more information on installation, creating Tesseracts, and invoking them.

License

Tesseract Core is licensed under the Apache License 2.0 and is free to use, modify, and distribute (under the terms of the license).

Tesseract is a registered trademark of Pasteur Labs, Inc. and may not be used without permission.