-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Fix quantization in Whisper model export #26353
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can commit the suggested changes from lintrunner.
onnxruntime/python/tools/transformers/models/whisper/convert_to_onnx.py
Outdated
Show resolved
Hide resolved
onnxruntime/python/tools/transformers/models/whisper/convert_to_onnx.py
Outdated
Show resolved
Hide resolved
onnxruntime/python/tools/transformers/models/whisper/convert_to_onnx.py
Outdated
Show resolved
Hide resolved
onnxruntime/python/tools/transformers/models/whisper/convert_to_onnx.py
Outdated
Show resolved
Hide resolved
onnxruntime/python/tools/transformers/models/whisper/whisper_chain.py
Outdated
Show resolved
Hide resolved
aa04494 to
f8b42d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can commit the suggested changes from lintrunner.
onnxruntime/python/tools/transformers/models/whisper/convert_to_onnx.py
Outdated
Show resolved
Hide resolved
f8b42d3 to
9fdea3a
Compare
9fdea3a to
0431c56
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can commit the suggested changes from lintrunner.
onnxruntime/python/tools/transformers/models/whisper/convert_to_onnx.py
Outdated
Show resolved
Hide resolved
…o_onnx.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
onnxruntime/python/tools/transformers/models/whisper/convert_to_onnx.py
Outdated
Show resolved
Hide resolved
onnxruntime/python/tools/transformers/models/whisper/convert_to_onnx.py
Outdated
Show resolved
Hide resolved
onnxruntime/python/tools/transformers/models/whisper/convert_to_onnx.py
Outdated
Show resolved
Hide resolved
onnxruntime/python/tools/transformers/models/whisper/convert_to_onnx.py
Outdated
Show resolved
Hide resolved
onnxruntime/python/tools/transformers/models/whisper/convert_to_onnx.py
Outdated
Show resolved
Hide resolved
|
Since the big models CI pipeline was deleted, we should verify that these commands all still work. |
93e6193 to
9d873de
Compare
I verified a lot of cases work. The issue is However, I see the opeai-whisper bug mentioned in the script |
For the
Separately, an internal customer mentioned there were export issues with
Let's pin the |
onnxruntime/python/tools/transformers/models/whisper/convert_to_onnx.py
Outdated
Show resolved
Hide resolved
Tested with |
9d873de to
d792d5e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can commit the suggested changes from lintrunner.
onnxruntime/python/tools/transformers/models/whisper/convert_to_onnx.py
Outdated
Show resolved
Hide resolved
d792d5e to
a5e5248
Compare
a5e5248 to
a2f8ded
Compare
…o_onnx.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
a2f8ded to
1a38cbe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can commit the suggested changes from lintrunner.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
### Description Fix quantization in Whisper model export ### Motivation and Context As titled. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
### Description Fix quantization in Whisper model export ### Motivation and Context As titled. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
### Description Fix quantization in Whisper model export ### Motivation and Context As titled. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
### Description Fix quantization in Whisper model export ### Motivation and Context As titled. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Description
Fix quantization in Whisper model export
Motivation and Context
As titled.