summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bershatsky2023-12-09 05:45:57 +0300
committerDaniel Bershatsky2023-12-09 05:45:57 +0300
commit47a4eaf4fa4e606182b2af6e0a3d89d4f0372837 (patch)
tree85549f99591f49b2a053978078631a4e904ac447
parente2746f4b38911780531b04adfb410434515a4616 (diff)
downloadaur-47a4eaf4fa4e606182b2af6e0a3d89d4f0372837.tar.gz
Fix check stage
-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'
}