Deploy Open LLMs with LLAMA-CPP Server

Опубликовано: 05 Октябрь 2024
на канале: Prompt Engineering
8,696
224

Learn how to install LLAMA CPP on your local machine, set up the server, and serve multiple users with a single LLM and GPU. We'll walk through installation via Homebrew, setting up the LLAMA server, and making POST requests using curl, the OpenAI client, and Python requests package. By the end, you'll know how to deploy and interact with different models like a pro.

#llamacpp #deployment #llm_deployment

💻 RAG Beyond Basics Course:
https://prompt-s-site.thinkific.com/c...

🦾 Discord:   / discord  
☕ Buy me a Coffee: https://ko-fi.com/promptengineering
|🔴 Patreon:   / promptengineering  
💼Consulting: https://calendly.com/engineerprompt/c...
📧 Business Contact: [email protected]
Become Member: http://tinyurl.com/y5h28s6h

💻 Pre-configured localGPT VM: https://bit.ly/localGPT (use Code: PromptEngineering for 50% off).

Signup for Newsletter, localgpt:
https://tally.so/r/3y9bb0

LINKS:
https://github.com/ggerganov/llama.cpp

TIMESTAMPS:
00:00 Introduction to LLM Deployment Series
00:22 Overview of LLAMA CPP
01:40 Installing LLAMA CPP
02:02 Setting Up the LLAMA CPP Server
03:08 Making Requests to the Server
05:30 Practical Examples and Demonstrations
07:04 Advanced Server Options
09:38 Using OpenAI Client with LLAMA CPP
11:14 Concurrent Requests with Python
12:47 Conclusion and Next Steps

All Interesting Videos:
Everything LangChain:    • LangChain  

Everything LLM:    • Large Language Models  

Everything Midjourney:    • MidJourney Tutorials  

AI Image Generation:    • AI Image Generation Tutorials