Xilinx / finn

Dataflow compiler for QNN inference on FPGAs
https://xilinx.github.io/finn
BSD 3-Clause "New" or "Revised" License
708 stars 225 forks source link

Running issues with./run docker. sh quicktest in win11, wsl2, ubuntu 22.04 #815

Closed dongyanchu closed 1 year ago

dongyanchu commented 1 year ago

Quick summary

When I was installing according to the tutorial on FINN's official website (https://finn.readthedocs.io/en/latest/getting_started.html), I encountered the following problem:

Details

./run-docker.sh Please set PLATFORM_REPO_PATHS pointing to Vitis platform files (DSAs). This is required to be able to use Alveo PCIe cards. fatal: not a git repository (or any of the parent directories): .git WARNING: No blkio throttle.read_bps_device support WARNING: No blkio throttle.write_bps_device support WARNING: No blkio throttle.read_iops_device support WARNING: No blkio throttle.write_iops_device support Running container only Docker container is named finn_dev_legion Docker tag is named xilinx/finn : .xrt_202210.2.13.466_18.04-amd64-xrt Mounting /tmp/finn_dev_legion into /tmp/finn_dev_legion Mounting /opt/xilinx into /opt/xilinx Port-forwarding for Jupyter 8888:8888 Port-forwarding for Netron 8081:8081 Vivado IP cache dir is at /tmp/finn_dev_legion/vivado_ip_cache Using default PYNQ board Pynq-Z1 Successfully checked out qonnx at commit dd35a8ff49d7225a07ffceeebe25a6361df48349 Successfully checked out finn-experimental at commit 9cbd2787b5160e2b44e0e8164a0df1457dbd5366 Successfully checked out brevitas at commit a5b71d6de1389d3e7db898fef72e014842670f03 Successfully checked out pyverilator at commit 766e457465f5c0dd315490d7b9cc5d74f9a76f4f Successfully checked out cnpy at commit 4e8810b1a8637695171ed346ce68f6984e585ef4 Successfully checked out finn-hlslib at commit d27f6b6c5d8f1bb208db395659389603f63ad4be Successfully checked out oh-my-xilinx at commit d1065a788219ca0eb54d5e57600b1f9d7f67d4cc Successfully checked out avnet-bdf at commit 2d49cfc25766f07792c0b314489f21fe916b639b Successfully checked out xil-bdf at commit 8cf4bb674a919ac34e3d99d8d71a9e60af93d14e Successfully checked out kv260-som-bdf at commit 98e0d3efc901f0b974006bc4370c2a7ad8856c79 Board files folder content mismatch, removing and re-downloading Downloading and extracting board files... unzip: cannot find or open pynq-z1.zip, pynq-z1.zip.zip or pynq-z1.zip.ZIP. ERROR: "docker buildx build" requires exactly 1 argument. See 'docker buildx build --help'.

Usage: docker buildx build [OPTIONS] PATH | URL | -

Start a build Unable to find image 'xilinx/finn:latest' locally docker: Error response from daemon: pull access denied for xilinx/finn, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. See 'docker run --help'.

I made the following attempts:

  1. I successfully logged in to the docker through the "sudo docker login" method, but it still doesn't work.
  2. I tried downloading other Docker images and they were all fine, which ensured that my Docker was correct.