summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3818490f2adf..e0cdd4984429 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-accelerate
pkgdesc = A simple way to train and use PyTorch models with multi-GPU, TPU, mixed-precision
pkgver = 0.25.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/huggingface/accelerate
arch = any
groups = hugginface
diff --git a/PKGBUILD b/PKGBUILD
index 2680aabf5a87..98c9bfdb77d7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=python-accelerate
_pkgname=${pkgname#python-}
pkgver=0.25.0
-pkgrel=1
+pkgrel=2
pkgdesc='A simple way to train and use PyTorch models with multi-GPU, TPU, mixed-precision'
arch=('any')
url='https://github.com/huggingface/accelerate'
@@ -29,7 +29,7 @@ build() {
}
check() {
- cd $_pkgname-$pkgver
+ cd $_pkgname-$pkgver/src
python -c 'import accelerate'
}