Your Company Doesn't Need an LLM? Building the Infrastructure from Scratch
summary
A practical guide to building LLM infrastructure from scratch based on X5 Tech’s experience, covering required components for scalable, reliable deployment. Compares three inference backends (llama-cpp, Text Generation Inference/TGI, and vLLM), their pros and cons and pitfalls of llama-cpp, evaluates whether vLLM is a suitable choice, and discusses using information retrieval with LLMs for knowledge-base search. Concludes with an applied example of prompting and deployment to get high-quality text generation in an internal chatbot for Pyaterochka employees.
AI-written summary · about
chapters (24)
- 0:00Introduction
- 3:15Speaker background
- 4:44What is LLM
- 7:58Build local LLM infra
- 10:09LLM service metrics
- 12:12Inference frameworks
- 17:14Llama.cpp deep dive
- 19:42Text Gen Inference
- 22:09VLLM performance
- 23:34Answer quality factors
- 24:37X5 Tech LLM infra
- 27:04Monitoring tools
- 28:10Model selection
- 31:26Q&A
- 32:30Multimodal approaches
- 33:12Model quality
- 34:15Security considerations
- 35:37Prompt extraction
- 36:18Open vs local economics
- 38:45Business impact
- 40:10Production load
- 41:37Code assistance
- 43:22Scaling strategies
- 44:25Q&A
