Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:tum-ei-eda/mlonmcu into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Dec 31, 2023
2 parents 19a478f + 49b6eb9 commit b81e38b
Showing 1 changed file with 106 additions and 17 deletions.
123 changes: 106 additions & 17 deletions ipynb/Examples/CodeSizeComparison/CodeSizeComparison.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"id": "5aa9b7aa-5bf6-4435-981f-bcb91132020a",
"metadata": {
"execution": {
"iopub.execute_input": "2023-12-30T23:12:00.783752Z",
"iopub.status.busy": "2023-12-30T23:12:00.783215Z",
"iopub.status.idle": "2023-12-30T23:12:00.797210Z",
"shell.execute_reply": "2023-12-30T23:12:00.796322Z"
"iopub.execute_input": "2023-12-30T23:42:10.695559Z",
"iopub.status.busy": "2023-12-30T23:42:10.695354Z",
"iopub.status.idle": "2023-12-30T23:42:10.701599Z",
"shell.execute_reply": "2023-12-30T23:42:10.701062Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -79,10 +79,10 @@
"id": "a969b1c7-26b1-47d5-91d4-d94397bf7c08",
"metadata": {
"execution": {
"iopub.execute_input": "2023-12-30T23:12:00.802870Z",
"iopub.status.busy": "2023-12-30T23:12:00.802478Z",
"iopub.status.idle": "2023-12-30T23:12:00.879559Z",
"shell.execute_reply": "2023-12-30T23:12:00.878813Z"
"iopub.execute_input": "2023-12-30T23:42:10.704566Z",
"iopub.status.busy": "2023-12-30T23:42:10.704185Z",
"iopub.status.idle": "2023-12-30T23:42:10.786034Z",
"shell.execute_reply": "2023-12-30T23:42:10.785391Z"
}
},
"outputs": [
Expand Down Expand Up @@ -198,10 +198,10 @@
"id": "ab05b643-f644-4c38-8768-04a3e488ddc4",
"metadata": {
"execution": {
"iopub.execute_input": "2023-12-30T23:12:00.885310Z",
"iopub.status.busy": "2023-12-30T23:12:00.884741Z",
"iopub.status.idle": "2023-12-30T23:12:00.947134Z",
"shell.execute_reply": "2023-12-30T23:12:00.946522Z"
"iopub.execute_input": "2023-12-30T23:42:10.788730Z",
"iopub.status.busy": "2023-12-30T23:42:10.788362Z",
"iopub.status.idle": "2023-12-30T23:42:10.832424Z",
"shell.execute_reply": "2023-12-30T23:42:10.831657Z"
}
},
"outputs": [
Expand Down Expand Up @@ -615,10 +615,10 @@
"id": "43576c35",
"metadata": {
"execution": {
"iopub.execute_input": "2023-12-30T23:12:00.952961Z",
"iopub.status.busy": "2023-12-30T23:12:00.952676Z",
"iopub.status.idle": "2023-12-30T23:14:02.882004Z",
"shell.execute_reply": "2023-12-30T23:14:02.880383Z"
"iopub.execute_input": "2023-12-30T23:42:10.835670Z",
"iopub.status.busy": "2023-12-30T23:42:10.835442Z",
"iopub.status.idle": "2023-12-30T23:52:42.738843Z",
"shell.execute_reply": "2023-12-30T23:52:42.738149Z"
}
},
"outputs": [
Expand All @@ -628,6 +628,7 @@
"text": [
"INFO - Loading environment cache from file\r\n",
"INFO - Successfully initialized cache\r\n",
<<<<<<< HEAD
"INFO - [session-9] Processing stage LOAD\r\n",
"INFO - [session-9] Processing stage BUILD\r\n",
"INFO - [session-9] Processing stage COMPILE\r\n",
Expand All @@ -643,6 +644,23 @@
"3 9 3 resnet tflite tflm tflmi mlif spike 145098497 145098497 1.0 True 200371 68940 102405 97950 16 2804 66136 [] {'resnet.output_shapes': {'Identity_int8': [1,... [] -\r\n",
"4 9 4 resnet tflite tflm tflmi mlif spike 54977756 54977756 1.0 True 217830 68932 102408 115406 16 2796 66136 [muriscvnn] {'resnet.output_shapes': {'Identity_int8': [1,... [] -\r\n",
"5 9 5 resnet tflite tflm tflmi mlif spike 63907632 63907632 1.0 True 218937 68932 102405 116516 16 2796 66136 [cmsisnn] {'resnet.output_shapes': {'Identity_int8': [1,... [] -\r\n"
=======
"INFO - Processing stage LOAD\r\n",
"INFO - Processing stage BUILD\r\n",
"INFO - Processing stage COMPILE\r\n",
"INFO - Processing stage RUN\r\n",
"INFO - All runs completed successfuly!\r\n",
"INFO - Postprocessing session report\r\n",
"INFO - Done processing runs\r\n",
"INFO - Report:\r\n",
" Session Run Model Frontend Framework Backend Platform Target Total Cycles Total Instructions Total CPI Validation Total ROM Total RAM ROM read-only ROM code ROM misc RAM data RAM zero-init data Features Config Postprocesses Comment\r\n",
"0 0 0 aww tflite tflm tflmi mlif spike 45594676 45594676 1.0 True 153225 36168 63557 89652 16 2800 33368 [] {'aww.output_shapes': {'Identity': [1, 12]}, '... [] -\r\n",
"1 0 1 aww tflite tflm tflmi mlif spike 15248124 15248124 1.0 True 179322 36176 63560 115746 16 2808 33368 [muriscvnn] {'aww.output_shapes': {'Identity': [1, 12]}, '... [] -\r\n",
"2 0 2 aww tflite tflm tflmi mlif spike 16597146 16597146 1.0 True 179525 36176 63557 115952 16 2808 33368 [cmsisnn] {'aww.output_shapes': {'Identity': [1, 12]}, '... [] -\r\n",
"3 0 3 resnet tflite tflm tflmi mlif spike 145098497 145098497 1.0 True 200371 68940 102405 97950 16 2804 66136 [] {'resnet.output_shapes': {'Identity_int8': [1,... [] -\r\n",
"4 0 4 resnet tflite tflm tflmi mlif spike 54977756 54977756 1.0 True 217830 68932 102408 115406 16 2796 66136 [muriscvnn] {'resnet.output_shapes': {'Identity_int8': [1,... [] -\r\n",
"5 0 5 resnet tflite tflm tflmi mlif spike 63907632 63907632 1.0 True 218937 68932 102405 116516 16 2796 66136 [cmsisnn] {'resnet.output_shapes': {'Identity_int8': [1,... [] -\r\n"
>>>>>>> 49b6eb9779e354659ea86037bc1ee7589551fb55
]
}
],
Expand All @@ -665,10 +683,17 @@
"id": "53c89e22",
"metadata": {
"execution": {
<<<<<<< HEAD
"iopub.execute_input": "2023-12-30T23:14:02.888605Z",
"iopub.status.busy": "2023-12-30T23:14:02.888147Z",
"iopub.status.idle": "2023-12-30T23:16:04.752435Z",
"shell.execute_reply": "2023-12-30T23:16:04.750943Z"
=======
"iopub.execute_input": "2023-12-30T23:52:42.742190Z",
"iopub.status.busy": "2023-12-30T23:52:42.741740Z",
"iopub.status.idle": "2023-12-31T00:03:12.544136Z",
"shell.execute_reply": "2023-12-31T00:03:12.543463Z"
>>>>>>> 49b6eb9779e354659ea86037bc1ee7589551fb55
}
},
"outputs": [
Expand All @@ -678,6 +703,7 @@
"text": [
"INFO - Loading environment cache from file\r\n",
"INFO - Successfully initialized cache\r\n",
<<<<<<< HEAD
"INFO - [session-10] Processing stage LOAD\r\n",
"INFO - [session-10] Processing stage BUILD\r\n",
"INFO - [session-10] Processing stage COMPILE\r\n",
Expand All @@ -686,6 +712,16 @@
"INFO - All runs completed successfuly!\r\n",
"INFO - Postprocessing session report\r\n",
"INFO - [session-10] Done processing runs\r\n",
=======
"INFO - [session-1] Processing stage LOAD\r\n",
"INFO - [session-1] Processing stage BUILD\r\n",
"INFO - [session-1] Processing stage COMPILE\r\n",
"INFO - [session-1] Processing stage RUN\r\n",
"INFO - [session-1] Processing stage POSTPROCESS\r\n",
"INFO - All runs completed successfuly!\r\n",
"INFO - Postprocessing session report\r\n",
"INFO - [session-1] Done processing runs\r\n",
>>>>>>> 49b6eb9779e354659ea86037bc1ee7589551fb55
"INFO - Report:\r\n",
" Model Total Cycles Total ROM ROM read-only ROM code Features\r\n",
"0 aww 45594676 153225 63557 89652 []\r\n",
Expand Down Expand Up @@ -718,10 +754,17 @@
"id": "230211f7",
"metadata": {
"execution": {
<<<<<<< HEAD
"iopub.execute_input": "2023-12-30T23:16:04.758943Z",
"iopub.status.busy": "2023-12-30T23:16:04.758426Z",
"iopub.status.idle": "2023-12-30T23:18:09.522694Z",
"shell.execute_reply": "2023-12-30T23:18:09.521327Z"
=======
"iopub.execute_input": "2023-12-31T00:03:12.547189Z",
"iopub.status.busy": "2023-12-31T00:03:12.546982Z",
"iopub.status.idle": "2023-12-31T00:13:30.469633Z",
"shell.execute_reply": "2023-12-31T00:13:30.468823Z"
>>>>>>> 49b6eb9779e354659ea86037bc1ee7589551fb55
}
},
"outputs": [
Expand All @@ -731,6 +774,7 @@
"text": [
"INFO - Loading environment cache from file\r\n",
"INFO - Successfully initialized cache\r\n",
<<<<<<< HEAD
"INFO - [session-11] Processing stage LOAD\r\n",
"INFO - [session-11] Processing stage BUILD\r\n",
"INFO - [session-11] Processing stage COMPILE\r\n",
Expand All @@ -739,6 +783,16 @@
"INFO - All runs completed successfuly!\r\n",
"INFO - Postprocessing session report\r\n",
"INFO - [session-11] Done processing runs\r\n",
=======
"INFO - [session-2] Processing stage LOAD\r\n",
"INFO - [session-2] Processing stage BUILD\r\n",
"INFO - [session-2] Processing stage COMPILE\r\n",
"INFO - [session-2] Processing stage RUN\r\n",
"INFO - [session-2] Processing stage POSTPROCESS\r\n",
"INFO - All runs completed successfuly!\r\n",
"INFO - Postprocessing session report\r\n",
"INFO - [session-2] Done processing runs\r\n",
>>>>>>> 49b6eb9779e354659ea86037bc1ee7589551fb55
"INFO - Report:\r\n",
" Model Total Cycles Total ROM ROM read-only ROM code Features\r\n",
"0 aww 172565059 142627 63521 79090 []\r\n",
Expand Down Expand Up @@ -786,10 +840,17 @@
"id": "78c53970",
"metadata": {
"execution": {
<<<<<<< HEAD
"iopub.execute_input": "2023-12-30T23:18:09.529648Z",
"iopub.status.busy": "2023-12-30T23:18:09.529013Z",
"iopub.status.idle": "2023-12-30T23:18:09.927186Z",
"shell.execute_reply": "2023-12-30T23:18:09.926374Z"
=======
"iopub.execute_input": "2023-12-31T00:13:30.472958Z",
"iopub.status.busy": "2023-12-31T00:13:30.472762Z",
"iopub.status.idle": "2023-12-31T00:13:30.857902Z",
"shell.execute_reply": "2023-12-31T00:13:30.857139Z"
>>>>>>> 49b6eb9779e354659ea86037bc1ee7589551fb55
}
},
"outputs": [],
Expand All @@ -815,10 +876,17 @@
"id": "2f6c5e5a",
"metadata": {
"execution": {
<<<<<<< HEAD
"iopub.execute_input": "2023-12-30T23:18:09.931533Z",
"iopub.status.busy": "2023-12-30T23:18:09.931116Z",
"iopub.status.idle": "2023-12-30T23:18:09.935770Z",
"shell.execute_reply": "2023-12-30T23:18:09.935043Z"
=======
"iopub.execute_input": "2023-12-31T00:13:30.861284Z",
"iopub.status.busy": "2023-12-31T00:13:30.860798Z",
"iopub.status.idle": "2023-12-31T00:13:30.864892Z",
"shell.execute_reply": "2023-12-31T00:13:30.864341Z"
>>>>>>> 49b6eb9779e354659ea86037bc1ee7589551fb55
}
},
"outputs": [],
Expand Down Expand Up @@ -850,10 +918,17 @@
"id": "ebe63369",
"metadata": {
"execution": {
<<<<<<< HEAD
"iopub.execute_input": "2023-12-30T23:18:09.940791Z",
"iopub.status.busy": "2023-12-30T23:18:09.940101Z",
"iopub.status.idle": "2023-12-30T23:20:14.980348Z",
"shell.execute_reply": "2023-12-30T23:20:14.979505Z"
=======
"iopub.execute_input": "2023-12-31T00:13:30.867414Z",
"iopub.status.busy": "2023-12-31T00:13:30.867006Z",
"iopub.status.idle": "2023-12-31T00:23:45.267721Z",
"shell.execute_reply": "2023-12-31T00:23:45.267088Z"
>>>>>>> 49b6eb9779e354659ea86037bc1ee7589551fb55
}
},
"outputs": [
Expand All @@ -863,10 +938,17 @@
"text": [
"INFO - Loading environment cache from file\n",
"INFO - Successfully initialized cache\n",
<<<<<<< HEAD
"INFO - [session-12] Processing all stages\n",
"INFO - All runs completed successfuly!\n",
"INFO - Postprocessing session report\n",
"INFO - [session-12] Done processing runs\n"
=======
"INFO - [session-3] Processing all stages\n",
"INFO - All runs completed successfuly!\n",
"INFO - Postprocessing session report\n",
"INFO - [session-3] Done processing runs\n"
>>>>>>> 49b6eb9779e354659ea86037bc1ee7589551fb55
]
},
{
Expand Down Expand Up @@ -994,10 +1076,17 @@
"id": "9171e9aa",
"metadata": {
"execution": {
<<<<<<< HEAD
"iopub.execute_input": "2023-12-30T23:20:14.985634Z",
"iopub.status.busy": "2023-12-30T23:20:14.985221Z",
"iopub.status.idle": "2023-12-30T23:20:15.003242Z",
"shell.execute_reply": "2023-12-30T23:20:15.002142Z"
=======
"iopub.execute_input": "2023-12-31T00:23:45.270225Z",
"iopub.status.busy": "2023-12-31T00:23:45.270044Z",
"iopub.status.idle": "2023-12-31T00:23:45.282504Z",
"shell.execute_reply": "2023-12-31T00:23:45.281937Z"
>>>>>>> 49b6eb9779e354659ea86037bc1ee7589551fb55
}
},
"outputs": [
Expand Down Expand Up @@ -1151,7 +1240,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
"version": "3.8.18"
}
},
"nbformat": 4,
Expand Down

0 comments on commit b81e38b

Please sign in to comment.