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

本站现有博文332篇,共被浏览875353

本站已经建立2583天!

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