Build from source¶
If you want to contribute to Hidet, or you encountered any problem directly installing hidet via pip, it is better to install hidet from source.
Clone the code¶
First clone the repository to local:
$ git clone https://github.com/hidet-org/hidet
Install the Hidet Python package¶
Next we will install the Python package of Hidet in the develop mode via pip:
$ cd .. # return to the root directory of Hidet
$ pip install -e .
To make sure we have successfully installed hidet, run the following command in a new shell:
$ python -c "import hidet"
If no error reports, then hidet has been successfully installed on your computer.