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

本站现有博文321篇,共被浏览764895

本站已经建立2443天!

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