PulseAugur
EN
LIVE 17:16:58

LLM Inference Engines: vLLM leads on RTX 4090, llama.cpp excels on M1

A benchmark comparing three LLM inference engines—Ollama, llama.cpp, and vLLM—revealed performance differences across hardware. On a cloud RTX 4090, vLLM significantly outperformed the others, achieving 112 tokens per second compared to llama.cpp's 68 tokens per second. However, on an M1 MacBook Pro, llama.cpp took the lead with a 30% higher throughput than vLLM. Ollama consistently performed between the two on both platforms, as it acts as a wrapper around llama.cpp. AI

IMPACT Performance differences highlight hardware-specific optimizations for LLM inference, guiding deployment choices.

RANK_REASON Comparison of performance metrics for different software implementations of LLM inference. [lever_c_demoted from research: ic=1 ai=1.0]

Read on dev.to — LLM tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

LLM Inference Engines: vLLM leads on RTX 4090, llama.cpp excels on M1

COVERAGE [1]

  1. dev.to — LLM tag TIER_1 English(EN) · TildAlice ·

    Ollama vs llama.cpp vs vLLM: Throughput on M1/RTX 4090

    <h2> The Setup That Revealed the Gap </h2> <p>I needed to benchmark three different inference engines — Ollama, llama.cpp, and vLLM — because the "just use vLLM" advice kept popping up in discussions, but nobody was showing apples-to-apples numbers. So I grabbed a Llama 2 7B mode…