From 1b464c994329f6357152e0e05c5db69fb96ea497 Mon Sep 17 00:00:00 2001 From: lkomali Date: Mon, 5 Aug 2024 15:37:41 -0700 Subject: [PATCH] Remove one of the print statements --- genai-perf/genai_perf/telemetry_data/telemetry_data_collector.py | 1 - genai-perf/genai_perf/wrapper.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/genai-perf/genai_perf/telemetry_data/telemetry_data_collector.py b/genai-perf/genai_perf/telemetry_data/telemetry_data_collector.py index 2f3a9691..bd606d09 100755 --- a/genai-perf/genai_perf/telemetry_data/telemetry_data_collector.py +++ b/genai-perf/genai_perf/telemetry_data/telemetry_data_collector.py @@ -62,7 +62,6 @@ def _update_metrics(self, parsed_data) -> None: current_values = getattr(self.metrics, metric_name, []) current_values.append(metric_values) setattr(self.metrics, metric_name, current_values) - print(self.metrics) def _collect_metrics(self) -> None: while not self._stop_event.is_set(): diff --git a/genai-perf/genai_perf/wrapper.py b/genai-perf/genai_perf/wrapper.py index 1ae4703c..73c146a9 100644 --- a/genai-perf/genai_perf/wrapper.py +++ b/genai-perf/genai_perf/wrapper.py @@ -163,5 +163,6 @@ def run(args: Namespace, extra_args: Optional[List[str]]) -> None: if telemetry_data_collector is not None: telemetry_data_collector.stop() metrics = telemetry_data_collector.metrics + #This print statement will be removed once the test is in place. print("Collected Metrics:") print(metrics)