Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup onnx test runner's code #23693

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Cleanup onnx test runner's code #23693

wants to merge 7 commits into from

Conversation

snnn
Copy link
Member

@snnn snnn commented Feb 13, 2025

Description

  1. Deleted protobuf file onnxruntime/test/proto/tml.proto. It was added by me in 2018. I tried to use it to define a new file format for the test data in onnx and onnx model zoo. Because the existing format didn't support non-tensor types. However, the data format wasn't actually used. And later on we defined another test data format for sparse tensors and the others(You can find the information in testcase.cc). Therefore this PR deletes the outdated code to make thing simpler.
  2. Deleted the OnnxModelInfo class in onnx_test_runner.
  3. Deleted some outdated tests in onnxruntime/test/ir/onnx_model_test.cc. They now can be covered in ONNX model tests.

To resolve Github issue #23684

Motivation and Context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant