Add Whisper benchmark script#17043
Merged
kunal-vaishnavi merged 19 commits intomicrosoft:mainfrom Aug 23, 2023
Merged
Conversation
Merged
Contributor
Author
|
Splitting changes for LLaMA and Whisper into separate PRs as discussed offline |
zhangyaobit
reviewed
Aug 9, 2023
tianleiwu
reviewed
Aug 15, 2023
tianleiwu
reviewed
Aug 15, 2023
onnxruntime/python/tools/transformers/models/whisper/benchmark.py
Outdated
Show resolved
Hide resolved
tianleiwu
approved these changes
Aug 20, 2023
Contributor
|
#16895 is needed for ROCm EP to work as workaround. Otherwise, alot of patching is need for optimum. |
kunal-vaishnavi
added a commit
that referenced
this pull request
Aug 23, 2023
### Description This PR adds the following scripts for LLaMA: - LLaMA conversion (support for TorchScript and Dynamo exporters) - LLaMA parity - LLaMA benchmark - LLaMA quantization - LLaMA integration with [Hugging Face Optimum](https://github.com/huggingface/optimum) ### Motivation and Context This PR adds scripts for using LLaMA. There is a [follow-up PR](#17043) for adding scripts for Whisper.
tianleiwu
pushed a commit
that referenced
this pull request
Oct 31, 2023
### Description This PR adds the following scripts for LLaMA: - LLaMA conversion (support for TorchScript and Dynamo exporters) - LLaMA parity - LLaMA benchmark - LLaMA quantization - LLaMA integration with [Hugging Face Optimum](https://github.com/huggingface/optimum) ### Motivation and Context This PR adds scripts for using LLaMA. There is a [follow-up PR](#17043) for adding scripts for Whisper.
tianleiwu
pushed a commit
that referenced
this pull request
Oct 31, 2023
### Description This PR adds benchmark scripts for Whisper. It is a follow-up to [this PR](#17020) that adds the LLaMA scripts. ### Motivation and Context This PR enables benchmarking Whisper across various configurations.
kleiti
pushed a commit
to kleiti/onnxruntime
that referenced
this pull request
Mar 22, 2024
### Description This PR adds the following scripts for LLaMA: - LLaMA conversion (support for TorchScript and Dynamo exporters) - LLaMA parity - LLaMA benchmark - LLaMA quantization - LLaMA integration with [Hugging Face Optimum](https://github.com/huggingface/optimum) ### Motivation and Context This PR adds scripts for using LLaMA. There is a [follow-up PR](microsoft#17043) for adding scripts for Whisper.
kleiti
pushed a commit
to kleiti/onnxruntime
that referenced
this pull request
Mar 22, 2024
### Description This PR adds benchmark scripts for Whisper. It is a follow-up to [this PR](microsoft#17020) that adds the LLaMA scripts. ### Motivation and Context This PR enables benchmarking Whisper across various configurations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a benchmark script for Whisper. It is a follow-up to this PR that adds the LLaMA scripts.
Motivation and Context
This PR enables benchmarking Whisper across various configurations.