"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "917bd6108458990b554a8ff8f6535a861fd37f0e"
Commit e60840dd authored by rusty1s's avatar rusty1s
Browse files

update readme [ci skip]

parent 3b7b748a
...@@ -149,12 +149,13 @@ pytest ...@@ -149,12 +149,13 @@ pytest
## C++ API ## C++ API
`torch-scatter` also offers a C++ API that contains C++ equivalent of python models. `torch-scatter` also offers a C++ API that contains C++ equivalent of python models.
For this, we need to add `TorchLib` to the `-DCMAKE_PREFIX_PATH` (*e.g.*, it may exists in `{CONDA}/lib/python{X.X}/site-packages/torch` if installed via `conda`):
``` ```
mkdir build mkdir build
cd build cd build
# Add -DWITH_CUDA=on support for the CUDA if needed # Add -DWITH_CUDA=on support for CUDA support
cmake .. cmake -DCMAKE_PREFIX_PATH="..." ..
make make
make install make install
``` ```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment