forked from fastmachinelearning/hls4ml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lazy converter imports and migrate to pyproject.toml (fastmachinelear…
…ning#1094) * import converter dependencies lazily * make tf and qkeras optionl, stop assuming keras is tf.keras * less mandatory dependency * fix dsp_aware_pruning test import path * fix broken setup.cfg after rebase, rm pyparsing * purge qkeras workaround * switch to pyproject.toml switch to pyproject.toml include pyproject.toml after install * format * rm useless flake8 config in pyprject.toml * Add hint on import failure * leftover * rm setup.py from manifest * manifest fix 2 * move contrib * bump HGQ req. ver * incl. all in hls4ml/contrib in sdist * remove excess @requires, update hgq dep flag * style fix * use dynamic version * Use the cli as a python module instead of hardcoded path * It's called "quartus" not "quantus" * It's called "quartus" not "quantus" part2 * Forgot to commit the __main__ of cli * Import numerical instead of using a full name --------- Co-authored-by: Vladimir Loncar <[email protected]> Co-authored-by: Jan-Frederik Schulte <[email protected]>
- Loading branch information
1 parent
1ad1ad9
commit 9857da1
Showing
38 changed files
with
285 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
include LICENSE README.md CONTRIBUTING.md CITATION.cff pyproject.toml setup.py setup.cfg .clang-format | ||
include LICENSE README.md CONTRIBUTING.md CITATION.cff pyproject.toml .clang-format | ||
graft example-models | ||
graft test | ||
graft contrib | ||
recursive-include hls4ml/templates * | ||
global-exclude .git .gitmodules .gitlab-ci.yml | ||
recursive-include hls4ml *.py | ||
recursive-include hls4ml/contrib * | ||
global-exclude .git .gitmodules .gitlab-ci.yml *.pyc | ||
include hls4ml/backends/vivado_accelerator/supported_boards.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from . import main | ||
|
||
main() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
from hls4ml.model.graph import HLSConfig, ModelGraph # noqa: F401 | ||
|
||
try: | ||
from hls4ml.model import profiling # noqa: F401 | ||
|
||
__profiling_enabled__ = True | ||
except ImportError: | ||
__profiling_enabled__ = False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.