test: Add backend_api_test to test backend APIs #8185
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does the PR do?
Tests modified and new
GetElementCount
andGetByteSize
functions.Checklist
<commit_type>: <Title>
Commit Type:
Check the conventional commit type
box here and add the label to the github PR.
Related PRs:
triton-inference-server/backend#112
triton-inference-server/onnxruntime_backend#304
triton-inference-server/tensorrt_backend#111
triton-inference-server/pytorch_backend#149
triton-inference-server/python_backend#400
triton-inference-server/openvino_backend#103
triton-inference-server/identity_backend#31
Where should the reviewer start?
Review the changes in backend_common.h and backend_common.cc to prevent overflow.
triton-inference-server/backend#112
https://github.com/triton-inference-server/backend/pull/112/files#diff-661bc0ad90b1e6c5a3d0638c5c29f84d0c369e88d204e0627a3d4e875fdea938
https://github.com/triton-inference-server/backend/pull/112/files#diff-5df7365d8ba293940afcb7a2fe4e551a76f75aa8f5db56c0fc44046ec64636a2
Test plan:
L0_input_validation--base
27941057
Caveats:
Background
Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)