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

本站现有博文338篇,共被浏览966910次

本站已经建立2679天!

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