Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmark Metrics #18927

Closed
wants to merge 15 commits into from
Closed

Conversation

ironmangithub
Copy link
Contributor

@ironmangithub ironmangithub commented Dec 25, 2023

Description

  • add metrics.py
  • output more metrics fields for llama-2 and whisper.

Motivation and Context

@@ -0,0 +1,172 @@
# -------------------------------------------------------------------------

Check warning

Code scanning / lintrunner

BLACK-ISORT/format Warning

Run lintrunner -a to apply this patch.
args = parser.parse_args()

setattr(args, "model_size", args.model_name.split("/")[-1].replace(".", "-")) # noqa: B010
log_folder_name = f"./{args.model_size}_{args.precision}"
setattr(args, "log_folder", log_folder_name) # noqa: B010
if not args.log_folder:
args.log_folder=log_folder_name # noqa: B010

Check warning

Code scanning / lintrunner

RUFF/RUF100 Warning

Unused noqa directive (unused: B010).
See https://docs.astral.sh/ruff/rules/unused-noqa
@ironmangithub ironmangithub deleted the benchmark_llama branch January 3, 2024 07:25
@ironmangithub ironmangithub restored the benchmark_llama branch January 3, 2024 07:29
@ironmangithub ironmangithub deleted the benchmark_llama branch January 3, 2024 07:30
@ironmangithub ironmangithub restored the benchmark_llama branch January 3, 2024 07:43
@ironmangithub ironmangithub deleted the benchmark_llama branch January 3, 2024 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants