Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

power estimation and inference latency from the cycles and op/cycles statistics when running on gvsoc #423

Open
gwgknudayanga opened this issue Oct 1, 2024 · 2 comments

Comments

@gwgknudayanga
Copy link

Hi,

I am running my detector on gvsoc targeting gapuino - GAP8_V3.
I can get the cycles and Op/cycles statistics for each fused layer.
From these statistics how can i estimate the inference latency and the power consumption for a single inference?

  • Is there datasheet to get the energy/OP, latency/OP and so on?
    Thank you.
@Yaooooo
Copy link
Member

Yaooooo commented Oct 1, 2024

Hi,

For the latency, you just need to do: X cycles/ frequency you configued.
Since you can change the frequency, voltage of the chip different domain, it's not possible to estimate the power consumption, and having energy/OP, except measure with different frequency and voltage.

@gwgknudayanga
Copy link
Author

@Yaooooo Thank you for the reply.
In my common.mk i have the following which shows different frequency components. Out of these which one should i use?
Is it 250 or 175 that i use?

ifeq '$(TARGET_CHIP)' 'GAP8_V3'
FREQ_CL?=175
else
FREQ_CL?=50
endif
FREQ_FC?=250
FREQ_PE?=250

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants