Skip to content

Commit

Permalink
clean output
Browse files Browse the repository at this point in the history
  • Loading branch information
tianleiwu committed Nov 21, 2023
1 parent 954f8c1 commit 054cdc7
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,10 @@ def run_base_and_refiner(warmup=False):
if args.nvtx_profile:
cudart.cudaProfilerStop()

print("|------------|--------------|")
print("| {:^10} | {:>9.2f} ms |".format("e2e", perf_data["latency"]))
print("|------------|--------------|")
if refiner:
print("|------------|--------------|")
print("| {:^10} | {:>9.2f} ms |".format("e2e", perf_data["latency"]))
print("|------------|--------------|")

metadata = get_metadata(args, True)
metadata.update({"base." + key: val for key, val in base.metadata().items()})
Expand Down

0 comments on commit 054cdc7

Please sign in to comment.