From 3cbc14e03f81ec34986f808148bb527f7b83e075 Mon Sep 17 00:00:00 2001 From: thomas chaton Date: Mon, 4 Dec 2023 19:06:49 +0000 Subject: [PATCH] Remove time in the Data Processor progress bar (#19108) Co-authored-by: thomas --- src/lightning/data/streaming/data_processor.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lightning/data/streaming/data_processor.py b/src/lightning/data/streaming/data_processor.py index 8431cc70845e8..2fe7f7411bb86 100644 --- a/src/lightning/data/streaming/data_processor.py +++ b/src/lightning/data/streaming/data_processor.py @@ -8,7 +8,6 @@ import types from abc import abstractmethod from dataclasses import dataclass -from datetime import datetime from multiprocessing import Process, Queue from queue import Empty from time import sleep, time @@ -869,7 +868,6 @@ def run(self, data_recipe: DataRecipe) -> None: self.workers_tracker[index] = counter new_total = sum(self.workers_tracker.values()) - pbar.set_postfix({"time": datetime.now().strftime("%H:%M:%S.%f")}) pbar.update(new_total - current_total) current_total = new_total