Skip to content

Commit 2ed46d7

Browse files
authored
Merge pull request #98 from fastmachinelearning/Fixesv110
Update hls4ml version to 1.1.0 + Fixes to make part 4.1 work
2 parents b72fa7c + d2da598 commit 2ed46d7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

environment.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ dependencies:
1616
- widgetsnbextension==3.6.0
1717
- pip==23.0.1
1818
- pip:
19-
- hls4ml[profiling,optimization,sr,HGQ]==1.0.0
19+
- hls4ml[profiling,optimization,sr,HGQ]==1.1.0
2020
- conifer==1.5
2121
- pysr==0.16.3
2222
- xgboost==1.7.5
23+
- zstd

part4.1_HG_quantization.ipynb

+3-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,9 @@
307307
"import hls4ml\n",
308308
"import plotting\n",
309309
"\n",
310-
"hls_model = hls4ml.converters.convert_from_keras_model(proxy, output_dir='model_3.1/hls4ml_prj', part='xcu250-figd2104-2L-e')\n",
310+
"hls_model = hls4ml.converters.convert_from_keras_model(\n",
311+
" proxy, output_dir='model_3.1/hls4ml_prj', part='xcu250-figd2104-2L-e', backend='Vitis'\n",
312+
")\n",
311313
"hls_model.compile()\n",
312314
"\n",
313315
"X_test = np.ascontiguousarray(X_test)\n",

0 commit comments

Comments
 (0)