Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
198 commits
Select commit Hold shift + click to select a range
d2f0621
Reworked and parallel simulations initial commit
bwintermann Oct 16, 2025
5774681
Correct simulation function naming
bwintermann Oct 16, 2025
0e10a33
Add new sim bindings
LinusJungemann Oct 16, 2025
86c6421
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
LinusJungemann Oct 16, 2025
a047534
Initial layer parallel simulation. Clang format, Python executed comp…
bwintermann Oct 17, 2025
c278572
Passing node names to simulation. Improve simulation code
bwintermann Oct 17, 2025
ea1db07
Group bools into struct
bwintermann Oct 20, 2025
e0557ae
Updated simulation structure
bwintermann Oct 20, 2025
9be1099
Bugfixes for IPC
bwintermann Oct 22, 2025
da60b91
Rework simulation framework on the FINN side
bwintermann Oct 22, 2025
4f9c2ca
Bugfixes and code improvements for C++ Simulation
bwintermann Oct 23, 2025
e5f5b1f
Fixed bug in multithreaded simulation running from FINN
bwintermann Oct 23, 2025
68f7e78
Added FIFO functionality to the simulation interfaces
bwintermann Oct 23, 2025
6f8db92
Several fixes, IPC mostly works.
bwintermann Oct 23, 2025
a20e1f9
Very slight optimizations
bwintermann Oct 23, 2025
b6e49e2
Align data in shared memory
LinusJungemann Oct 28, 2025
5fc6c94
Restructure files
bwintermann Oct 28, 2025
94e3724
Added program options and JSON data output
bwintermann Oct 31, 2025
48dce96
Fixed data logging
bwintermann Oct 31, 2025
28fc0e5
Add dummy layer to remove data path
LinusJungemann Nov 6, 2025
b87fa3d
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
LinusJungemann Nov 6, 2025
0eae0af
Fix small problem
LinusJungemann Nov 6, 2025
5e77755
Add typing
LinusJungemann Nov 6, 2025
136264c
Fix noqa
LinusJungemann Nov 6, 2025
b6e858e
Fix type hinting and other problems
LinusJungemann Nov 6, 2025
0a32004
Fix type hinting and other problems
LinusJungemann Nov 6, 2025
d51e39d
New FIFO implementation & Bug fix
LinusJungemann Nov 10, 2025
a3ff9f8
Added thread communication of simulation with Python. Restructured si…
bwintermann Nov 11, 2025
9fd097d
Merge improved (functional) simulation, work in progress
bwintermann Nov 11, 2025
4a09271
Merge complete
bwintermann Nov 11, 2025
7f77ce4
Fixes, Linting and prep work
LinusJungemann Nov 11, 2025
1873576
New shared memory implementation
LinusJungemann Nov 18, 2025
7dae9d9
Remove unused include
LinusJungemann Nov 18, 2025
a07de48
Updated communicating node by node simulation
bwintermann Nov 19, 2025
8ebdb1d
Merge with updated node by node simulation
bwintermann Nov 19, 2025
5b48ec0
Add tests
LinusJungemann Nov 21, 2025
efc49c9
Fix fifosim
LinusJungemann Dec 1, 2025
ba6ec0f
Implement full minimization
LinusJungemann Dec 19, 2025
01fd709
Clean up a bit
LinusJungemann Jan 5, 2026
e3d0819
Fix bugs, optimize search and swap sim to InterprocessCommunicationCh…
LinusJungemann Jan 8, 2026
4141166
Add FIFO simulation tests to CI
bwintermann Jan 9, 2026
2b201bc
Move FIFOs
LinusJungemann Jan 9, 2026
8ef0d32
FIFO Depth application step added. C++ driver fix
bwintermann Jan 14, 2026
c190059
Removed old unused FIFO simulation files
bwintermann Jan 14, 2026
dc46c9c
Revert previous deleted module
bwintermann Jan 14, 2026
77a7451
Fixed issue with MemStreamSupport.calc_wmem()
bwintermann Jan 15, 2026
e4ce540
Added isolated sim target, fixed std::format version incompatability.
bwintermann Jan 16, 2026
ab2cfc4
Isolated node simulation runs; added simulation_build.py; bugfixes
bwintermann Jan 21, 2026
77ecc6b
Revert to Sim without Look-Ahead
LinusJungemann Jan 22, 2026
776b5ab
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
LinusJungemann Jan 22, 2026
f928f01
Finish integrating the reverted changes
LinusJungemann Jan 22, 2026
1c11e6f
Working isolated sim, todo: cleanup and remove debug output
bwintermann Jan 23, 2026
7b1df93
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
bwintermann Jan 23, 2026
a9e0471
Add timeout to communication
LinusJungemann Jan 23, 2026
21d4e3f
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
LinusJungemann Jan 23, 2026
697fbcf
Work on isolated node simulation data
bwintermann Jan 23, 2026
0e064c8
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
bwintermann Jan 23, 2026
4d376bd
Fix import error
bwintermann Jan 23, 2026
66390a8
Revert simulation connection
LinusJungemann Jan 23, 2026
990cb27
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
LinusJungemann Jan 23, 2026
e422be1
Working isolated simulation, first bounds results
bwintermann Jan 26, 2026
80f2b26
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
bwintermann Jan 26, 2026
18ac0dc
Reimplemented bounds calculation + doctests
bwintermann Jan 27, 2026
72e7c77
Restructured simulation code. Fixed some bugs in isolated sims.
bwintermann Jan 27, 2026
9446fbc
Fixed naming issues
bwintermann Jan 27, 2026
b33d2fd
Fixed socket communication issues in isolated simulations
bwintermann Jan 27, 2026
e252ad6
IsoSim bugfixes and logging
bwintermann Jan 28, 2026
68f871c
Working version
LinusJungemann Feb 2, 2026
d282079
Integrated steps into FINN itself
bwintermann Feb 4, 2026
915a7ce
Simulations utilize the correct binaries
bwintermann Feb 5, 2026
bf7805f
BuildSimulation independent of simtype, smaller fixes and additions
bwintermann Feb 6, 2026
8a725f1
Start adding resnet support
LinusJungemann Feb 9, 2026
3144156
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
LinusJungemann Feb 9, 2026
a8dbc9f
Fix building sim for residual connections
LinusJungemann Feb 9, 2026
f7806f2
Mostly formatting for easier readable stdout
bwintermann Feb 11, 2026
64ac007
Use ordered_json to keep order in simulations in cases where multiple…
bwintermann Feb 11, 2026
3d9ceba
Get ResNet to work
LinusJungemann Feb 12, 2026
63c6038
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
LinusJungemann Feb 12, 2026
f5532dc
Added dataframe storage of sim data. Also moved model preparation to …
bwintermann Feb 12, 2026
199fe75
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
bwintermann Feb 12, 2026
085fbb6
Fix Insert FIFOs
LinusJungemann Feb 12, 2026
ebefb1c
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
LinusJungemann Feb 12, 2026
d68c0cf
Finished adding all FIFO-related simulation data into a unified dataf…
bwintermann Feb 12, 2026
14f4e0d
Add per layer timeout for late first valid
LinusJungemann Feb 18, 2026
5d367bf
Various fixes to isolated simulation
bwintermann Feb 18, 2026
71bb2bd
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
bwintermann Feb 18, 2026
89d8436
Adjust grace cycles to be dynamic
LinusJungemann Feb 20, 2026
236471e
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
LinusJungemann Feb 20, 2026
ee425d2
Linting
LinusJungemann Feb 24, 2026
c6b9cdb
Added minimization order options
bwintermann Feb 24, 2026
931f796
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
bwintermann Feb 24, 2026
1acbddb
Fix multi connection models
LinusJungemann Feb 26, 2026
c9cf66e
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
LinusJungemann Feb 26, 2026
3772d9c
Small fixes
LinusJungemann Feb 26, 2026
060c753
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
LinusJungemann Feb 26, 2026
ead07ce
Small changes
LinusJungemann Mar 2, 2026
4797860
Added test for diamond communication pattern
bwintermann Mar 2, 2026
5d5aa78
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
bwintermann Mar 2, 2026
351554d
Small fixes
bwintermann Mar 2, 2026
1d6d10b
Try fixing the simulation deadlock
LinusJungemann Mar 4, 2026
3249b1e
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
LinusJungemann Mar 4, 2026
92fc046
Fix wrong key in apply depths
LinusJungemann Mar 5, 2026
5ecbaee
Add offsets
LinusJungemann Mar 5, 2026
20539b9
More small changes to track error
LinusJungemann Mar 6, 2026
cffd9c0
Fix bugs and add debug stuff
LinusJungemann Mar 12, 2026
0a52fb9
Fix FIFO sizing hopefully
LinusJungemann Mar 12, 2026
19bb621
Merge and integrate dev into parallel-sim feature branch
bwintermann Mar 13, 2026
485ac7a
Integrated the distributed simulation partly into the normal FINN flow
bwintermann Mar 13, 2026
32bebff
Fixes
LinusJungemann Mar 14, 2026
d8890fc
Missing import fixed
bwintermann Mar 17, 2026
28ead34
Small changes to bench
bwintermann Mar 19, 2026
94477b7
Fixes
LinusJungemann Mar 21, 2026
c4dba41
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
LinusJungemann Mar 21, 2026
0e72250
Merge branch 'dev' into feature/parallel-sim
LinusJungemann Apr 21, 2026
b2be7c6
Cleanup basic and hwcustomop
LinusJungemann Apr 21, 2026
410744d
Remove characterization based FIFO sizing
LinusJungemann Apr 21, 2026
634bb54
Add support for subgraphs to FIFO Sizing
LinusJungemann Apr 28, 2026
1a690c4
Remove core pinning completely and add slurm support
LinusJungemann Apr 28, 2026
f295481
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
LinusJungemann Apr 28, 2026
7a1ff98
Add it so that the synth workers respect the num_workers setting
LinusJungemann Apr 28, 2026
d71b71e
Clean up
LinusJungemann Apr 28, 2026
2a7cb13
Fix linting
LinusJungemann Apr 28, 2026
7d05e46
Autofix all possible ruff warnings
LinusJungemann Apr 28, 2026
3deccaa
Fix FIFO sizing for FINN loop operator
LinusJungemann May 8, 2026
e4358a2
Fix linting
LinusJungemann May 8, 2026
6a463dc
Fix the noqa placement in hlsbackend
LinusJungemann May 8, 2026
f2f9df1
Remove old FIFO sizing
LinusJungemann May 8, 2026
f3ac35b
Fix some errors
LinusJungemann May 8, 2026
05114da
Fix performance simulation
LinusJungemann May 15, 2026
26e8e8e
Start fixing tests
LinusJungemann May 15, 2026
b4af934
Fix unittests
LinusJungemann May 18, 2026
af01d6d
Fix more tests and remove finn xsi from deps update
LinusJungemann May 19, 2026
550205b
Fix linting
LinusJungemann May 19, 2026
9ba78b5
Remove custom_deps to fix install error
LinusJungemann May 19, 2026
91ab785
Fix autobuilding of finn_xsi
LinusJungemann May 19, 2026
ca5abd6
Remove uses of FINN_XSI env var
LinusJungemann May 19, 2026
0c15918
Add hook to initialize settings correctly in all unittests
LinusJungemann May 19, 2026
260d680
Fix test_bram_block_search
LinusJungemann May 19, 2026
5e9a368
Fix vvau test
LinusJungemann May 19, 2026
3bc2be3
Fix elementwise bin and requant tests
LinusJungemann May 19, 2026
488eb76
Fix layernorm test and ooc synthesis test
LinusJungemann May 19, 2026
261f06b
Fix end to end tests
LinusJungemann May 19, 2026
fdfebc7
Fix imports for FINNLoop
LinusJungemann May 19, 2026
2960b88
Try to run xsi installation in pytest only once before parallel jobs …
LinusJungemann May 19, 2026
7937555
Merge branch 'dev' into feature/parallel-sim
LinusJungemann May 19, 2026
5b7aaed
Clean up
LinusJungemann May 19, 2026
03e3fd9
Add missing docstrings
LinusJungemann May 19, 2026
9b570d5
Merge branch 'feature/parallel-sim' of github.com:eki-project/finn-pl…
LinusJungemann May 19, 2026
ca2b5ac
Some more missing docstrings
LinusJungemann May 19, 2026
5b05126
Add more docstrings
LinusJungemann May 20, 2026
7cafb30
Add timestamp to docstrings comment
LinusJungemann May 20, 2026
3dbadb1
Fix rtlsim input bug
LinusJungemann May 22, 2026
d895773
Fixed/readded stitched ip sim using python interface
LinusJungemann May 26, 2026
ed35b80
Remove notebook tests, because notebooks will be removed anyway
LinusJungemann May 26, 2026
6de25e9
Bump Python to 3.11.5 to be able to load Boost module.
LinusJungemann May 26, 2026
604cb23
Fix BRAM search tests
LinusJungemann May 26, 2026
445bfa7
Fix squeeze and unsqueeze tests
LinusJungemann May 26, 2026
1f96c6f
Fix batchnorm to affine test for parallel execution
LinusJungemann May 26, 2026
b1e22ab
Fix colliding unittests during parallel execution
LinusJungemann May 26, 2026
fed5739
Increase CI timeout to two days
LinusJungemann May 26, 2026
81678fe
Fix some more unittests
LinusJungemann May 27, 2026
31cd73b
Fix more unittests
LinusJungemann May 28, 2026
b25fda5
Fix end2end tests
LinusJungemann May 29, 2026
7777d29
Try reduced test suite to debug hanging tests
LinusJungemann May 29, 2026
93de11f
Fix some more bugs
LinusJungemann May 30, 2026
de2be56
Fix remaining tests
LinusJungemann May 31, 2026
7464ab0
Fix finn loop test
LinusJungemann May 31, 2026
5b667dc
Add timeout to launch process helper to combat sometimes stuck xelab …
LinusJungemann Jun 1, 2026
d20160e
Fix mkdir error
LinusJungemann Jun 1, 2026
f80fa43
Make sure that no child processes are left over after xelab/xvlog exists
LinusJungemann Jun 1, 2026
f1b8353
Change CI configuration for testing
LinusJungemann Jun 2, 2026
df3de74
Remove non existant port from SimEngine
LinusJungemann Jun 10, 2026
54677af
Changes to debug mlo tests
LinusJungemann Jun 15, 2026
bbcc9d9
Fix FINNLoop Tests
LinusJungemann Jun 18, 2026
99e0d2d
Mark some mvau configs xfail
LinusJungemann Jun 22, 2026
10e81ea
Reenable all unittests
LinusJungemann Jun 22, 2026
cca477a
Remove leftover model.save and change some CI settings
LinusJungemann Jun 22, 2026
6291fcb
Fix bench_base
LinusJungemann Jun 22, 2026
b1abbf3
Start debugging intermittent segfault
LinusJungemann Jun 23, 2026
f36eeee
Test increasing pytest-rerunfailures version to deal with non-determi…
LinusJungemann Jun 23, 2026
56296f2
Remove pytest coverage
LinusJungemann Jun 23, 2026
e0b7d56
Limit the number of workers
LinusJungemann Jun 23, 2026
c70d808
Merge branch 'dev' into feature/parallel-sim
LinusJungemann Jun 23, 2026
19ba220
Switch scheduler to loadscope instead of loadgroup
LinusJungemann Jun 23, 2026
781244c
Revert settings fix
LinusJungemann Jun 23, 2026
bb24666
Fix some of the last tests
LinusJungemann Jun 25, 2026
6c44322
Try fixing unresolved type reference error
LinusJungemann Jun 25, 2026
f3764c6
Fix serialisation error in build config
LinusJungemann Jun 25, 2026
e2aa378
Make TLastMarker compatible with distributed rtlsim
LinusJungemann Jun 26, 2026
01c64e8
Fix type error of path concat
LinusJungemann Jun 26, 2026
fb76691
Readd missing function
LinusJungemann Jun 26, 2026
0eb54b8
Remove additional slash
LinusJungemann Jun 26, 2026
0155b66
Fix xml merging and remove doctests in isolated sim
LinusJungemann Jun 27, 2026
ea84b55
Add reduce operator
LinusJungemann Jul 9, 2026
7758a07
Add rewrite transformation to move reduction axis to the back
LinusJungemann Jul 10, 2026
afe9101
Fix MoveAxis Pass
LinusJungemann Jul 13, 2026
83e11c1
Add end2end test
LinusJungemann Jul 14, 2026
d99cbae
Add missing docstrings and add exeption for overload decorators to no…
LinusJungemann Jul 14, 2026
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
3 changes: 3 additions & 0 deletions .github/workflows/check-docstrings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ jobs:
const commentMarker = '<!-- docstring-check-comment -->';
body = commentMarker + '\n' + body;

