Skip to content

Commit

Permalink
add back extra line
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudTT authored Apr 8, 2024
1 parent 56d8d50 commit 8c0b948
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@ def pop_outputs_thread(output_q):
fname = f"perf_{args.model}_{args.config}_{result.get('input_size', 'na')}_{args.device}_mb{args.microbatch}_{benchmark_run.short_run_id}.json"
fname = fname.replace("/", "_") # escape fnames
out_file = pathlib.Path("results", fname)

# Creates result dir if models are run out of the benchmarking repo
os.makedirs(os.path.dirname(out_file), exist_ok=True)

Expand Down

0 comments on commit 8c0b948

Please sign in to comment.