f0cal / google-coral

Community gathering point for Google Coral dev board and dongle knowledge.
108 stars 14 forks source link

Do the changes in TPU's frequency (STD, MAX) work in the devboard? what happens to the CPU's frequency during these changes? #87

Open aizzaac opened 4 years ago

aizzaac commented 4 years ago

What I ran

I changed the frequency from STD to MAX. Then I ran inference. I do not see difference when changing frequencies.

What the docs said should happen

I do not fully understand the docs. I am not sure whether the change in frequency works in the devboard or not.

What actually happened

There is not difference in inference speed when changing frequencies.

Namburger commented 4 years ago

The std library should only throttles if the usb tpu reach a certain temperature threshold, under normal conditions, the max should be the same as std. For the pcie devices, the tpu never throttles https://github.com/google-coral/libedgetpu/blob/642a289e4fb3932422b577a1c4c2bfc792ed1d15/tflite/edgetpu_manager_direct.cc#L124

cheers

aizzaac commented 4 years ago

In what category does the devboard fit: USB or PCIE?

Namburger commented 4 years ago

@aizzaac pcie for the dev board, usb is this one https://coral.ai/products/accelerator/