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

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

本站已经建立2611天!

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