Skip to content

Commit 7adfe5b

Browse files
authored
Merge branch 'main' into GRUv1
2 parents a9c3ba7 + 28f158d commit 7adfe5b

File tree

220 files changed

+23497
-759
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

220 files changed

+23497
-759
lines changed

.github/workflows/build-sphinx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
with:
1515
fetch-depth: 0
1616
ref: ${{ github.event.pull_request.head.sha }}

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616

1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
with:
2121
submodules: recursive
2222

2323
- name: Pre-commit
24-
uses: pre-commit/action@v3.0.0
24+
uses: pre-commit/action@v3.0.1
2525
with:
2626
extra_args: --hook-stage manual --all-files

.github/workflows/pypi-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout source
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
submodules: recursive
1818
fetch-depth: 0
1919

2020
- name: Build SDist and Wheel
2121
run: pipx run build --sdist --wheel
2222

23-
- uses: actions/upload-artifact@v3
23+
- uses: actions/upload-artifact@v4
2424
with:
2525
path: dist/*.*
2626

.github/workflows/test-sphinx.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
with:
1515
fetch-depth: 0
1616
ref: ${{ github.event.pull_request.head.sha }}
@@ -22,6 +22,6 @@ jobs:
2222
with:
2323
pre-build-command: "git config --system --add safe.directory '*'"
2424
docs-folder: "docs/"
25-
- uses: actions/upload-artifact@v3
25+
- uses: actions/upload-artifact@v4
2626
with:
2727
path: docs/_build/html

.github/workflows/update-branch-on-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout repo
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
if: ${{ github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name && github.event.label.name == 'please test' }}
1414
with:
1515
ref: ${{ github.event.pull_request.head.sha }}

.gitlab-ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ stages:
55

66
generator:
77
stage: generate
8-
image: python:3.7-alpine
8+
image: python:3.8-alpine
9+
variables:
10+
N_TESTS_PER_YAML: 5
911
tags:
10-
- docker
12+
- k8s-default
1113
before_script:
1214
- pip install pyyaml
1315
script:

.gitmodules

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
11
[submodule "example-models"]
22
path = example-models
33
url = https://github.com/hls-fpga-machine-learning/example-models.git
4+
[submodule "hls4ml/templates/catapult/ac_types"]
5+
path = hls4ml/templates/catapult/ac_types
6+
url = https://github.com/hlslibs/ac_types.git
7+
[submodule "hls4ml/templates/catapult/ac_simutils"]
8+
path = hls4ml/templates/catapult/ac_simutils
9+
url = https://github.com/hlslibs/ac_simutils.git
10+
[submodule "hls4ml/templates/catapult/ac_math"]
11+
path = hls4ml/templates/catapult/ac_math
12+
url = https://github.com/hlslibs/ac_math.git

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ exclude: (^hls4ml\/templates\/(vivado|quartus)\/(ap_types|ac_types)\/|^test/pyte
22

33
repos:
44
- repo: https://github.com/psf/black
5-
rev: 23.7.0
5+
rev: 24.4.0
66
hooks:
77
- id: black
88
language_version: python3
99
args: ['--line-length=125',
1010
'--skip-string-normalization']
1111

1212
- repo: https://github.com/pre-commit/pre-commit-hooks
13-
rev: v4.4.0
13+
rev: v4.6.0
1414
hooks:
1515
- id: check-added-large-files
1616
- id: check-case-conflict
@@ -24,24 +24,24 @@ repos:
2424
- id: trailing-whitespace
2525

2626
- repo: https://github.com/PyCQA/isort
27-
rev: 5.12.0
27+
rev: 5.13.2
2828
hooks:
2929
- id: isort
3030
args: ["--profile", "black", --line-length=125]
3131

3232
- repo: https://github.com/asottile/pyupgrade
33-
rev: v3.10.1
33+
rev: v3.15.2
3434
hooks:
3535
- id: pyupgrade
3636
args: ["--py36-plus"]
3737

3838
- repo: https://github.com/asottile/setup-cfg-fmt
39-
rev: v2.4.0
39+
rev: v2.5.0
4040
hooks:
4141
- id: setup-cfg-fmt
4242

4343
- repo: https://github.com/pycqa/flake8
44-
rev: 6.1.0
44+
rev: 7.0.0
4545
hooks:
4646
- id: flake8
4747
exclude: docs/conf.py

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ type: software
44
authors:
55
- given-names: "FastML Team"
66
title: "hls4ml"
7-
version: "v0.7.1"
7+
version: "v0.8.1"
88
doi: 10.5281/zenodo.1201549
99
repository-code: "https://github.com/fastmachinelearning/hls4ml"
1010
url: "https://fastmachinelearning.org/hls4ml"

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<p float="left">
1+
<p align="center">
22
<img src="https://github.com/fastmachinelearning/fastmachinelearning.github.io/raw/master/images/hls4ml_logo.svg" alt="hls4ml" width="400"/>
33
</p>
44

@@ -69,7 +69,7 @@ If you use this software in a publication, please cite the software
6969
title = {fastmachinelearning/hls4ml},
7070
year = 2023,
7171
publisher = {Zenodo},
72-
version = {v0.7.1},
72+
version = {v0.8.1},
7373
doi = {10.5281/zenodo.1201549},
7474
url = {https://github.com/fastmachinelearning/hls4ml}
7575
}
@@ -135,3 +135,18 @@ binary/ternary networks:
135135
year = "2021"
136136
}
137137
```
138+
139+
# Acknowledgments
140+
If you benefited from participating in our community, we ask that you please acknowledge the Fast Machine Learning collaboration, and particular individuals who helped you, in any publications.
141+
Please use the following text for this acknowledgment:
142+
> We acknowledge the Fast Machine Learning collective as an open community of multi-domain experts and collaborators. This community and \<names of individuals\>, in particular, were important for the development of this project.
143+
144+
# Funding
145+
We gratefully acknowledge previous and current support from the U.S. National Science Foundation (NSF) Harnessing the Data Revolution (HDR) Institute for <a href="https://a3d3.ai">Accelerating AI Algorithms for Data Driven Discovery (A3D3)</a> under Cooperative Agreement No. <a href="https://www.nsf.gov/awardsearch/showAward?AWD_ID=2117997">PHY-2117997</a>, U.S. Department of Energy (DOE) Office of Science, Office of Advanced Scientific Computing Research under the Real‐time Data Reduction Codesign at the Extreme Edge for Science (XDR) Project (<a href="https://science.osti.gov/-/media/grants/pdf/foas/2021/SC_FOA_0002501.pdf">DE-FOA-0002501</a>), DOE Office of Science, Office of High Energy Physics Early Career Research Program (<a href="https://pamspublic.science.energy.gov/WebPAMSExternal/Interface/Common/ViewPublicAbstract.aspx?rv=df0ae4ab-a46e-481a-9acc-3856b6b041e5&rtc=24&PRoleId=10">DE-SC0021187</a>, DE-0000247070), and the European Research Council (ERC) under the European Union's Horizon 2020 research and innovation program (Grant No. <a href="https://doi.org/10.3030/772369">772369</a>).
146+
147+
<p align="center">
148+
<img src="https://github.com/fastmachinelearning/hls4ml/assets/29201053/bd1217d4-9930-47b7-8917-ad3fc430c75d" alt="A3D3" width="130"/>
149+
<img src="https://github.com/fastmachinelearning/hls4ml/assets/4932543/16e77374-9829-40a8-800e-8d12018a7cb3" alt="NSF" width="130"/>
150+
<img src="https://github.com/fastmachinelearning/hls4ml/assets/4932543/de6ca6ea-4d1c-4c56-9d93-f759914bbbf9" alt="DOE" width="130"/>
151+
<img src="https://github.com/fastmachinelearning/hls4ml/assets/4932543/7a369971-a381-4bb8-932a-7162b173cbac" alt="ERC" width="130"/>
152+
</p>

0 commit comments

Comments
 (0)