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

本站现有博文337篇,共被浏览961237次

本站已经建立2673天!

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