Profiling on i.MX95

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Profiling on i.MX95

跳至解决方案
748 次查看
EOF
Contributor II

Hi all,

Is there a tool available to profile the runtime performance of the NPU and CPU (separately) on the i.MX95?

So far, I found a related discussion pointing to Section 7.1.2 “Profiling on hardware accelerators” in the ML User Guide, but this appears to apply only to the i.MX8 platform.

I also found that in Section 7.2.10 of the ML User Guide there is a functionality described specifically for the i.MX93.

 

1) Is there an equivalent vela-prof profiling tool or workflow available for the i.MX95?

 

2) I also want to please know which command did you use to get the benchmark numbers (see photo) gathered from nxp-demo 

e. g. my guess is something like: ./benchmark_model --graph=label.tflite --enable_op_profiling=true --external_delegate_path=/usr/lib/libneutron_delegate.so

image.png

3) Which Yocto BSD version was used for the benchmark shown in the photo?

 

I would appreciate if you can please reply my three questions, thank you in advance!

 

Best regards,
EOF

0 项奖励
回复
1 解答
646 次查看
yipingwang
NXP TechSupport
NXP TechSupport

The Neutron Profiling feature will be supported in the new release of eIQ AI toolkit (new version of eIQ toolkit). 

The work flow will be:

1. Run the model on the i.MX95 target, and the profiling data will be collected.

2. Export the profiling data and copy it to the PC where eIQ AI toolkit is installed, and use eIQ AI toolkit to visualize the profiling data.

The eIQ AI toolkit will be released soon (should be ready by the end of 2026 March), you can try the feature after the release.

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
647 次查看
yipingwang
NXP TechSupport
NXP TechSupport

The Neutron Profiling feature will be supported in the new release of eIQ AI toolkit (new version of eIQ toolkit). 

The work flow will be:

1. Run the model on the i.MX95 target, and the profiling data will be collected.

2. Export the profiling data and copy it to the PC where eIQ AI toolkit is installed, and use eIQ AI toolkit to visualize the profiling data.

