Skip to content

Commit 92d109b

Browse files
maltanartqchen
authored andcommitted
VTA and TVM on PYTHONPATH, also pass to sudo (apache#42)
1 parent 87d8c98 commit 92d109b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

vta/apps/pynq_rpc/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,16 @@ cd ~/vta
5050
make -j2
5151
```
5252

53+
Add VTA and TVM to PYTHONPATH:
54+
```
55+
export PYTHONPATH=$PYTHONPATH:/home/xilinx/vta/python:/home/xilinx/vta/nnvm/tvm/python
56+
```
57+
5358
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.
5459
```bash
5560
ssh xilinx@192.168.2.99 # ssh if you haven't done so
5661
cd ~/vta
57-
sudo ./apps/pynq_rpc/start_rpc_server.sh # pw is xilinx
62+
sudo PYTHONPATH=$PYTHONPATH ./apps/pynq_rpc/start_rpc_server.sh # pw is xilinx
5863
```
5964

6065
You should see the following being displayed when starting the RPC server:

0 commit comments

Comments
 (0)