microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.14k stars 2.85k forks source link

[Build] #17941

Open palaniappankvignesh opened 11 months ago

palaniappankvignesh commented 11 months ago

Describe the documentation issue

Hi,

I could not find onnx_test_runner mentioned in https://www.nxp.com/docs/en/user-guide/IMX-MACHINE-LEARNING-UG.pdf, page 25. I'm trying to execute models on imx hardware.

onnx runtime version :1.13.1

image

Page / URL

No response

natke commented 11 months ago

Hi @palaniappankvignesh

The test runner instructions are described here: https://github.com/microsoft/onnxruntime/blob/main/docs/Model_Test.md#compile-onnx_test_runner-and-run-the-tests

Please give this a try.

We will also work on improving the discoverability of this information.

palaniappankvignesh commented 10 months ago

I'm not able to execute the model file using the command mentioned in the screenshot attached. Its showing below error. image do we need a test runner to execute models?

palaniappankvignesh commented 10 months ago

unbale to run performance test also image

palaniappankvignesh commented 10 months ago

@snnn, I have tried the below steps to get onnx_test_runner.exe.

  1. Downloaded onnx runtime version 1.16.1 for windows.
  2. Executed build.bat
  3. Then create vs project using cmake using below command

cd build cmake C:\MTECH\FinalSem\onnxruntime-1.16.1\cmake

  1. sln file created and compiled the project in visual studio 2022
  2. All build process passed, except onnx_test_runner

76>Done building project "onnx_test_runner.vcxproj" -- FAILED. 75>Done building project "onnxruntime_perf_test.vcxproj" -- FAILED. 74>Done building project "onnxruntime_test_all.vcxproj" -- FAILED. 77>------ Build started: Project: ALL_BUILD, Configuration: Debug x64 ------ 77>Building Custom Rule C:/MTECH/FinalSem/onnxruntime-1.16.1/cmake/CMakeLists.txt 78>------ Skipped Build: Project: INSTALL, Configuration: Debug x64 ------ 78>Project not selected to build for this solution configuration ========== Build: 69 succeeded, 3 failed, 0 up-to-date, 6 skipped ========== ========== Build completed at 12:17 PM and took 22:14.978 minutes ==========

  1. I attached log file present in onnxruntime-1.16.1\onnx_test_runner.dir\Debug\onnx_test_runner.log onnx_test_runner.log

Need your inputs to fix these build error. Same I need to try it in cent os

github-actions[bot] commented 8 months ago

This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.