mirror of
https://github.com/photoprism/photoprism.git
synced 2026-07-17 16:49:04 +00:00
Installs prebuilt llama.cpp binaries from GitHub releases on AMD64/ARM64, defaulting to the latest release or an explicit tag. Auto-detects the GPU (sysfs PCI vendor IDs, lspci/nvidia-smi fallback) and picks ROCm, Vulkan, or a plain CPU build, with a graceful fallback chain; NVIDIA GPUs get the Vulkan build since upstream ships no CUDA build for Linux. Extracts into <destdir>/lib/llama.cpp and symlinks the executables into <destdir>/bin (the binaries carry RUNPATH "$ORIGIN"). Accelerator overridable via flags or PHOTOPRISM_LLAMA_ACCEL; optional LLAMA_SHA256 verification. |
||
|---|---|---|
| .. | ||
| dist | ||
| docker | ||
| render | ||
| setup/nas/raspberry-pi | ||
| sql | ||
| tools/swaggerfix | ||
| build.sh | ||
| check-api-request-limits.sh | ||
| dav-probe.sh | ||
| download-facenet.sh | ||
| download-nasnet.sh | ||
| download-nsfw.sh | ||
| download-scrfd.sh | ||
| gettext-clear-fuzzy.sh | ||
| gettext-extract.sh | ||
| gettext-lint.mjs | ||
| gettext-merge.sh | ||
| install-qemu.sh | ||
| tag-release.sh | ||