Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Describe the GGUF format and explain why edge runtimes like llama.cpp and mlc-llm exist when production-grade serving stacks (vLLM, TensorRT-LLM) target server GPUs. What hardware do they actually run on?
GGUF is a single-file, mmap-able quantized model format; llama.cpp and mlc-llm run it on CPUs, Apple Silicon, phones, and browsers, where the CUDA-bound vLLM stack cannot execute.
A datacenter serving stack is like an industrial kitchen: huge ovens, three-phase power, a loading dock for ingredients. It cooks for thousands of diners at once but cannot fit in your apartment. Edge inference is a microwave meal: one portion, on the counter you already own, no delivery driver, no bill per plate. GGUF is the shrink-wrapped meal packaged so it drops straight into that microwave with nothing else needed. llama.cpp and mlc-llm are two microwave brands. One ships hand-built heating coils tuned for each counter. The other reads your specific microwave and compiles a custom heating program. Neither matches the industrial kitchen on volume or finish, but the food is private, instant, and free to reheat.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
3 min: GGUF as a single mmap-able container, why vLLM is CUDA-locked, llama.cpp hand-tuned kernels versus mlc-llm TVM compilation, target hardware, and the privacy, latency, and cost wins against the capability ceiling.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Treating edge runtimes as a scaled-down vLLM. They are a different architecture: no PagedAttention, no CUDA assumption, single-stream rather than high-throughput batching, and a quality ceiling set by tiny quantized models.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.