Function TRITONSERVER_ServerOptionsSetGpuMetrics

Function Documentation

TRITONSERVER_Error *TRITONSERVER_ServerOptionsSetGpuMetrics(TRITONSERVER_ServerOptions *options, bool gpu_metrics)

Enable or disable GPU metrics collection in a server options.

GPU metrics are collected if both this option and TRITONSERVER_ServerOptionsSetMetrics are true.

Return

a TRITONSERVER_Error indicating success or failure.

Parameters
  • options: The server options object.

  • gpu_metrics: True to enable GPU metrics, false to disable.