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

本站现有博文338篇,共被浏览988930次

本站已经建立2701天!

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