Closed vandenBergArthur closed 1 year ago
Compilation relies on using the host's g++
compiler. Maybe your conda environment has something extra? I tried creating a new empty environment based on python 3.8 and just installed hls4ml from main there, it pulled it's dependencies and it works. So the issue must be someplace else.
@vandenBergArthur if you post a script that can reproduce your issue (e.g. compiling a simple model), we can try to help resolve it, but otherwise we don't know how to help.
Compilation relies on using the host's
g++
compiler. Maybe your conda environment has something extra? I tried creating a new empty environment based on python 3.8 and just installed hls4ml from main there, it pulled it's dependencies and it works. So the issue must be someplace else.
I don't know what changed, but I tried this again and now it works after I manually added pydot & graphviz. Thanks!
Hi all,
For the past couple of months, I've been working with hls4ml using the conda environment that is created for the tutorial (so the environment.yml file). Everything was fine until yesterday, when I finally noticed that the hls4ml version from pip is very outdated, so I uninstalled hls4ml with
pip uninstall hls4ml
and I installed the main branch like this:pip install git+https://github.com/fastmachinelearning/hls4ml@main
.But now my code no longer works:
I have tried the following things to solve the problem:
conda env remove --name hls4ml-tutorial
conda env create -f environment.yml
. The environment.yml file is downloaded from here.Any help would be very appreciated because at this moment, I am stuck and I don't know what to do anymore...
Ps: