EADST

Building llama.cpp

Building for CPU

The CPU build is straightforward and works on any system with a modern C++ compiler. Here's how to do it:

cmake -B build
cmake --build build --config Release

Building with CUDA

If you have an NVIDIA GPU, you can build llama.cpp with CUDA support for significantly faster inference:

cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release -j 32

-DGGML_CUDA=ON enables CUDA support

-j 32 enables parallel compilation with 32 threads to speed up the build process

Reference

Build llama.cpp locally

相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
Pytorch Domain Bitcoin Augmentation ResNet-50 FlashAttention Docker Interview Git Website Dataset DeepStream uWSGI Github Jetson Conda Knowledge GPT4 tar FastAPI PIP SQL transformers YOLO XGBoost Nginx WAN PyTorch Distillation Vmess API MD5 Baidu Cloudreve Mixtral Tracking UNIX BTC Qwen Disk UI CSV Michelin NLTK HaggingFace GPTQ Numpy Windows AI SAM XML Qwen2.5 QWEN NLP Food LaTeX mmap Paper SVR Animate 搞笑 Magnet Use FP32 diffusers Crawler VGG-16 Pandas LLM TTS Logo SPIE Shortcut Bin CAM RAR Password 签证 FP16 Safetensors CUDA 报税 PDF Anaconda Miniforge SQLite Bipartite 飞书 CLAP TensorRT GoogLeNet Breakpoint Ptyhon Algorithm Qwen2 PDB 公式 Paddle Zip Firewall Pillow hf 音频 Linux CTC Quantize 继承 Land Quantization Math OCR v2ray printf scipy VPN Llama FP64 BeautifulSoup Vim RGB logger v0.dev Markdown CV Proxy 证件照 git Python Ubuntu LLAMA TSV 多进程 Sklearn Random Transformers Image2Text HuggingFace Input Tiktoken TensorFlow Review Claude PyCharm Streamlit 阿里云 版权 ModelScope Excel 腾讯云 Tensor JSON Template Google C++ DeepSeek FP8 ChatGPT Web Freesound WebCrawler Diagram IndexTTS2 Permission Clash 多线程 GIT InvalidArgumentError LeetCode OpenAI NameSilo Statistics VSCode Hilton 算法题 Base64 Bert Translation Datetime COCO Plotly Plate 域名 Jupyter git-lfs Data OpenCV Attention Hotel EXCEL uwsgi Django Video 财报 Heatmap GGML ONNX Color 净利润 tqdm Pickle Gemma llama.cpp Card torchinfo CC CEIR Hungarian 关于博主 BF16 LoRA
站点统计

本站现有博文311篇,共被浏览741965

本站已经建立2381天!

热门文章
文章归档
回到顶部