Skip to content

How to build and run "ModelTests" unit tests #7660

Answered by ytaous
georgen117 asked this question in Other Q&A
Discussion options

You must be logged in to vote

To run it locally, you need to modify the .cc a little bit and enable "--enable_onnx_tests" in the build command. However, since the input data is not in public, so you won't be able to run it locally.
Example:
./build.sh --config Debug --use_cuda --enable_training --build_wheel --skip_tests --parallel 8 --enable_onnx_tests
./onnxruntime_test_all --gtest_filter=ModelTests*

In fact, the model input is proprietary and private, so we won't be able to share it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@georgen117
Comment options

Answer selected by georgen117
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants