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

本站现有博文316篇,共被浏览747284

本站已经建立2395天!

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