Commit d31f58b3 by Yaman Umuroglu Committed by Tianqi Chen

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

parent e2faf792
...@@ -50,11 +50,16 @@ cd ~/vta ...@@ -50,11 +50,16 @@ cd ~/vta
make -j2 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. 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 ```bash
ssh xilinx@192.168.2.99 # ssh if you haven't done so ssh xilinx@192.168.2.99 # ssh if you haven't done so
cd ~/vta 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: You should see the following being displayed when starting the RPC server:
......
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