Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
huydhn committed Feb 11, 2025
1 parent 65299fa commit e9be0ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/benchmark_latency.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def save_to_pytorch_benchmark_format(
},
}

if os.environ.get("SAVE_IN_PYTORCH_BENCHMARK_FORMAT", False):
if os.environ.get("SAVE_TO_PYTORCH_BENCHMARK_FORMAT", False):

Check failure on line 47 in benchmarks/benchmark_latency.py

View workflow job for this annotation

GitHub Actions / pre-commit

Ruff (E501)

benchmarks/benchmark_latency.py:47:81: E501 Line too long (89 > 80)
# Don't use json suffix here as we don't want convert-results-json-to-markdown.py
# to pick it up
output_file = f"{os.path.splitext(args.output_json)[0]}.pytorch"
Expand Down

0 comments on commit e9be0ec

Please sign in to comment.