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

本站现有博文328篇,共被浏览841185

本站已经建立2546天!

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