flâneur

Hamel’s Blog - Optimizing LLM latency

hamel.dev · 2,685 words · saved by 1 readers

An exploration of inference tools for open source LLMs focused on latency.

Summary Below is a summary of my findings: 🏁 mlc is the fastest. This is so fast that I’m skeptical and am now motivated to measure quality (if I have time). When checking the outputs manually, they didn’t seem that different than other approaches. ❤️ CTranslate2 is my favorite tool, which is among the fastest but is also the easiest to use. The documentation is the best out of all of the solutions I tried. Furthermore, I think that the ergonomics are excellent for the models that they support. Unlike vLLM, CTranslate doesn’t seem to support distributed inference just yet. 🛠️ vLLM is…

related reading