Skip to content

Commit

Permalink
Remove time in the Data Processor progress bar (#19108)
Browse files Browse the repository at this point in the history
Co-authored-by: thomas <[email protected]>
  • Loading branch information
tchaton and thomas authored Dec 4, 2023
1 parent 35ea94f commit 3cbc14e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lightning/data/streaming/data_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3cbc14e

Please sign in to comment.