Skip to content

Commit

Permalink
Fix L0_build_variants (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
yinggeh authored Nov 13, 2024
1 parent ed291a4 commit 1c73674
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/model_config_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,8 @@ ValidateNonLinearFormatIO(
return Status::Success;
}

#ifdef TRITON_ENABLE_METRICS

// Helper function to validate that model_metrics contains all required data.
Status
ValidateModelMetrics(const inference::ModelMetrics& model_metrics)
Expand Down Expand Up @@ -479,6 +481,8 @@ ValidateModelMetrics(const inference::ModelMetrics& model_metrics)
return Status::Success;
}

#endif // TRITON_ENABLE_METRICS

} // namespace

Status
Expand Down

0 comments on commit 1c73674

Please sign in to comment.