File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -807,7 +807,9 @@ InferenceRequest::Normalize()
807
807
if (!has_one_element) {
808
808
return Status (
809
809
Status::Code::INVALID_ARG, LogRequest () +
810
- " For BYTE datatype raw input, the "
810
+ " For BYTE datatype raw input '" +
811
+ config_input.name () +
812
+ " ', the "
811
813
" model must have input shape [1]" );
812
814
}
813
815
// In the case of BYTE data type, we will prepend the byte size to follow
@@ -946,13 +948,13 @@ InferenceRequest::Normalize()
946
948
if (input.DType () != input_config->data_type ()) {
947
949
return Status (
948
950
Status::Code::INVALID_ARG,
949
- LogRequest () + " inference input data-type is '" +
951
+ LogRequest () + " inference input ' " + pr. first + " ' data-type is '" +
950
952
std::string (
951
953
triton::common::DataTypeToProtocolString (input.DType ())) +
952
- " ', model expects '" +
954
+ " ', but model ' " + ModelName () + " ' expects '" +
953
955
std::string (triton::common::DataTypeToProtocolString (
954
956
input_config->data_type ())) +
955
- " ' for ' " + ModelName () + " ' " );
957
+ " '" );
956
958
}
957
959
958
960
// Validate input shape
You can’t perform that action at this time.
0 commit comments