-
Notifications
You must be signed in to change notification settings - Fork 1.6k
test: Add tests for response parameters support for BLS in Python backend #7987
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work on your first test case!
Two things I think we can enhance on:
- A test case when the BLS composing model is also decoupled.
- The BLS test may reuse the
response_paremeters_test.py
if it only differs slightly from the newresponse_parameters_bls_test.py
, i.e. model names.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice testing! I think the test coverage looks good, but would +1 on what Jacky suggested above, which would avoid some code duplications.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
8b2f2de
to
bc8f539
Compare
What does the PR do?
Add tests for response parameters support for BLS in Python backend
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/python_backend#395
Where should the reviewer start?
Start with test_setting_three_element_response_parameters test case first to get a sense on the feature, and then move on to other test cases, and finish with test_setting_response_parameters_decoupled test case.
Test plan:
Caveats:
NA
Background
NA
Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)
https://jirasw.nvidia.com/browse/DLIS-7520