Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
yinggeh committed Oct 14, 2024
1 parent b9231d8 commit 8c9fe0c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/backend_model_instance.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion src/metrics.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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_(
Expand Down
2 changes: 1 addition & 1 deletion src/model.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/model.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class Model {
return config_.response_cache().enable();
}

bool isDecoupled() const
bool IsDecoupled() const
{
return config_.model_transaction_policy().decoupled();
}
Expand Down

0 comments on commit 8c9fe0c

Please sign in to comment.