You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please make sure to check off these prerequisites before submitting a bug report.
Test that the bug appears on the current version of the master branch. Make sure to include the commit hash of the commit you checked out. Tested on pip releases 0.8.0 and 0.8.1
Check that the issue hasn't already been reported, by checking the currently open issues.
If there are steps to reproduce the problem, make sure to write them down below.
If relevant, please include the hls4ml project files, which were created directly before and/or after the bug.
Quick summary
Since I added a LSTM/GRU layer after my CNN, it won't compile, reporting multiple overflow errors.
I am running hls4ml 0.8.1 on a Ubuntu 22.04 (with CUDA) Docker, Vivado is 2019.1. I have deleted Vivado's own ld executable and linked the system one to make it work with Ubuntu 22.04. The compilation works when I have just a CNN.
The first warning messages I get are:
In file included from firmware/myproject.cpp:4:
firmware/parameters.h:96:764: warning: integer constant is so large that it is unsigned
96 | const ap_uint<config2::filt_height * config2::filt_width> config2::pixels[] = [OMITTED]
And the error log terminates with:
/usr/bin/ld: cannot find myproject.o: No such file or directory
collect2: error: ld returned 1 exit status
A full log is available as attachment below.
Please let me know if I can provide more useful context and thank you, keep up the good work!
I am not very familiar with C++ or the inner workings of Tensorflow/hls4ml but there could be something wrong in the way the LSTM/GRU layer is generated in HLS.
Additional context
The text was updated successfully, but these errors were encountered:
Prerequisites
Please make sure to check off these prerequisites before submitting a bug report.
Quick summary
Since I added a LSTM/GRU layer after my CNN, it won't compile, reporting multiple overflow errors.
I am running hls4ml 0.8.1 on a Ubuntu 22.04 (with CUDA) Docker, Vivado is 2019.1. I have deleted Vivado's own ld executable and linked the system one to make it work with Ubuntu 22.04. The compilation works when I have just a CNN.
The first warning messages I get are:
And the error log terminates with:
A full log is available as attachment below.
Please let me know if I can provide more useful context and thank you, keep up the good work!
Details
Steps to Reproduce
This is my config code:
After I run it, I get the following error:
hls4ml_error.txt
Expected behavior
The model should compile.
Actual behavior
The model does not compile.
Optional
Possible fix
I am not very familiar with C++ or the inner workings of Tensorflow/hls4ml but there could be something wrong in the way the LSTM/GRU layer is generated in HLS.
Additional context
The text was updated successfully, but these errors were encountered: