From 8c9fe0c9d9eac48114ca5055eeb05eb3041e087f Mon Sep 17 00:00:00 2001 From: Yingge He Date: Mon, 14 Oct 2024 14:40:47 -0700 Subject: [PATCH] Minor update --- src/backend_model_instance.cc | 2 +- src/metrics.cc | 2 +- src/model.cc | 2 +- src/model.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend_model_instance.cc b/src/backend_model_instance.cc index ba35e2fbd..87b602c82 100644 --- a/src/backend_model_instance.cc +++ b/src/backend_model_instance.cc @@ -192,7 +192,7 @@ TritonModelInstance::TritonModelInstance( model_->Server()->ResponseCacheEnabled(); MetricModelReporter::Create( model_->ModelId(), model_->Version(), id, response_cache_enabled, - model_->isDecoupled(), model_->Config().metric_tags(), &reporter_); + model_->IsDecoupled(), model_->Config().metric_tags(), &reporter_); } #endif // TRITON_ENABLE_METRICS } diff --git a/src/metrics.cc b/src/metrics.cc index 3922dbccb..eb0d17280 100644 --- a/src/metrics.cc +++ b/src/metrics.cc @@ -112,7 +112,7 @@ Metrics::Metrics() inf_first_response_histogram_ms_family_( prometheus::BuildHistogram() .Name("nv_inference_first_response_histogram_ms") - .Help("Duration from request to first response in milliseconds.") + .Help("Duration from request to first response in milliseconds") .Register(*registry_)), pinned_memory_pool_total_family_( diff --git a/src/model.cc b/src/model.cc index d15ca42d6..37fb87de2 100644 --- a/src/model.cc +++ b/src/model.cc @@ -135,7 +135,7 @@ Model::Init(const bool is_config_provided) #ifdef TRITON_ENABLE_METRICS MetricModelReporter::Create( ModelId(), Version(), METRIC_REPORTER_ID_UTILITY, ResponseCacheEnabled(), - isDecoupled(), Config().metric_tags(), &reporter_); + IsDecoupled(), Config().metric_tags(), &reporter_); #endif // TRITON_ENABLE_METRICS return Status::Success; diff --git a/src/model.h b/src/model.h index 2374a81b3..4781020af 100644 --- a/src/model.h +++ b/src/model.h @@ -148,7 +148,7 @@ class Model { return config_.response_cache().enable(); } - bool isDecoupled() const + bool IsDecoupled() const { return config_.model_transaction_policy().decoupled(); }