hls4ml-tutorial
hls4ml-tutorial copied to clipboard
HLS model will not compile
Hello,
When I am attempting to run the Jupyter tutorial notebooks (using the provided environment), everything works up until the line hls_model.compile() where it produces the exception
Exception Traceback (most recent call last) Input In [13], in <cell line: 1>() ----> 1 hls_model.compile() 2 X_test = np.ascontiguousarray(X_test) 3 y_hls = hls_model.predict(X_test)
File ~\Anaconda3\envs\hls4ml-tutorial\lib\site-packages\hls4ml\model\hls_model.py:534, in HLSModel.compile(self) 532 ret_val = os.system('bash build_lib.sh') 533 if ret_val != 0: --> 534 raise Exception('Failed to compile project "{}"'.format(self.config.get_project_name())) 535 lib_name = 'firmware/{}-{}.so'.format(self.config.get_project_name(), self.config.get_config_value('Stamp')) 536 if self._top_function_lib is not None:
Exception: Failed to compile project "myproject"
Would you happen to know whether this can be rectified? Thanks
which os are you using ? is it windows ? Have you found a workaround or a solution ?