chore: Add python-pytorch to optdepends

Signed-off-by: txtsd <code@ihavea.quest>
This commit is contained in:
txtsd 2025-02-14 10:30:49 +05:30
parent 3b0e49dee0
commit 6045eea4ae
No known key found for this signature in database
GPG key ID: 6AF185AB2001A97E
2 changed files with 5 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = llama.cpp-vulkan
pkgdesc = Port of Facebook's LLaMA model in C/C++ (with Vulkan GPU optimizations)
pkgver = b4713
pkgrel = 1
pkgrel = 2
url = https://github.com/ggerganov/llama.cpp
arch = x86_64
arch = armv7h
@ -22,6 +22,7 @@ pkgbase = llama.cpp-vulkan
depends = python-numpy
depends = python-sentencepiece
depends = vulkan-icd-loader
optdepends = python-pytorch
provides = llama.cpp
conflicts = llama.cpp
options = lto

View file

@ -3,7 +3,7 @@
pkgname=llama.cpp-vulkan
_pkgname=${pkgname%%-vulkan}
pkgver=b4713
pkgrel=1
pkgrel=2
pkgdesc="Port of Facebook's LLaMA model in C/C++ (with Vulkan GPU optimizations)"
arch=(x86_64 armv7h aarch64)
url='https://github.com/ggerganov/llama.cpp'
@ -27,9 +27,10 @@ makedepends=(
vulkan-headers
pkgconf
)
optdepends=(python-pytorch)
provides=(${_pkgname})
conflicts=(${_pkgname})
options=(lto)
options+=(lto)
source=(
"git+${url}#tag=${pkgver}"
"git+https://github.com/nomic-ai/kompute.git"