cycle-free graph violated: partition depends on itself #381
Unanswered
mahditaheri
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi Mahdi, when you see this error during the dataflow partitioning stage, it's usually because there are some "leftover layers" that the FINN compiler wasn't able to convert to HLS, interspersed with the HLS layers. The
You can take a look at the model prior to dataflow partitioning using Netron and see if you can spot the problem. If you find out which layers haven't been converted to HLS, we can have a look and see if you can convert those layers as well by calling more graph transformations. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am trying to implement a Lenet-5 quantized network by using the dev branch of FINN based on the cnv_end2end_example.ipynb tutorial. As soon as I try to do the partitioning by CreateDataflowPartition transformation to create a "dataflow partition" in this graph, I got the following AssertionError:
Could you please help me or introduce any hands-on tutorial that gives me better insight to fix the problem?
Bests,
Beta Was this translation helpful? Give feedback.
All reactions