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

本站现有博文332篇,共被浏览885747

本站已经建立2590天!

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