Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 349 Bytes

build-llama-cpp-with-cuda.md

File metadata and controls

9 lines (7 loc) · 349 Bytes

Build llama-cpp with CUDA

Make sure you have prepared the environment according to the [Prepare the CUDA environment in AWS G5 instances undert Ubuntu 24.04](base/Prepare the CUDA environment in AWS G5 instances undert Ubuntu 24.04.md) article.

git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
make LLAMA_CUDA=1 -j5