Installation

You can install kiez via pip:

pip install kiez

If you have a GPU you can make kiez faster by installing faiss (if you do not already have it in your environment):

conda env create -n kiez-faiss python=3.10
conda activate kiez-faiss
conda install -c pytorch -c nvidia faiss-gpu=1.7.4 mkl=2021 blas=1.0=mkl
pip install kiez

For more information see their installation instructions.

You can also get other specific libraries with e.g.:

pip install kiez[nmslib]

Other options to get specific libraries are nmslib,``annoy``, ngt. However faiss is the recommended library, which provides the most accurate and fastest results.

To build kiez from source use poetry

git clone git@github.com:dobraczka/kiez.git
cd kiez
poetry install