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

本站现有博文324篇,共被浏览808289

本站已经建立2510天!

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