NeuromorphicProcessorProject / snn_toolbox

Toolbox for converting analog to spiking neural networks (ANN to SNN), and running them in a spiking neuron simulator.
MIT License
360 stars 104 forks source link

Energy and runtime estimation for running the SNN on neuromorphic simulator #139

Closed shreshth-29 closed 9 months ago

shreshth-29 commented 1 year ago

From what I understand, the results are obtained on a neuromorphic simulator (INI for example). It gives the performance metrics, but I was wondering if there was a way to obtain the energy consumption, inference time and the no. of MACC operations as well?

rbodo commented 1 year ago

Hi, for the INI simulator, you also get the number of MACC operations, but not energy consumption or inference time because the simulation runs on a GPU and does not reflect truly asynchronous processing on dedicated hardware. See also #70 for an explanation of the logged data.

shreshth-29 commented 1 year ago

Thanks for the reply! Now for the snn , we get 'operations' and not 'mac' operations. Are these all accumulate operations or multiply and accumulate?

On Thu, 22 Jun, 2023, 3:22 am Bodo Rueckauer, @.***> wrote:

Hi, for the INI simulator, you also get the number of MACC operations, but not energy consumption or inference time because the simulation runs on a GPU and does not reflect truly asynchronous processing on dedicated hardware. See also #70 https://github.com/NeuromorphicProcessorProject/snn_toolbox/issues/70 for an explanation of the logged data.

— Reply to this email directly, view it on GitHub https://github.com/NeuromorphicProcessorProject/snn_toolbox/issues/139#issuecomment-1602138073, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASM5V7IF62XK56DU3L3JODDXMPW3ZANCNFSM6AAAAAAZIOSAUA . You are receiving this because you authored the thread.Message ID: @.*** com>

rbodo commented 1 year ago

only accumulate ops in the SNN.