How can I optimize Hugging Face Transformers for low-latency production inference?
My BERT-based sentiment analysis model is taking over 200ms per request, which is too slow for our real-time application. I’m using the standard Hugging Face Transformers pipeline. What are the recommended steps for optimization? Should I look into ONNX Runtime, or is there a way to use the Optimum library to speed things up on standard Intel CPUs?
Write a Comment
Your email address will not be published. Required fields are marked (*)