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

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

本站已经建立2636天!

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