Vollo Compiler
The Vollo compiler is made up of 2 Python libraries:
- The
vollo-torchPyTorch frontend to the compiler. - The
vollo-compilerbackend that can transform and compile a model to a Vollo program (.vollofile).
The Vollo Runtime section describes how to run a Vollo program on a Vollo accelerator. The Vollo compiler API also includes functionality to simulate and estimate performance of Vollo programs.
Installation
Set up Vollo environment variables by sourcing
setup.sh in bash.
Install the wheel files for the Vollo compiler libraries. It's recommended that you install these into a virtual environment.
Note: the packaged wheels only support python 3.7 or greater
python3 -m venv vollo-venv
source vollo-venv/bin/activate
pip install --upgrade pip
pip install "$VOLLO_SDK"/python/*.whl