1、I'm sure the NPU driver and environment configuration is well because the GitHub tutorial example runs well.
![swjtu_mxb_0-1712908979307.png swjtu_mxb_0-1712908979307.png](/t5/image/serverpage/image-id/108884i6A2064703F16B05D/image-size/medium?v=v2&px=400)
2、Quantization and deploy on CPU completely
I use the default quantize configuration for u-net model and deployed the u net quantized model on CPU completely, the result is correct.
![swjtu_mxb_1-1712909433914.png swjtu_mxb_1-1712909433914.png](/t5/image/serverpage/image-id/108885iD993FBEC1C8155B1/image-size/medium?v=v2&px=400)
![swjtu_mxb_2-1712909562923.png swjtu_mxb_2-1712909562923.png](/t5/image/serverpage/image-id/108886iB95B60C6670B77ED/image-size/medium?v=v2&px=400)
3、Deploy on the DPU
3.1 The session configuration is as following, and it seems nothing wrong with it.
![swjtu_mxb_3-1712909761126.png swjtu_mxb_3-1712909761126.png](/t5/image/serverpage/image-id/108887i4C0D59B57D4E2213/image-size/medium?v=v2&px=400)
3.2 The U-net model I use has some operators that is not supported by NPU.
![swjtu_mxb_4-1712909846099.png swjtu_mxb_4-1712909846099.png](/t5/image/serverpage/image-id/108888i33753E213F9C9E78/image-size/medium?v=v2&px=400)
3.3 When I run the model on DPU, the operators that DPU doesn't support is assigned to CPU and the compiler warns that I should specify the shape and the data type of the output tensor of this operation by
And the DPU warns DPU timeout: (Exception type: run: command error), Timeout layer name: [subgraph_/down1//maxpool_conv.0/MaxPool_output_0_DequantizeLinear_Output_vaip_71], Command failed to complete successfully (ERT_CMD_STATE_ERROR).
I guess that the operators DPU doesn't support is not defined in XIR and I should manually specify the shape and the data type.
![swjtu_mxb_5-1712910378612.png swjtu_mxb_5-1712910378612.png](/t5/image/serverpage/image-id/108889iFD5C62634B9F4431/image-size/medium?v=v2&px=400)
4 Problems
So, is the operator DPU doesn't support cause the timeout?
Where should I write the command set data type to indicate the compiler.
Thanks for your help.