<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: IMX93 NPU in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX93-NPU/m-p/2207227#M242256</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/255264"&gt;@James33&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried the getting started guide on my side , it runs very well.&amp;nbsp; &amp;nbsp;I am using LF6.12.34 (the latest version).&amp;nbsp; &amp;nbsp;I attached the logs here.&amp;nbsp; &amp;nbsp;I would suggest you try this version again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;root@imx93evk:/usr/bin/ethosu/examples# ./inference_runner -n ./output/mobilenet_v1_1.0_224_quant_vela.tflite .txt&lt;BR /&gt;Send Ping&lt;BR /&gt;Send version request&lt;BR /&gt;Send capabilities request&lt;BR /&gt;Capabilities:&lt;BR /&gt;version_status:1&lt;BR /&gt;version:{ major=0, minor=0, patch=0 }&lt;BR /&gt;product:{ major=6, minor=0, patch=0 }&lt;BR /&gt;architecture:{ major=1, minor=0, patch=6 }&lt;BR /&gt;driver:{ major=0, minor=16, patch=0 }&lt;BR /&gt;macs_per_cc:8&lt;BR /&gt;cmd_stream_version:0&lt;BR /&gt;custom_dma:false&lt;BR /&gt;Create network&lt;BR /&gt;Create inference&lt;BR /&gt;output offset(150528)..size(1001)....&lt;BR /&gt;Wait for inference&lt;BR /&gt;Inference status: ok&lt;BR /&gt;Output size: 1001&lt;/P&gt;
&lt;P&gt;Detected: military uniform, confidence:72&lt;BR /&gt;root@imx93evk:/usr/bin/ethosu/examples#&lt;BR /&gt;root@imx93evk:/usr/bin/ethosu/examples#&lt;BR /&gt;root@imx93evk:/usr/bin/ethosu/examples#&lt;BR /&gt;root@imx93evk:/usr/bin/ethosu/examples#&lt;BR /&gt;root@imx93evk:/usr/bin/ethosu/examples#&lt;BR /&gt;root@imx93evk:/usr/bin/ethosu/examples# cd /usr/bin/tensorflow-lite-2.19.0/examples/&lt;BR /&gt;root@imx93evk:/usr/bin/tensorflow-lite-2.19.0/examples# ./label_image -m ../../ethosu/examples/output/mobilenelegate_path=/usr/lib/libethosu_delegate.so&lt;BR /&gt;INFO: Loaded model ../../ethosu/examples/output/mobilenet_v1_1.0_224_quant_vela.tflite&lt;BR /&gt;INFO: resolved reporter&lt;BR /&gt;INFO: Ethosu delegate: device_name set to /dev/ethosu0.&lt;BR /&gt;INFO: Ethosu delegate: cache_file_path set to .&lt;BR /&gt;INFO: Ethosu delegate: timeout set to 60000000000.&lt;BR /&gt;INFO: Ethosu delegate: enable_cycle_counter set to 0.&lt;BR /&gt;INFO: Ethosu delegate: enable_profiling set to 0.&lt;BR /&gt;INFO: Ethosu delegate: profiling_buffer_size set to 2048.&lt;BR /&gt;INFO: Ethosu delegate: pmu_event0 set to 0.&lt;BR /&gt;INFO: Ethosu delegate: pmu_event1 set to 0.&lt;BR /&gt;INFO: Ethosu delegate: pmu_event2 set to 0.&lt;BR /&gt;INFO: Ethosu delegate: pmu_event3 set to 0.&lt;BR /&gt;INFO: EXTERNAL delegate created.&lt;BR /&gt;INFO: EthosuDelegate: 1 nodes delegated out of 1 nodes with 1 partitions.&lt;BR /&gt;INFO: Applied EXTERNAL delegate.&lt;BR /&gt;INFO: invoked&lt;BR /&gt;INFO: average time: 3.759 ms&lt;BR /&gt;INFO: 0.780392: 653 military uniform&lt;BR /&gt;INFO: 0.105882: 907 Windsor tie&lt;BR /&gt;INFO: 0.0156863: 458 bow tie&lt;BR /&gt;INFO: 0.0117647: 466 bulletproof vest&lt;BR /&gt;INFO: 0.00784314: 835 suit&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Wed, 19 Nov 2025 03:01:58 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2025-11-19T03:01:58Z</dc:date>
    <item>
      <title>IMX93 NPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX93-NPU/m-p/2205987#M242216</link>
      <description>&lt;P&gt;Dear NXP Community Experts/Engineers,&lt;BR /&gt;Hello! Thank you for taking the time to review my question.&lt;/P&gt;&lt;P&gt;I'm trying to use NPU to accelerate inference on the IMX9352 development board.&lt;BR /&gt;-chip: imx9352&lt;BR /&gt;-yocto version: scarthgap 6.6.52&lt;/P&gt;&lt;P&gt;I read the document &amp;lt;i.MX Machine Learning User's Guide.pdf&amp;gt;, followed the steps in Section 6.2.3, and the console output incorrect print information.&lt;BR /&gt;commands:&lt;BR /&gt;# cd /usr/bin/ethosu/examples&lt;BR /&gt;# cp ../../tensorflow-lite-2.16.2/examples/labels.txt ./&lt;BR /&gt;# cp ../../tensorflow-lite-2.16.2/examples/grace_hopper.bmp ./&lt;/P&gt;&lt;P&gt;# vela ../../tensorflow-lite-2.16.2/examples/mobilenet_v1_1.0_224_quant.tflite&lt;/P&gt;&lt;P&gt;# ./inference_runner -n ./output/mobilenet_v1_1.0_224_quant_vela.tflite -i grace_hopper.bmp -l labels.txt -o output.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;error message:&lt;BR /&gt;root@imx93-11x11-lpddr4x-evk:/usr/bin/ethosu/examples# ./inference_runner -n ./output/mobilenet_v1_1.0_224_quant_vela.tflite -i grace_hopper.bmp -l labels.txt -o output.txt&lt;BR /&gt;Send Ping&lt;BR /&gt;Send version request&lt;BR /&gt;Send capabilities request&lt;BR /&gt;Capabilities:&lt;BR /&gt;version_status:1&lt;BR /&gt;version:{ major=0, minor=0, patch=0 }&lt;BR /&gt;product:{ major=6, minor=0, patch=0 }&lt;BR /&gt;architecture:{ major=1, minor=0, patch=6 }&lt;BR /&gt;driver:{ major=0, minor=16, patch=0 }&lt;BR /&gt;macs_per_cc:8&lt;BR /&gt;cmd_stream_version:0&lt;BR /&gt;custom_dma:false&lt;BR /&gt;Create network&lt;BR /&gt;Error: IOCTL failed&lt;/P&gt;&lt;P&gt;According to Section 8.1.2, the object detection case can run normally, but if the parameter "-d /usr/lib/libethosu_delegate.so" is added, it cannot run.&lt;BR /&gt;here is the logs:&lt;/P&gt;&lt;P&gt;root@imx93-11x11-lpddr4x-evk:/usr/bin/eiq-examples-git/object_detection# python3 main.py -i /dev/video1 -d /usr/lib/libethosu_delegate.so&lt;BR /&gt;[ WARN:0@1.827] global cap_gstreamer.cpp:2839 handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module source reported: Could not read from resource.&lt;BR /&gt;[ WARN:0@1.831] global cap_gstreamer.cpp:1698 open OpenCV | GStreamer warning: unable to start pipeline&lt;BR /&gt;[ WARN:0@1.831] global cap_gstreamer.cpp:1173 isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created&lt;BR /&gt;INFO: Ethosu delegate: device_name set to /dev/ethosu0.&lt;BR /&gt;INFO: Ethosu delegate: cache_file_path set to .&lt;BR /&gt;INFO: Ethosu delegate: timeout set to 60000000000.&lt;BR /&gt;INFO: Ethosu delegate: enable_cycle_counter set to 0.&lt;BR /&gt;INFO: Ethosu delegate: enable_profiling set to 0.&lt;BR /&gt;INFO: Ethosu delegate: profiling_buffer_size set to 2048.&lt;BR /&gt;INFO: Ethosu delegate: pmu_event0 set to 0.&lt;BR /&gt;INFO: Ethosu delegate: pmu_event1 set to 0.&lt;BR /&gt;INFO: Ethosu delegate: pmu_event2 set to 0.&lt;BR /&gt;INFO: Ethosu delegate: pmu_event3 set to 0.&lt;BR /&gt;INFO: EthosuDelegate: 108 nodes delegated out of 111 nodes with 1 partitions.&lt;BR /&gt;INFO: Created TensorFlow Lite XNNPACK delegate for CPU.&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/usr/bin/eiq-examples-git/object_detection/main.py", line 68, in &amp;lt;module&amp;gt;&lt;BR /&gt;interpreter.invoke()&lt;BR /&gt;File "/usr/lib/python3.12/site-packages/tflite_runtime/interpreter.py", line 941, in invoke&lt;BR /&gt;self._interpreter.Invoke()&lt;BR /&gt;RuntimeError: Ethos_u inference failed&lt;BR /&gt;Node number 111 (EthosuDelegate) failed to invoke.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to know how to test whether my NPU can work properly and how to use it correctly for accelerated inference. I have an object detection model, detect.tflite(SSD_V2), and I hope to use the NPU on IMX93 to accelerate the inference function of this model.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The complete print information can be found in the attachment "logs.txt".&lt;/P&gt;&lt;P&gt;Thank you again for your assistance! Please let me know if you need any additional information.I will provide it promptly.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;James&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 09:48:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX93-NPU/m-p/2205987#M242216</guid>
      <dc:creator>James33</dc:creator>
      <dc:date>2025-11-17T09:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: IMX93 NPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX93-NPU/m-p/2207227#M242256</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/255264"&gt;@James33&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried the getting started guide on my side , it runs very well.&amp;nbsp; &amp;nbsp;I am using LF6.12.34 (the latest version).&amp;nbsp; &amp;nbsp;I attached the logs here.&amp;nbsp; &amp;nbsp;I would suggest you try this version again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;root@imx93evk:/usr/bin/ethosu/examples# ./inference_runner -n ./output/mobilenet_v1_1.0_224_quant_vela.tflite .txt&lt;BR /&gt;Send Ping&lt;BR /&gt;Send version request&lt;BR /&gt;Send capabilities request&lt;BR /&gt;Capabilities:&lt;BR /&gt;version_status:1&lt;BR /&gt;version:{ major=0, minor=0, patch=0 }&lt;BR /&gt;product:{ major=6, minor=0, patch=0 }&lt;BR /&gt;architecture:{ major=1, minor=0, patch=6 }&lt;BR /&gt;driver:{ major=0, minor=16, patch=0 }&lt;BR /&gt;macs_per_cc:8&lt;BR /&gt;cmd_stream_version:0&lt;BR /&gt;custom_dma:false&lt;BR /&gt;Create network&lt;BR /&gt;Create inference&lt;BR /&gt;output offset(150528)..size(1001)....&lt;BR /&gt;Wait for inference&lt;BR /&gt;Inference status: ok&lt;BR /&gt;Output size: 1001&lt;/P&gt;
