Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
drisspg committed Aug 29, 2024
1 parent a901fed commit 83f754e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transformer_nuggets/utils/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def profiler(
output_dir = path.parent
output_dir.mkdir(parents=True, exist_ok=True)

logger.info(f"💾 Trace file 📄 saved to: {bcolors.OKGREEN}{output_dir}{bcolors.ENDC}")
logger.info(f"💾 Trace file 📄 saved to: {bcolors.OKGREEN}{path}{bcolors.ENDC}")

def trace_handler(prof) -> None:
prof.export_chrome_trace(path.as_posix())
Expand Down

0 comments on commit 83f754e

Please sign in to comment.