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

本站现有博文333篇,共被浏览922061

本站已经建立2628天!

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