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

本站现有博文340篇,共被浏览1027104次

本站已经建立2721天!

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