Autodiff-native, self-documenting software components for Simulation Intelligence. 📦
Read the docs | Report an issue | Talk to the community | Contribute
Tesseract Core bundles:
- Tools to define, create, and run Tesseracts, via the
tesseract
CLI andtesseract_core
Python API. - The Tesseract Runtime, a lightweight, high-performance execution environment for Tesseracts.
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.
Note
Before proceeding, make sure you have a working installation of Docker and a modern Python installation (Python 3.10+).
-
Install Tesseract Core:
$ pip install tesseract-core
-
Build an example Tesseract:
$ tesseract build examples/vectoradd --tag 0.1.0
-
Display its API documentation:
$ tesseract apidoc vectoradd:0.1.0
-
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.
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.