Profiling on i.MX95

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Profiling on i.MX95

Jump to solution
619 Views
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 Kudos
Reply
1 Solution
517 Views
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.

 

View solution in original post

0 Kudos
Reply
1 Reply
518 Views
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 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2331315%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EProfiling%20on%20i.MX95%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2331315%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3EIs%20there%20a%20tool%20available%20to%20profile%20the%20runtime%20performance%20of%20the%20%3CSTRONG%3ENPU%20and%20CPU%20(separately)%20on%20the%20i.MX95%3C%2FSTRONG%3E%3F%3C%2FP%3E%3CP%3ESo%20far%2C%20I%20found%20a%20related%20discussion%20pointing%20to%20%3CSTRONG%3ESection%207.1.2%20%E2%80%9CProfiling%20on%20hardware%20accelerators%E2%80%9D%20in%20the%20ML%20User%20Guide%3C%2FSTRONG%3E%2C%20but%20this%20appears%20to%20apply%20only%20to%20the%20%3CSTRONG%3Ei.MX8%20platform%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3EI%20also%20found%20that%20in%26nbsp%3B%3CSTRONG%3ESection%207.2.10%20of%20the%20ML%20User%20Guide%20there%20is%20a%20functionality%26nbsp%3B%3C%2FSTRONG%3Edescribed%20specifically%20for%20the%20%3CSTRONG%3Ei.MX93%3C%2FSTRONG%3E.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E1)%20Is%20there%20an%20equivalent%20%3CSTRONG%3Evela-prof%3C%2FSTRONG%3E%20profiling%20tool%20or%20workflow%20available%20for%20the%20%3CSTRONG%3Ei.MX95%3C%2FSTRONG%3E%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E2)%20I%20also%20want%20to%20please%20know%20which%20command%20did%20you%20use%20to%20get%20the%20benchmark%20numbers%20(see%20photo)%20gathered%20from%26nbsp%3B%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%26nbsp%3B%3C%2FP%3E%3CP%3Ee.%20g.%20my%20guess%20is%20something%20like%3A%26nbsp%3B.%2Fbenchmark_model%20--graph%3Dlabel.tflite%20--enable_op_profiling%3Dtrue%26nbsp%3B%3CSPAN%3E--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)%20Which%20Yocto%20BSD%20version%20was%20used%20for%20the%20benchmark%20shown%20in%20the%20photo%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20would%20appreciate%20if%20you%20can%20please%20reply%20my%20three%20questions%2C%20thank%20you%20in%20advance!%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBest%20regards%2C%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%3EThe%20Neutron%20Profiling%20feature%20will%20be%20supported%20in%20the%20new%20release%20of%20eIQ%20AI%20toolkit%20(new%20version%20of%20eIQ%20toolkit).%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20work%20flow%20will%20be%3A%3C%2FP%3E%0A%3CP%3E1.%20Run%20the%20model%20on%20the%20i.MX95%20target%2C%20and%20the%20profiling%20data%20will%20be%20collected.%3C%2FP%3E%0A%3CP%3E2.%20Export%20the%20profiling%20data%20and%20copy%20it%20to%20the%20PC%20where%20eIQ%20AI%20toolkit%20is%20installed%2C%20and%20use%20eIQ%20AI%20toolkit%20to%20visualize%20the%20profiling%20data.%3C%2FP%3E%0A%3CP%3EThe%20eIQ%20AI%20toolkit%20will%20be%20released%20soon%20(should%20be%20ready%20by%20the%20end%20of%202026%20March)%2C%20you%20can%20try%20the%20feature%20after%20the%20release.%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E