-
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.
Merge pull request #3 from uhh-cms/aot_support
Add AOT support
- Loading branch information
Showing
122 changed files
with
21,479 additions
and
533 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[flake8] | ||
|
||
# line length of 100 is recommended, but set it to a forgiving value | ||
# line length | ||
max-line-length = 120 | ||
|
||
# codes of errors to ignore | ||
ignore = E128, E306, E402, E722, E731, W504 | ||
ignore = E128, E306, E402, E702, E722, E731, W504 | ||
|
||
# enforce double quotes | ||
inline-quotes = double |
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 was deleted.
Oops, something went wrong.
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,48 @@ | ||
name: Lint and test | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout ⬇️ | ||
uses: actions/checkout@v3 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Setup python 🐍 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Install dependencies ☕️ | ||
run: | | ||
pip install -U pip setuptools wheel | ||
pip install -r sandboxes/dev.txt | ||
- name: Lint 🔍 | ||
run: flake8 mlprof | ||
|
||
typecheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout ⬇️ | ||
uses: actions/checkout@v3 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Setup python 🐍 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Install dependencies ☕️ | ||
run: | | ||
pip install -U pip setuptools wheel | ||
pip install -r sandboxes/dev.txt | ||
- name: Typecheck 🥊 | ||
run: mypy mlprof |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<library name="MLProfRuntimeMeasurementTFAOTInference" file="TFAOTInference.cc"> | ||
<use name="FWCore/Framework"/> | ||
<use name="FWCore/PluginManager"/> | ||
<use name="FWCore/ParameterSet"/> | ||
|
||
<use name="PhysicsTools/TensorFlowAOT"/> | ||
<use name="MLProf/Utils"/> | ||
|
||
<use name="tfaot-model-mlprof-test"/> | ||
|
||
<flags EDM_PLUGIN="1"/> | ||
</library> |
Oops, something went wrong.