Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.13 KB

File metadata and controls

51 lines (30 loc) · 1.13 KB

Install

There are 2 ways to install GraphVite.

Install from conda

You can install GraphVite from conda with only one line.

conda install -c milagraph graphvite

By default, this will install all dependencies, including PyTorch and matplotlib. If you only need embedding training without evaluation, you can take the following alternative with minimum dependencies.

conda install -c milagraph graphvite-mini

Install from source

First, clone GraphVite from GitHub.

git clone https://github.com/DeepGraphLearning/graphvite
cd graphvite

Install compilation and runtime dependencies via conda.

conda install -y --file conda/requirements.txt

Compile the code using the following directives. If you have faiss installed from source, you can pass -DFAISS_PATH=/path/to/faiss to cmake.

mkdir build
cd build && cmake .. && make && cd -

Finally, install Python bindings.

cd python && python setup.py install && cd -