Skip to content

Add QKeras as a package dependency #511

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pipeline {
agent {
docker {
image 'vivado-el7:1'
image 'vivado-el7:2'
args '-v /data/Xilinx:/data/Xilinx'
}
}
Expand All @@ -14,9 +14,8 @@ pipeline {
steps {
dir(path: 'test') {
sh '''#!/bin/bash --login
conda activate hls4ml-py36
conda activate hls4ml-py37
pip install tensorflow
pip install git+git://github.com/google/[email protected]#egg=qkeras
pip install -U ../ --user
./convert-keras-models.sh -x -f keras-models.txt
pip uninstall hls4ml -y'''
Expand Down
3 changes: 3 additions & 0 deletions docs/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ http://www.h5py.org

https://pypi.python.org/pypi/PyYAML

**QKeras**\ : for working with quantized models

https://github.com/google/qkeras

**PyTorch**\ : for reading in Torch models

Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[metadata]
description-file = README.md

[options]
python_requires = >=3.7

[options.entry_points]
pytest_randomly.random_seeder =
hls4ml = hls4ml:reseed
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ def get_version(rel_path):
'h5py',
'onnx>=1.4.0',
'calmjs.parse',
'tabulate'
'tabulate',
'qkeras',
],
extras_require={
'profiling': [
Expand Down