model_analyzer/record/metrics_manager.py
def profile_server(self):
        """
        Runs the DCGM monitor on the triton server without the perf_analyzer
        Raises
        ------
        TritonModelAnalyzerException
        """

        cpu_only = (not numba.cuda.is_available())
        self._start_monitors(cpu_only=cpu_only)
        time.sleep(self._config.duration_seconds)
        if not cpu_only:
            server_gpu_metrics = self._get_gpu_inference_metrics()
            self._result_manager.add_server_data(data=server_gpu_metrics)
        self._destroy_monitors(cpu_only=cpu_only)

        Runs the DCGM monitor on the triton server without the perf_analyzer
        Raises
        ------
        TritonModelAnalyzerException
        
Runs the DCGM monitor on the triton server without the perf_analyzer
Raises


Runs the DCGM monitor on the triton server without the perf_analyzer Raises
def profile_server(self):
        cpu_only = (not numba.cuda.is_available())
        self._start_monitors(cpu_only=cpu_only)
        time.sleep(self._config.duration_seconds)
        if not cpu_only:
            server_gpu_metrics = self._get_gpu_inference_metrics()
            self._result_manager.add_server_data(data=server_gpu_metrics)
        self._destroy_monitors(cpu_only=cpu_only)
def profile_server ( self ) : cpu_only = ( not numba . cuda . is_available ( ) ) self . _start_monitors ( cpu_only = cpu_only ) time . sleep ( self . _config . duration_seconds ) if not cpu_only : server_gpu_metrics = self . _get_gpu_inference_metrics ( ) self . _result_manager . add_server_data ( data = server_gpu_metrics ) self . _destroy_monitors ( cpu_only = cpu_only )
Runs the DCGM monitor on the triton server without the perf_analyzer
Raises
Runs the DCGM monitor on the triton server without the perf_analyzer Raises
"""
        Runs the DCGM monitor on the triton server without the perf_analyzer
        Raises
        ------
        TritonModelAnalyzerException
        """
self