The eIQ AI toolkit will be released soon (should be ready by the end of 2026 March), you can try the feature after the release.

 

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2331315%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9C%A8%20i.mx95%20%E4%B8%8A%E8%BF%9B%E8%A1%8C%E5%88%86%E6%9E%90%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2331315%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%A4%A7%E5%AE%B6%E5%A5%BD%EF%BC%8C%3C%2FP%3E%3CP%3E%E6%98%AF%E5%90%A6%E6%9C%89%E5%B7%A5%E5%85%B7%E5%8F%AF%E4%BB%A5%E5%9C%A8%20%3CSTRONG%3Ei.MX95%20%E4%B8%8A%E5%88%86%E6%9E%90%20NPU%20%E5%92%8C%20CPU%EF%BC%88%E5%88%86%E5%BC%80%EF%BC%89%E7%9A%84%3C%2FSTRONG%3E%E8%BF%90%E8%A1%8C%E6%97%B6%E6%80%A7%E8%83%BD%EF%BC%9F%3C%2FP%3E%3CP%3E%E5%88%B0%E7%9B%AE%E5%89%8D%E4%B8%BA%E6%AD%A2%EF%BC%8C%E6%88%91%E6%89%BE%E5%88%B0%E4%BA%86%E4%B8%80%E4%B8%AA%E7%9B%B8%E5%85%B3%E8%AE%A8%E8%AE%BA%EF%BC%8C%E6%8C%87%E5%90%91%E3%80%8A%3CSTRONG%3E%20%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0%E7%94%A8%E6%88%B7%E6%8C%87%E5%8D%97%E3%80%8B%E4%B8%AD%E7%9A%84%E7%AC%AC%207.1.2%20%E8%8A%82%3C%2FSTRONG%3E%20%E2%80%9C%E7%A1%AC%E4%BB%B6%E5%8A%A0%E9%80%9F%E5%99%A8%E6%88%91%E7%9A%84%E2%80%9D%EF%BC%8C%E4%BD%86%E8%BF%99%E4%BC%BC%E4%B9%8E%E4%BB%85%E9%80%82%E7%94%A8%E4%BA%8E%3CSTRONG%3E%20i.MX8%20%E5%B9%B3%E5%8F%B0%3C%2FSTRONG%3E%20%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%91%E8%BF%98%E5%8F%91%E7%8E%B0%EF%BC%8C%E5%9C%A8%3CSTRONG%3E%E3%80%8AML%20%E7%94%A8%E6%88%B7%E6%8C%87%E5%8D%97%E3%80%8B%E7%AC%AC%207.2.10%20%E8%8A%82%E4%B8%AD%E6%9C%89%20%3C%2FSTRONG%3E%E4%B8%93%E9%97%A8%E9%92%88%E5%AF%B9%3CSTRONG%3Ei.MX93%3C%2FSTRONG%3E%20%E7%9A%84%E5%8A%9F%E8%83%BD%20%E6%8F%8F%E8%BF%B0%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E1)%20%E6%98%AF%E5%90%A6%E6%9C%89%E9%80%82%E7%94%A8%E4%BA%8E%3CSTRONG%3E%20i.MX95%3C%2FSTRONG%3E%20%E7%9A%84%E7%AD%89%E6%95%88%E7%9A%84%3CSTRONG%3E%20vela-prof%3C%2FSTRONG%3E%20%E5%88%86%E6%9E%90%E5%B7%A5%E5%85%B7%E6%88%96%E5%B7%A5%E4%BD%9C%E6%B5%81%E7%A8%8B%EF%BC%9F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E2)%20%E6%88%91%E8%BF%98%E6%83%B3%E7%9F%A5%E9%81%93%EF%BC%8C%E6%82%A8%E4%BD%BF%E7%94%A8%E5%93%AA%E4%B8%AA%E5%91%BD%E4%BB%A4%E8%8E%B7%E5%BE%97%E4%BA%86%E4%BB%8E%3CA%20href%3D%22http%3A%2F%2Fnxp-demo-experience-demos-list%2Fscripts%2Fmachine_learning%2Fnnstreamer%2Fclassification%2FREADME.md%20at%20lf-6.6.52_2.2.0%20%C2%B7%20nxp-imx-support%2Fnxp-demo-experience-demos-list%20%C2%B7%20GitHub%26nbsp%3B%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Enxp-demo%3C%2FA%3E%E6%94%B6%E9%9B%86%E7%9A%84%E5%9F%BA%E5%87%86%E6%95%B0%E6%8D%AE%EF%BC%88%E8%A7%81%E7%85%A7%E7%89%87%EF%BC%89%EF%BC%9F%20%3C%2FP%3E%3CP%3E%E4%BE%8B%E5%A6%82%EF%BC%8C%E6%88%91%E7%9A%84%E7%8C%9C%E6%B5%8B%E5%A6%82%E4%B8%8B.%2Fbenchmark_model%20--graph%3Dlabel.tflite%3CSPAN%3E--enable_op_profiling%3Dtrue%20--external_delegate_path%3D%2Fusr%2Flib%2Flibneutron_delegate.%3C%2FSPAN%3Eso%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20632px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20632px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20632px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F379077i55A84024D470125F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E3)%20%E7%85%A7%E7%89%87%E4%B8%AD%E7%9A%84%E5%9F%BA%E5%87%86%E6%B5%8B%E8%AF%95%E4%BD%BF%E7%94%A8%E7%9A%84%E6%98%AF%E5%93%AA%E4%B8%AA%20Yocto%20BSD%20%E7%89%88%E6%9C%AC%EF%BC%9F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E8%AF%B7%E6%82%A8%E5%9B%9E%E7%AD%94%E6%88%91%E7%9A%84%E4%B8%89%E4%B8%AA%E9%97%AE%E9%A2%98%EF%BC%8C%E4%B8%8D%E8%83%9C%E6%84%9F%E6%BF%80%EF%BC%81%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E8%87%B4%E4%BB%A5%E6%9C%80%E5%B4%87%E9%AB%98%E7%9A%84%E6%95%AC%E6%84%8F%EF%BC%8C%3CBR%20%2F%3EEOF%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2333908%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Profiling%20on%20i.MX95%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2333908%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%96%B0%E7%89%88%E6%9C%AC%E7%9A%84eIQ%20AI%E5%B7%A5%E5%85%B7%E5%8C%85%EF%BC%88eIQ%E5%B7%A5%E5%85%B7%E5%8C%85%E7%9A%84%E6%96%B0%E7%89%88%E6%9C%AC%EF%BC%89%E5%B0%86%E6%94%AF%E6%8C%81%E4%B8%AD%E5%AD%90%E6%88%91%E7%9A%84%E5%8A%9F%E8%83%BD%E3%80%82%3C%2FP%3E%0A%3CP%3E%E5%B7%A5%E4%BD%9C%E6%B5%81%E7%A8%8B%E5%A6%82%E4%B8%8B%3C%2FP%3E%0A%3CP%3E1%E3%80%82%E5%9C%A8%20i.MX95%20%E7%9B%AE%E6%A0%87%E4%B8%8A%E8%BF%90%E8%A1%8C%E6%A8%A1%E5%9E%8B%EF%BC%8C%E6%88%91%E7%9A%84%E6%95%B0%E6%8D%AE%E5%B0%86%E8%A2%AB%E6%94%B6%E9%9B%86%E3%80%82%3C%2FP%3E%0A%3CP%3E2.%20%E5%AF%BC%E5%87%BA%E6%88%91%E7%9A%84%E6%95%B0%E6%8D%AE%E5%B9%B6%E5%B0%86%E5%85%B6%E5%A4%8D%E5%88%B6%E5%88%B0%E5%AE%89%E8%A3%85%E4%BA%86%20eIQ%20AI%20%E5%B7%A5%E5%85%B7%E5%8C%85%E7%9A%84%20PC%20%E4%B8%8A%EF%BC%8C%E7%84%B6%E5%90%8E%E4%BD%BF%E7%94%A8%20eIQ%20AI%20%E5%B7%A5%E5%85%B7%E5%8C%85%E5%AF%B9%E6%88%91%E7%9A%84%E6%95%B0%E6%8D%AE%E8%BF%9B%E8%A1%8C%E5%8F%AF%E8%A7%86%E5%8C%96%E3%80%82%3C%2FP%3E%0A%3CP%3EeIQ%20AI%20%E5%B7%A5%E5%85%B7%E5%8C%85%E5%8D%B3%E5%B0%86%E6%8E%A8%E5%87%BA%E6%96%B0%E7%89%88%E6%9C%AC%EF%BC%88%E5%BA%94%E5%9C%A8%202026%20%E5%B9%B4%203%20%E6%9C%88%E5%BA%95%E4%B9%8B%E5%89%8D%E5%87%86%E5%A4%87%E5%B0%B1%E7%BB%AA%EF%BC%89%EF%BC%8C%E4%BD%A0%E5%8F%AF%E4%BB%A5%E5%9C%A8%E7%89%88%E6%9C%AC%E5%8F%91%E5%B8%83%E5%90%8E%E8%AF%95%E7%94%A8%E8%AF%A5%E5%8A%9F%E8%83%BD%E3%80%82%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E