Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

NCS Shave Configuration

idata
Employee
859 Views

I see that mvNCCompile has a "-s" switch for configuring the maximum number of shaves at compile-time. I have 2 questions related to this:

 

1) Is there any way to configure the exact number of shaves to be used and not the maximum ?

 

2) Can the shaves be turned on/off at run-time through through some API that is already available or otherwise ?

 

Thanks.

0 Kudos
2 Replies
idata
Employee
577 Views

Any thoughts guys ? Trying to get a feel for the impact of the number of shaves on perf - more precise/runtime control would help.

0 Kudos
idata
Employee
577 Views

@darrengreene At the moment, there isn't a way to configure the exact number of SHAVEs to be used via the API or the toolkit.

 

The reason for implementing the -s option the way we did was for power and performance reasons. The device runtime code may use fewer SHAVEs for some layers where measurements have typically shown no inference performance degradation (and consequently show a power benefit) from using fewer SHAVEs.

0 Kudos
Reply