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

本站现有博文341篇,共被浏览1041150次

本站已经建立2726天!

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