-
Notifications
You must be signed in to change notification settings - Fork 105
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
fix: Fix L0_request_cancellation and L0_backend_output_detail byte size checks #363
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.
thanks for the change and adhering to the template 🙏
@@ -175,7 +177,7 @@ class RequestCancellationTest : public ::testing::Test { | |||
}; | |||
|
|||
TRITONSERVER_Server* RequestCancellationTest::server_ = nullptr; | |||
std::vector<int32_t> RequestCancellationTest::input0_data_(16, 1); | |||
std::vector<int32_t> RequestCancellationTest::input0_data_(1000, 1); |
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.
Q: What's the point of changing it here?
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.
It has to match the std::vector<int64_t> input0_shape({1, 1000});
, which is also the shape specified in the config.pbtxt
of the model being used for testing
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.
Thanks for fixing request cancellation!
What does the PR do?
Recent byte size validation changes caught issues with the input metadata being provided by these tests.
This PR fixes this:
Checklist
<commit_type>: <Title>
Commit Type:
Check the conventional commit type
box here and add the label to the github PR.
Related PRs:
None
Where should the reviewer start?
N/A
Test plan:
Pre-existing tests
Caveats:
None
Background
None
Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)
None