const updatedAt = new Date().toISOString();
body += `\n\n_Last updated: ${updatedAt}_`;

// Find existing comment from this action
const comments = await github.rest.issues.listComments({
issue_number: context.issue.number,
Expand Down
19 changes: 18 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,20 @@ tags
poetry.lock
*.code-workspace
.env
*.vim

# Cmake files
**/CMakeFiles
**/cmake_install.cmake
**/CMakeCache.txt
**/compile_commands.json
**/.cache
**/build
**/_deps
finn_xsi/finn_xsi/unittests/*.cmake
finn_xsi/finn_xsi/unittests/Makefile
finn_xsi/finn_xsi/VERSION

settings.yaml
*/.cache/*

Expand Down Expand Up @@ -100,6 +114,9 @@ MANIFEST
/data/
*.csv

# Mock templated simulation config
finn_xsi/finn_xsi/rtlsim_config.hpp

# Google Drive key for dashboard
/gdrive-key/

Expand All @@ -108,7 +125,7 @@ MANIFEST

# downloaded dep repos
/deps/
/finn_deps/
finn_deps/

# local test directories for benchmarking infrastructure
bench_input
Expand Down
8 changes: 4 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ variables:
value: "1"
SLURM_TIMEOUT:
description: "Select SLURM timeout"
value: "1-0" # [days-hours]
value: "3-0" # [days-hours]
SLURM_PARTITION:
description: "Slurm partition (e.g., normal, largemem, fpga, gpu)"
value: "normal"
value: "fpga"
SLURM_QOS:
description: "Optional --exclusive or QoS option (include --qos, e.g., --qos express)"
value: ""
Expand Down Expand Up @@ -157,7 +157,7 @@ FINN Test Suite 2022.2:
paths:
- deps
variables:
SCHEDULER_PARAMETERS: "-A $PROJECT_ACCOUNT -p $SLURM_PARTITION -t $SLURM_TIMEOUT $SLURM_QOS --nodes 1 --ntasks 1 --cpus-per-task $CPU_CORES --exclusive"
SCHEDULER_PARAMETERS: "-A $PROJECT_ACCOUNT -p $SLURM_PARTITION -t $SLURM_TIMEOUT $SLURM_QOS --nodes 1 --ntasks 1 --exclusive"
PYTEST_PARALLEL: "$CPU_CORES"
extends: .setup_full_2022_2
script:
Expand All @@ -169,7 +169,7 @@ FINN Test Suite 2022.2:
source finn-plus-venv/bin/activate
dvc config cache.dir $CI_DVC_CACHE_DIR
dvc pull
finn test --variant $TEST_SUITE --dependency-path ./deps --build-path $FINN_BUILD_DIR --num-default-workers 1 --num-test-workers $PYTEST_PARALLEL
finn test --variant $TEST_SUITE --dependency-path ./deps --build-path $FINN_BUILD_DIR --num-test-workers $PYTEST_PARALLEL -n 1
artifacts:
name: "test_reports"
when: always
Expand Down
5 changes: 3 additions & 2 deletions ci/.gitlab-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

.n2_setup_general:
before_script:
- ml lang/Python/3.10.4-GCCcore-11.3.0
- ml lang/Python/3.11.5-GCCcore-13.2.0
- ml devel/Boost/1.83.0-GCC-13.2.0
- ml tools/git-lfs/3.6.1
- ml tools/UnZip/6.0-GCCcore-11.3.0
- ml tools/UnZip/6.0-GCCcore-13.2.0
- ml devel/ncurses/5.9
- ulimit -s unlimited # Increase stack size limit

Expand Down
57 changes: 38 additions & 19 deletions ci/cfg/live_fifosizing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"model_path": [models/bnn-pynq/cnv-w1a1_qonnx.onnx],
"folding_config_file": [models/bnn-pynq/cnv-w1a1_folding_config.json],
"specialize_layers_config_file": [models/bnn-pynq/cnv-w1a1_specialize_layers.json],
"live_fifo_sizing": [True],
"auto_fifo_depths": [True],
"auto_fifo_strategy": ["live_fifo"],
"generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
"synth_clk_period_ns": [10],
},
Expand All @@ -16,7 +17,8 @@
"model_path": [models/bnn-pynq/cnv-w1a2_qonnx.onnx],
"folding_config_file": [models/bnn-pynq/cnv-w1a2_folding_config.json],
"specialize_layers_config_file": [models/bnn-pynq/cnv-w1a2_specialize_layers.json],
"live_fifo_sizing": [True],
"auto_fifo_depths": [True],
"auto_fifo_strategy": ["live_fifo"],
"generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
"synth_clk_period_ns": [10],
},
Expand All @@ -26,7 +28,8 @@
"model_path": [models/bnn-pynq/cnv-w2a2_qonnx.onnx],
"folding_config_file": [models/bnn-pynq/cnv-w2a2_folding_config.json],
"specialize_layers_config_file": [models/bnn-pynq/cnv-w2a2_specialize_layers.json],
"live_fifo_sizing": [True],
"auto_fifo_depths": [True],
"auto_fifo_strategy": ["live_fifo"],
"generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
"synth_clk_period_ns": [10],
},
Expand All @@ -36,7 +39,8 @@
"model_path": [models/bnn-pynq/tfc-w1a1_qonnx.onnx],
"folding_config_file": [models/bnn-pynq/tfc-w1a1_folding_config.json],
"specialize_layers_config_file": [models/bnn-pynq/tfc-w1a1_specialize_layers.json],
"live_fifo_sizing": [True],
"auto_fifo_depths": [True],
"auto_fifo_strategy": ["live_fifo"],
"generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
"synth_clk_period_ns": [10],
},
Expand All @@ -46,7 +50,8 @@
"model_path": [models/bnn-pynq/tfc-w1a2_qonnx.onnx],
"folding_config_file": [models/bnn-pynq/tfc-w1a2_folding_config.json],
"specialize_layers_config_file": [models/bnn-pynq/tfc-w1a2_specialize_layers.json],
"live_fifo_sizing": [True],
"auto_fifo_depths": [True],
"auto_fifo_strategy": ["live_fifo"],
"generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
"synth_clk_period_ns": [10],
},
Expand All @@ -56,55 +61,62 @@
"model_path": [models/bnn-pynq/tfc-w2a2_qonnx.onnx],
"folding_config_file": [models/bnn-pynq/tfc-w2a2_folding_config.json],
"specialize_layers_config_file": [models/bnn-pynq/tfc-w2a2_specialize_layers.json],
"live_fifo_sizing": [True],
"auto_fifo_depths": [True],
"auto_fifo_strategy": ["live_fifo"],
"generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
"synth_clk_period_ns": [10],
},

# GTSRB (cnv-w1a1)
{
"dut": ["gtsrb"],
"live_fifo_sizing": [True],
"auto_fifo_depths": [True],
"auto_fifo_strategy": ["live_fifo"],
"generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
"synth_clk_period_ns": [10],
},

# KWS (MLP)
{
"dut": ["kws"],
"live_fifo_sizing": [True],
"auto_fifo_depths": [True],
"auto_fifo_strategy": ["live_fifo"],
"generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
"synth_clk_period_ns": [10],
},

# Cybersecurity (MLP)
{
"dut": ["cybsec"],
"live_fifo_sizing": [True],
"auto_fifo_depths": [True],
"auto_fifo_strategy": ["live_fifo"],
"generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
"synth_clk_period_ns": [10],
},

# MobileNetV1 (ImageNet)
{
"dut": ["mobilenetv1"],
"live_fifo_sizing": [True],
"auto_fifo_depths": [True],
"auto_fifo_strategy": ["live_fifo"],
"generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
"synth_clk_period_ns": [10],
},

# VGG-10 (1D CNN) (RadioML)
{
"dut": ["vgg10"],
"live_fifo_sizing": [True],
"auto_fifo_depths": [True],
"auto_fifo_strategy": ["live_fifo"],
"generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
"synth_clk_period_ns": [10],
},

# ResNet-50 (ImageNet)
{
"dut": ["resnet50"],
"live_fifo_sizing": [True],
"auto_fifo_depths": [True],
"auto_fifo_strategy": ["live_fifo"],
"generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
"synth_clk_period_ns": [10],
},
Expand All @@ -115,7 +127,8 @@
"model_path": [models/resnet18/resnet18_w3a3_cifar100.onnx],
"folding_config_file": [models/resnet18/resnet18_folding_config.json],
"specialize_layers_config_file": [models/resnet18/resnet18_specialize_layers.json],
"live_fifo_sizing": [True],
"auto_fifo_depths": [True],
"auto_fifo_strategy": ["live_fifo"],
"generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
"synth_clk_period_ns": [10],
},
Expand All @@ -128,7 +141,8 @@
"model_path": ["models/transformer/finn-transformers/benchmark/streamlined.onnx"],
"verify_input_npy": ["models/transformer/finn-transformers/benchmark/inp.npy"],
"verify_expected_output_npy": ["models/transformer/finn-transformers/benchmark/out.npy"],
"live_fifo_sizing": [True],
"auto_fifo_depths": [True],
"auto_fifo_strategy": ["live_fifo"],
"generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
"target_fps": [1000],
},
Expand All @@ -140,7 +154,8 @@
"model_path": ["models/transformer/finn-transformers/language/streamlined.onnx"],
"verify_input_npy": ["models/transformer/finn-transformers/language/inp.npy"],
"verify_expected_output_npy": ["models/transformer/finn-transformers/language/out.npy"],
"live_fifo_sizing": [True],
"auto_fifo_depths": [True],
"auto_fifo_strategy": ["live_fifo"],
"generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
"target_fps": [1000],
},
Expand All @@ -152,7 +167,8 @@
"model_path": ["models/transformer/finn-transformers/radioml/streamlined.onnx"],
"verify_input_npy": ["models/transformer/finn-transformers/radioml/inp.npy"],
"verify_expected_output_npy": ["models/transformer/finn-transformers/radioml/out.npy"],
"live_fifo_sizing": [True],
"auto_fifo_depths": [True],
"auto_fifo_strategy": ["live_fifo"],
"generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
"target_fps": [1000],
},
Expand All @@ -164,7 +180,8 @@
"model_path": ["models/transformer/finn-transformers/vision/streamlined.onnx"],
"verify_input_npy": ["models/transformer/finn-transformers/vision/inp.npy"],
"verify_expected_output_npy": ["models/transformer/finn-transformers/vision/out.npy"],
"live_fifo_sizing": [True],
"auto_fifo_depths": [True],
"auto_fifo_strategy": ["live_fifo"],
"generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
"target_fps": [1000],
},
Expand All @@ -182,7 +199,8 @@
# "lb_num_layers": [1],
# "rb_num_layers": [4, 8, 16],

# "live_fifo_sizing": [True],
# "auto_fifo_depths": [True],
# "auto_fifo_strategy": ["live_fifo"],
# "generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
# "synth_clk_period_ns": [10],
# },
Expand All @@ -198,7 +216,8 @@
# "lb_num_layers": [1],
# "rb_num_layers": [4, 8, 16],

# "live_fifo_sizing": [True],
# "auto_fifo_depths": [True],
# "auto_fifo_strategy": ["live_fifo"],
# "generate_outputs": [["bitfile", "pynq_driver", "deployment_package"]],
# "synth_clk_period_ns": [10],
# }
Expand Down
2 changes: 1 addition & 1 deletion ci/collect/collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ def extract_model_name(self, metadata):
# wrap in list
configuration[key] = [metadata_bench["params"][key]]
# overwrite FIFO-related params
configuration["live_fifo_sizing"] = [False]
# configuration["live_fifo_sizing"] = [False]
configuration["auto_fifo_depths"] = [False]
configuration["target_fps"] = ["None"]
configuration["folding_config_file"] = [folding_config_lfs_path]
Expand Down
Loading
Loading