Setup LorienΒΆ

Lorien is a Python package, so you can simply install it by running the following command.

python3 setup.py install

Note that Lorien installation does not include the dialect-specific packages such as TVM in TVM dialects, because every dialect is optional. When launching Lorien, it detects the system environment it is running and loads the supported dialects. In other words, if you want to use the TVM dialects in Lorien, for example, you have to manually install TVM before running Lorien. You can either build TVM from source, or install the nightly build by referring to this website:

pip3 install tlcpack-nightly-cu102 -f https://tlcpack.ai/wheels

If you prefer not to set up an environment on your host machine, you can also consider to run it inside docker with Lorien prebuilt docker images. See Docker Images for detail steps.