Xilinx / finn-examples

Dataflow QNN inference accelerator examples on FPGAs
BSD 3-Clause "New" or "Revised" License
181 stars 59 forks source link

How to I run an example on U250 #3

Closed saitej25 closed 3 years ago

saitej25 commented 3 years ago

Hello, I've created an nimbix instance with U250 card and 2018_3 firmware. How can I run an sample ?

maltanar commented 3 years ago

Hi Sai, the instructions on the README should suffice. Summarizing for Alveo:

  1. Creating and activating a PYNQ virtual environment a la https://pynq.readthedocs.io/en/v2.6.1/getting_started/alveo_getting_started.html?highlight=alveo#install-conda
  2. Ensuring setuptools up to date python3 -m pip install --upgrade pip setuptools
  3. pip3 install finn-examples to install
  4. pynq get-notebooks --from-package finn-examples -p . to get the notebooks and run the notebooks with Jupyter

I've not had a chance to test on Nimbix instances, would be good to know if everything works smoothly.