Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Feb 19, 2024
1 parent ada6525 commit 52ea94d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions optimum_benchmark/launchers/process/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ def launch(self, worker: Callable, *worker_args) -> BenchmarkReport:
while not process_context.join():
pass

# restore the original logging configuration
setup_logging(log_level)

report: BenchmarkReport = queue.get()

return report
Expand Down
3 changes: 0 additions & 3 deletions optimum_benchmark/launchers/torchrun/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ def launch(self, worker: Callable, *worker_args) -> Dict[str, Any]:
entrypoint=entrypoint, args=(worker, queue, lock, log_level, *worker_args), config=launch_config
)

# restore the original logging configuration
setup_logging(log_level)

reports: List[BenchmarkReport] = []
while not queue.empty():
reports.append(queue.get())
Expand Down

0 comments on commit 52ea94d

Please sign in to comment.