diff --git a/README.md b/README.md index 10355beb..db541d48 100644 --- a/README.md +++ b/README.md @@ -143,11 +143,14 @@ Both `docker` and `pip install` options above are wrappers around the `cmake bui #### Building ```bash +# Setup deps +conda install -c conda-forge libpython-static + # checkout repo -git checkout https://github.com/pytorch/multipy.git -git submodule sync && git submodule update --init --recursive +git clone https://github.com/pytorch/multipy.git cd multipy +git submodule sync && git submodule update --init --recursive # install python parts of `torch::deploy` in multipy/multipy/utils pip install -e . --install-option="--cmakeoff" @@ -157,6 +160,7 @@ cd multipy/runtime mkdir build cd build # use cmake -DABI_EQUALS_1=ON .. instead if you want ABI=1 +# if you built PyTorch from source, pass -DPYTORCH_ROOT=path/to/pytorch cmake .. cmake --build . --config Release ```