To get the basic installation use:
- Install
git-lfs
on ubuntuapt install git-lfs
- checkout submodules:
git submodule update --init --recursive
poetry install -E automate -E dash -E micro
poetry shell
For the tvm installation there are the following installation options.
This installation installs tvm with microtvm support without llvm backend
./scripts/install_micro.sh
./scripts/install_zephyr.sh
source env
Zephyr installation is optional but is currently needed for host driven execution.
For an example using host driven execution and the micro tvm zephyr runtime on stm32f429i discovery boards
see samples/micro/zephyr_host_driven_stm32f429i.py
.
This installation option activates the pulp-llvm based backend for direct vectorization on xpulpv targets. For pulp targets no zephyr support is needed at the moment.
./scripts/install_micro_pulp.sh
The full installation uses the host provided llvm backend and activates cuda and llvm backends if available.
./scripts/install_full.sh
- Pythonpath not set when using automate runner on schrank boards
Add AcceptEnv LANG LC_* PYTHONPATH
to /etc/ssh/sshd_config
and restart server
Currently a basic result visualization is available via hannah-tvm-dashboard