From the course: Large Language Models on AWS: Building and Deploying Open-Source LLMs
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
GGUF quantized llama.cpp end-to-end demo
From the course: Large Language Models on AWS: Building and Deploying Open-Source LLMs
GGUF quantized llama.cpp end-to-end demo
- [Instructor] It can be a little bit confusing about how to use a research model in a local environment. You may have heard about someone fine tuning some kind of foundation model, but then you were like, "Wait, I can't run this." And even tools like, Ollama or Llamafile don't have access to it. So, what do you do? Well, you need to use llama.cpp. So first up here, what are we going to do? We're going to make sure that we have UV installed. So, the way you would do this is you would actually run this command right here, which is uv installer. We can go ahead and run it. You can see, oh, it's already installed. It's a very tiny utility that is going to help us with a lot of stuff. Next step, we also would want to make sure we're cloning llama.cpp. In this case, if we go ahead and we say git remote -v, we can see it's also there, right? So we would make in terms of our CP architecture, also set GGML_CUDA flag. And I also say, "Hey, go ahead and spawn a bunch of threads here." And what…
Contents
-
-
-
(Locked)
Implications of Amdahl’s law: A walkthrough4m 5s
-
(Locked)
Compiling llama.cpp demo4m 17s
-
(Locked)
GGUF file format3m 18s
-
(Locked)
Python UV scripting3m 55s
-
Python UV packaging overview1m 59s
-
(Locked)
Key concepts in llama.cpp walkthrough4m 37s
-
(Locked)
GGUF quantized llama.cpp end-to-end demo4m 3s
-
(Locked)
Llama.cpp on AWS G5 demo4m 20s
-
(Locked)
-