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

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

本站已经建立2631天!

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