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

本站现有博文322篇,共被浏览790276

本站已经建立2486天!

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