Running and Verification
After ONNX Runtime is compiled and installed, use the official unit test (UT) program onnxruntime_test_all to run and verify ONNX Runtime. This program, automatically built during CMake compilation, executes comprehensive tests validating functionality including: core operators, executors, serialization/deserialization, model loading, and hardware accelerator integrations.
- Go to the /path/to/ONNX_Runtime/build/RelWithDebInfo directory.
cd /path/to/ONNX_Runtime/build/RelWithDebInfo
- Run the following command to run onnxruntime_test_all:
./onnxruntime_test_all
If the following information is displayed and no error is reported during the test, the ONNX Runtime verification is complete.
