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

本站现有博文321篇,共被浏览764937

本站已经建立2443天!

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