Commit 19cbcf6
authored
Refactor qnn-data and remove unneeded dependencies (#113)
* Move testcode to tests and notebook code to notebooks
* Remove imagenet.py from main finn package
* Add missing init py
* Exclude tests folder from docstrings requirement
* Add missing docstrings
* Update imports
* Fix last imports
* Try adding non python files to test package
* Fix missing files
* Add vivado scripts to package
* update toml
* Try fixing missing vivado_scripts
* Debug vivado run failures
* Try fixing imports in notebooks
* Allow copy to not find files
* Fix imports
* New modular packages for tests and notebooks
* Update imports
* Fix building wheels
* Fix poetry path
* Fix poetry paths in .gitlab-ci.yml
* Try to get poetry to finally build the wheels for tests and notebooks correctly
* Try workaround for poetry bug
* Poetry bug workaround
* Test CI corruption
* Try fixing poetry bug withot breaking the pipeline
* Fix notebooks
* Fix vivado project generation
* Start pruning dependencies
* Fix missing wget package in tests
* Update gitignore
* Try excluding torch and dvc from package
* For testing set version fixed to 1.0.1
Uncomment version line and set version to 1.0.1
* Fix version formatting in pyproject.toml
* Add missing package dependency definition for subpackages
* Fix env dir var resolution for notebooks and tests
* Remove qnn-data folder
* Fix path in tests
* Move pybind dep to poetry and clean up dependencies
* Fix fpga module stuff for pipeline
* Fix fpga module stuff for pipeline
* Make sure Python 3.11 is available.
* Fix typo
* Bump version of finn-plus extras in toml
* Revert Python to 3.10 and add pybind for compatibility until fifo rework
* Revert to automatic versioning
* Configure dynamic version correctly
* Use correct build-system settings for submodules
* Set version correctly
* Fix linting
* Fix docstrings
* Add the missing fifos to get_folding_cfg1 parent 6776da0 commit 19cbcf6
File tree
96 files changed
+1369
-1287
lines changed- .github/workflows
- ci
- notebooks
- advanced
- basics
- end2end_example
- bnn-pynq
- cybersecurity
- example_data/cifar10
- scripts
- src/finn
- builder
- custom_step_library
- custom_op/fpgadataflow
- interface
- qnn-data
- testcase
- verilog
- myadd
- vivado_scripts
- templates
- ipcore_driver
- npy2stream
- python_driver
- transformation/fpgadataflow
- util
- vivado_scripts
- tests
- brevitas
- end2end
- example_data
- build_dataflow
- cifar10
- cybsec-mlp
- test_ext_weights
- fpgadataflow
- testing_util
- transformation
- streamline
- util
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
96 files changed
+1369
-1287
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | | - | |
24 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
25 | 55 | | |
26 | 56 | | |
27 | 57 | | |
| |||
33 | 63 | | |
34 | 64 | | |
35 | 65 | | |
36 | | - | |
| 66 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
103 | 115 | | |
104 | 116 | | |
105 | 117 | | |
| |||
112 | 124 | | |
113 | 125 | | |
114 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
115 | 130 | | |
116 | 131 | | |
117 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
13 | 9 | | |
14 | 10 | | |
15 | 11 | | |
16 | 12 | | |
17 | 13 | | |
18 | 14 | | |
| 15 | + | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
| |||
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
| 27 | + | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
| |||
40 | 38 | | |
41 | 39 | | |
42 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 7 | | |
14 | | - | |
15 | 8 | | |
16 | | - | |
17 | 9 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 10 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 11 | | |
37 | 12 | | |
38 | 13 | | |
| |||
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
| 390 | + | |
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
| |||
1350 | 1350 | | |
1351 | 1351 | | |
1352 | 1352 | | |
1353 | | - | |
| 1353 | + | |
1354 | 1354 | | |
1355 | 1355 | | |
1356 | 1356 | | |
| |||
0 commit comments