model_analyzer/record/metrics_manager.py
def _check_triton_and_model_analyzer_gpus(self):
        """
        Check whether Triton Server and Model Analyzer are using the same GPUs
        Raises
        ------
        TritonModelAnalyzerException
            If they are using different GPUs this exception will be raised.
        """

        if self._config.triton_launch_mode != 'remote' and self._config.triton_launch_mode != 'c_api':
            self._client.wait_for_server_ready(self._config.client_max_retries)

            model_analyzer_gpus = [gpu.device_uuid() for gpu in self._gpus]
            triton_gpus = self._get_triton_metrics_gpus()
            if set(model_analyzer_gpus) != set(triton_gpus):
                raise TritonModelAnalyzerException(
                    "'Triton Server is not using the same GPUs as Model Analyzer: '"
                    f"Model Analyzer GPUs {model_analyzer_gpus}, Triton GPUs {triton_gpus}"
                )

        Check whether Triton Server and Model Analyzer are using the same GPUs
        Raises
        ------
        TritonModelAnalyzerException
            If they are using different GPUs this exception will be raised.
        
Check whether Triton Server and Model Analyzer are using the same GPUs
Raises

TritonModelAnalyzerException
If they are using different GPUs this exception will be raised.
Check whether Triton Server and Model Analyzer are using the same GPUs Raises TritonModelAnalyzerException If they are using different GPUs this exception will be raised .
def _check_triton_and_model_analyzer_gpus(self):
        if self._config.triton_launch_mode != 'remote' and self._config.triton_launch_mode != 'c_api':
            self._client.wait_for_server_ready(self._config.client_max_retries)
            model_analyzer_gpus = [gpu.device_uuid() for gpu in self._gpus]
            triton_gpus = self._get_triton_metrics_gpus()
            if set(model_analyzer_gpus) != set(triton_gpus):
                raise TritonModelAnalyzerException(
                    "'Triton Server is not using the same GPUs as Model Analyzer: '"
                    f"Model Analyzer GPUs {model_analyzer_gpus}, Triton GPUs {triton_gpus}"
                )
def _check_triton_and_model_analyzer_gpus ( self ) : if self . _config . triton_launch_mode != 'remote' and self . _config . triton_launch_mode != 'c_api' : self . _client . wait_for_server_ready ( self . _config . client_max_retries ) model_analyzer_gpus = [ gpu . device_uuid ( ) for gpu in self . _gpus ] triton_gpus = self . _get_triton_metrics_gpus ( ) if set ( model_analyzer_gpus ) != set ( triton_gpus ) : raise TritonModelAnalyzerException ( "'Triton Server is not using the same GPUs as Model Analyzer: '" f"Model Analyzer GPUs {model_analyzer_gpus}, Triton GPUs {triton_gpus}" )
Check whether Triton Server and Model Analyzer are using the same GPUs
Raises
Check whether Triton Server and Model Analyzer are using the same GPUs Raises
"""
        Check whether Triton Server and Model Analyzer are using the same GPUs
        Raises
        ------
        TritonModelAnalyzerException
            If they are using different GPUs this exception will be raised.
        """
self