chore: Add python-pytorch to optdepends

Signed-off-by: txtsd <code@ihavea.quest>
This commit is contained in:
txtsd 2025-02-14 10:28:43 +05:30
parent 679e37defa
commit ce97a56107
No known key found for this signature in database
GPG key ID: 6AF185AB2001A97E
2 changed files with 4 additions and 2 deletions

View file

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

View file

@ -3,7 +3,7 @@
pkgname=llama.cpp-hip
_pkgname="${pkgname%-hip}"
pkgver=b4713
pkgrel=1
pkgrel=2
pkgdesc="Port of Facebook's LLaMA model in C/C++ (with AMD ROCm optimizations)"
arch=(x86_64 armv7h aarch64)
url='https://github.com/ggerganov/llama.cpp'
@ -29,6 +29,7 @@ makedepends=(
rocm-hip-runtime
rocm-hip-sdk
)
optdepends=(python-pytorch)
provides=(${_pkgname})
conflicts=(${_pkgname})
options+=(lto)