19.7. Clara Stop RPC

Requests utilization data for all Clara Platform managed GPUs.

rpc Utilization(ClaraUtilizationRequest) returns (stream ClaraUtilizationResponse);

Copy
Copied!
            

message ClaraUtilizationRequest { RequestHeader header = 1; bool watch = 2; }


19.8.1.Properties

type: message

Standard RPC request header.

See RequestHeader for details.

19.8.1.2.watch

type: bool

Determines if requested GPU utilization data is for a snapshot or streamed.

  • When true, GPU utilization metrics will be continuously streamed to the caller, until the caller terminates the connection.

  • When false, only a single snapshot of current GPU utilization will be provided.

Copy
Copied!
            

message ClaraUtilizationResponse { ResponseHeader header = 1; repeated GpuUtilization gpu_metrics = 2; }


Clara Deploy SDK Pipelines service will respond to any utilization request with a ClaraUtilizationResponse message. Requestors can use the response message to determine the result of their request.

19.9.1.Properties

19.9.1.1.header

type: message

Standard RPC response header.

See ResponseHeader for details.

19.9.1.2.gpu_metrics

type: list

Utilization data for all Clara Platform managed GPUs.

See GpuUtilization for details.

© Copyright 2018-2020, NVIDIA Corporation. All rights reserved.. Last updated on Feb 1, 2023.