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

本站现有博文336篇,共被浏览947125

本站已经建立2657天!

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