From 2bd13b9d55cd3543b9b1ba1cf1f7bdf68b010c5d Mon Sep 17 00:00:00 2001 From: Yingge He Date: Mon, 28 Oct 2024 18:12:28 -0700 Subject: [PATCH] Fix pre-comment errors --- include/triton/common/error.h | 2 +- protobuf/model_config.proto | 22 ++++++++++++---------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/include/triton/common/error.h b/include/triton/common/error.h index cf9f0a9..ce35ab4 100644 --- a/include/triton/common/error.h +++ b/include/triton/common/error.h @@ -25,8 +25,8 @@ // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #pragma once -#include #include +#include namespace triton { namespace common { diff --git a/protobuf/model_config.proto b/protobuf/model_config.proto index 51467bf..375923a 100644 --- a/protobuf/model_config.proto +++ b/protobuf/model_config.proto @@ -1886,7 +1886,7 @@ message ModelMetrics //@@ //@@ .. cpp:var:: message MetricIdentifier //@@ - //@@ Specify metrics to be overridden with metric_option + //@@ Specify metrics to be overridden with metric_option. //@@ message MetricIdentifier { @@ -1900,19 +1900,21 @@ message ModelMetrics //@@ .. cpp:var:: message HistogramOptions //@@ - //@@ Histogram metrics options + //@@ Histogram metrics options. //@@ - message HistogramOptions { + message HistogramOptions + { //@@ .. cpp:var:: double buckets (repeated) //@@ - //@@ Repeated double type + //@@ Repeated double type for histogram bucket boundaries. //@@ repeated double buckets = 1; } //@@ .. cpp:var:: MetricIdentifier metric_identifier //@@ - //@@ The identifier defining metrics to be overridden with the metric_options + //@@ The identifier defining metrics to be overridden with the + //@@ metric_options. //@@ MetricIdentifier metric_identifier = 1; @@ -1922,11 +1924,11 @@ message ModelMetrics //@@ oneof metric_options { - //@@ .. cpp:var:: HistogramOptions histogram_options - //@@ - //@@ The custom histogram options. - //@@ - HistogramOptions histogram_options = 2; + //@@ .. cpp:var:: HistogramOptions histogram_options + //@@ + //@@ The custom histogram options. + //@@ + HistogramOptions histogram_options = 2; } }