Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yinggeh committed Jan 8, 2025
1 parent 170f897 commit 8e57747
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/infer_request.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@ InferenceRequest::Normalize()
}

if (model_config.has_sequence_batching()) {
RETURN_IF_ERROR(ValidateOverrideInputs());
RETURN_IF_ERROR(ValidateCorrelationId());
}

return Status::Success;
Expand Down Expand Up @@ -1410,7 +1410,7 @@ InferenceRequest::ValidateBytesInputs(
}

Status
InferenceRequest::ValidateOverrideInputs() const
InferenceRequest::ValidateCorrelationId() const
{
const inference::ModelConfig& model_config = model_raw_->Config();
const std::string& model_name = ModelName();
Expand Down
2 changes: 1 addition & 1 deletion src/infer_request.h
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ class InferenceRequest {
const std::string& model_name,
TRITONSERVER_MemoryType* buffer_memory_type) const;

Status ValidateOverrideInputs() const;
Status ValidateCorrelationId() const;

// Helpers for pending request metrics
void IncrementPendingRequestCount();
Expand Down

0 comments on commit 8e57747

Please sign in to comment.