Philipp Schmid 8/2/2022

Accelerate Sentence Transformers with Hugging Face Optimum

Read Original

This technical tutorial demonstrates how to accelerate Sentence Transformers models using Hugging Face Optimum and ONNX Runtime. It covers converting a model to ONNX, applying graph optimizations, performing dynamic quantization, and measuring the resulting performance gains in latency, specifically for CPU inference.

Accelerate Sentence Transformers with Hugging Face Optimum

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes