# Improving Whisper for Inference

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fimproving-whisper-for-inference%2F47841%3E%5C
**Category:** 🤗Optimum\
**Created:** [July 23, 2023, 8:24pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fimproving-whisper-for-inference%2F47841 "2023-07-23T20:24:20Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![regisss](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/regisss/32/22467_2.png) [@regisss](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fregisss)%5C
**Post date:** [July 24, 2023, 8:35am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fimproving-whisper-for-inference%2F47841%2F4 "2023-07-24T08:35:54Z")

</div>

1. Good catch, I’ll fix this link. Here it is: [Quantization](https://huggingface.co/docs/optimum/concept_guides/quantization)
2. A BetterTransformer model is not exportable to ONNX at the moment, you can find more information in my reply here: [Export a BetterTransformer to ONNX - #2 by regisss](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fexport-a-bettertransformer-to-onnx%2F38578%2F2)  
But you can absolutely combine ORT optimization and quantization, even though I’m not sure if there is a general rule regarding which one should be applied first. I guess you’ll have to try both. Maybe @fxmarty or @IlyasMoutawwakil know more about this?

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fimproving-whisper-for-inference%2F47841)._