&lt;P&gt;Detected: military uniform, confidence:72&lt;BR /&gt;root@imx93evk:/usr/bin/ethosu/examples#&lt;BR /&gt;root@imx93evk:/usr/bin/ethosu/examples#&lt;BR /&gt;root@imx93evk:/usr/bin/ethosu/examples#&lt;BR /&gt;root@imx93evk:/usr/bin/ethosu/examples#&lt;BR /&gt;root@imx93evk:/usr/bin/ethosu/examples#&lt;BR /&gt;root@imx93evk:/usr/bin/ethosu/examples# cd /usr/bin/tensorflow-lite-2.19.0/examples/&lt;BR /&gt;root@imx93evk:/usr/bin/tensorflow-lite-2.19.0/examples# ./label_image -m ../../ethosu/examples/output/mobilenelegate_path=/usr/lib/libethosu_delegate.so&lt;BR /&gt;INFO: Loaded model ../../ethosu/examples/output/mobilenet_v1_1.0_224_quant_vela.tflite&lt;BR /&gt;INFO: resolved reporter&lt;BR /&gt;INFO: Ethosu delegate: device_name set to /dev/ethosu0.&lt;BR /&gt;INFO: Ethosu delegate: cache_file_path set to .&lt;BR /&gt;INFO: Ethosu delegate: timeout set to 60000000000.&lt;BR /&gt;INFO: Ethosu delegate: enable_cycle_counter set to 0.&lt;BR /&gt;INFO: Ethosu delegate: enable_profiling set to 0.&lt;BR /&gt;INFO: Ethosu delegate: profiling_buffer_size set to 2048.&lt;BR /&gt;INFO: Ethosu delegate: pmu_event0 set to 0.&lt;BR /&gt;INFO: Ethosu delegate: pmu_event1 set to 0.&lt;BR /&gt;INFO: Ethosu delegate: pmu_event2 set to 0.&lt;BR /&gt;INFO: Ethosu delegate: pmu_event3 set to 0.&lt;BR /&gt;INFO: EXTERNAL delegate created.&lt;BR /&gt;INFO: EthosuDelegate: 1 nodes delegated out of 1 nodes with 1 partitions.&lt;BR /&gt;INFO: Applied EXTERNAL delegate.&lt;BR /&gt;INFO: invoked&lt;BR /&gt;INFO: average time: 3.759 ms&lt;BR /&gt;INFO: 0.780392: 653 military uniform&lt;BR /&gt;INFO: 0.105882: 907 Windsor tie&lt;BR /&gt;INFO: 0.0156863: 458 bow tie&lt;BR /&gt;INFO: 0.0117647: 466 bulletproof vest&lt;BR /&gt;INFO: 0.00784314: 835 suit&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 03:01:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX93-NPU/m-p/2207227#M242256</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2025-11-19T03:01:58Z</dc:date>
    </item>
  </channel>
</rss>

