cancel
Showing results for 
Search instead for 
Did you mean: 

N6 certain layers not run on the npu even though they are supported

M_Benz
Associate II

Hey,

I am trying to run a model on the n6 npu.

Currently most layers are run on the npu as the should but there are some layers which are executed on the SW target, even though the documentation states that the layer should be HW supported (in this case its the HardSigmoid layer). Changing the activation to a Sigmoid layer will make it run on the HW side. I thought it could be the case since in the documentation it states that sigmoid supports X*Sigmoid(X) and the problem layer is at a skip connection but i have early occurrences of the exact same HardSigmoid Skip connection pattern which are executed on the HW. Its only 2 of these blocks that are executed on the SW. Is this a bug or intential due to some optimization being done by the compiler.

I attached an image of the model graph and Cube AI Analyze output.

Thanks in advance

2 REPLIES 2
Julian E.
ST Employee

Hi @M_Benz,

 

First elements indicate that it could be a bug. 

I am asking confirmation internally.

 

I will update you.
If this is indeed a bug, its resolution will depend on the priority.

 

Could you please share the model?

 

If you feel like it is very important for your company project, please contact your local FAE.

 

Have a good day,

Julian


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Hey,

sorry for the late reply, I can't share the exact same model but i have a similiar model which still has the problem with one of these blocks beeing executed on the SW (Epoch 41-44)

 

Have a good day