Dotfiles/setup/modules/optional-Modules/apps/llama-cpp.sh

11 lines
419 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
source "$(dirname "${BASH_SOURCE[0]}")/../../lib/logging.sh"
# Provides standalone llama-cli, llama-server, and related tools.
# Ollama bundles its own copy of llama.cpp internally — the two coexist
# at the package level but share GPU resources at runtime.
log "Installing llama.cpp (AUR)..."
yay -S --answerdiff None --answerclean All --noconfirm llama-cpp
log "llama.cpp installed."