Skip to content

Commit

Permalink
Fix pre-comment errors
Browse files Browse the repository at this point in the history
  • Loading branch information
yinggeh committed Oct 29, 2024
1 parent 3a9b80c commit 2bd13b9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion include/triton/common/error.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once

#include <string>
#include <cstdint>
#include <string>

namespace triton { namespace common {

Expand Down
22 changes: 12 additions & 10 deletions protobuf/model_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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;

Expand All @@ -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;
}
}

Expand Down

0 comments on commit 2bd13b9

Please sign in to comment.