Xilinx / finn

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

Unrecognized shell_flow_type: None #1089

Closed Ba1tu3han closed 1 month ago

Ba1tu3han commented 1 month ago

Prerequisites

Please make sure to check off these prerequisites before submitting a bug report.

Quick summary

I encountered an _Unrecognized shell_flowtype: None error in the _step_out_of_contextsynthesis [18/21] with a custom folding configuration.

Steps to Reproduce

Export ONNX by Brevitas import it to FINN by following the advance notebooks Create custom folding configuration file depending on the notebook Changes building steps depending on the notebook run it

  1. Clone the FINN repository
  2. Checkout the dev branch, with commit hash: [v0.10-62-g6191c427]
  3. Start the docker container with the command: [bash ./run-docker.sh notebook ]
  4. Run transformation [...] on ONNX file [...] or run the dataflow builder with the following settings: [...]
  5. [Further steps ...]

Expected behavior

Building all steps

image

Ba1tu3han commented 1 month ago

It is solved by adding shell_flow_type = build_cfg.ShellFlowType.VIVADO_ZYNQ,