diff --git a/src/c++/library/common.h b/src/c++/library/common.h index 913e78764..0588762a3 100644 --- a/src/c++/library/common.h +++ b/src/c++/library/common.h @@ -154,14 +154,13 @@ class InferenceServerClient { InferStat infer_stat_; }; -enum RequestParameterType { STRING = 0, INT = 1, UINT = 2, BOOL = 3 }; +enum RequestParameterType { STRING = 0, INT = 1, BOOL = 2 }; /// /// Structure to hold Request parameter data for Inference Request. /// struct RequestParameter { std::string str_value; int64_t int_value; - uint64_t uint_value; bool bool_value; RequestParameterType type; }; diff --git a/src/c++/library/grpc_client.cc b/src/c++/library/grpc_client.cc index 5b931cb44..36fdead87 100644 --- a/src/c++/library/grpc_client.cc +++ b/src/c++/library/grpc_client.cc @@ -1416,9 +1416,6 @@ InferenceServerGrpcClient::PreRunProcessing( } else if (param.second.type == RequestParameterType::INT) { (*infer_request_.mutable_parameters())[param.first].set_int64_param( param.second.int_value); - } else if (param.second.type == RequestParameterType::UINT) { - (*infer_request_.mutable_parameters())[param.first].set_uint64_param( - param.second.uint_value); } else if (param.second.type == RequestParameterType::BOOL) { (*infer_request_.mutable_parameters())[param.first].set_bool_param( param.second.bool_value); diff --git a/src/c++/perf_analyzer/client_backend/client_backend.h b/src/c++/perf_analyzer/client_backend/client_backend.h index 526377208..3070afaa2 100644 --- a/src/c++/perf_analyzer/client_backend/client_backend.h +++ b/src/c++/perf_analyzer/client_backend/client_backend.h @@ -192,14 +192,13 @@ struct ModelStatistics { uint64_t cache_miss_time_ns_; }; -enum RequestParameterType { STRING = 0, INT = 1, UINT = 2, BOOL = 3 }; +enum RequestParameterType { STRING = 0, INT = 1, BOOL = 2 }; /// /// Structure to hold Request parameter data for Inference Request. /// struct RequestParameter { std::string str_value; int64_t int_value; - uint64_t uint_value; bool bool_value; RequestParameterType type; }; diff --git a/src/c++/perf_analyzer/client_backend/triton/triton_client_backend.cc b/src/c++/perf_analyzer/client_backend/triton/triton_client_backend.cc index b57260f86..67ee4ac12 100644 --- a/src/c++/perf_analyzer/client_backend/triton/triton_client_backend.cc +++ b/src/c++/perf_analyzer/client_backend/triton/triton_client_backend.cc @@ -595,7 +595,6 @@ TritonClientBackend::ParseInferOptionsToTriton( auto rp = tc::RequestParameter(); rp.str_value = map_entry.second.str_value; rp.int_value = map_entry.second.int_value; - rp.uint_value = map_entry.second.uint_value; rp.bool_value = map_entry.second.bool_value; uint64_t val = static_cast::type>( @@ -604,8 +603,6 @@ TritonClientBackend::ParseInferOptionsToTriton( triton_options->request_parameters.insert( std::make_pair(map_entry.first, rp)); } - // triton_options->request_parameters.insert(rp) - // options.request_parameters.begin(), options.request_parameters.end()); }