Skip to content
Snippets Groups Projects
Commit d31f58b3 authored by Yaman Umuroglu's avatar Yaman Umuroglu Committed by Tianqi Chen
Browse files

VTA and TVM on PYTHONPATH, also pass to sudo (#42)

parent e2faf792
No related branches found
No related tags found
No related merge requests found
......@@ -50,11 +50,16 @@ cd ~/vta
make -j2
```
Add VTA and TVM to PYTHONPATH:
```
export PYTHONPATH=$PYTHONPATH:/home/xilinx/vta/python:/home/xilinx/vta/nnvm/tvm/python
```
The last stage will build the `vta/lib/libvta.so` library file. We are now ready to launch the RPC server on the Pynq. In order to enable the FPGA drivers, we need to run the RPC server with `sudo` privileges.
```bash
ssh xilinx@192.168.2.99 # ssh if you haven't done so
cd ~/vta
sudo ./apps/pynq_rpc/start_rpc_server.sh # pw is xilinx
sudo PYTHONPATH=$PYTHONPATH ./apps/pynq_rpc/start_rpc_server.sh # pw is xilinx
```
You should see the following being displayed when starting the RPC server:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment