Search Criteria
Package Details: ctranslate2 4.2.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/ctranslate2.git (read-only, click to copy) |
---|---|
Package Base: | ctranslate2 |
Description: | A C++ library for efficient inference with Transformer models. |
Upstream URL: | https://opennmt.net/CTranslate2 |
Licenses: | MIT |
Provides: | libctranslate2.so |
Submitter: | yochananmarqos |
Maintainer: | yochananmarqos |
Last Packager: | yochananmarqos |
Votes: | 1 |
Popularity: | 0.94 |
First Submitted: | 2023-12-10 15:32 (UTC) |
Last Updated: | 2024-04-24 17:16 (UTC) |
Dependencies (13)
- nlohmann-json (nlohmann-json-gitAUR)
- onednn (onednn-gitAUR)
- cmake (cmake-gitAUR) (make)
- cuda (cuda11.1AUR) (make)
- git (git-gitAUR) (make)
- intel-oneapi-mkl (intel-oneapi-hpckitAUR, intel-oneapi-basekit) (make)
- onednn (onednn-gitAUR) (make)
- pybind11 (pybind11-gitAUR) (make)
- python-build (make)
- python-installer (python-installer-gitAUR) (make)
- python-setuptools (make)
- python-wheel (make)
- cuda (cuda11.1AUR) (optional)
Required by (2)
Sources (9)
- git+https://github.com/gabime/spdlog.git
- git+https://github.com/google/cpu_features.git
- git+https://github.com/google/googletest.git
- git+https://github.com/google/ruy.git
- git+https://github.com/jarro2783/cxxopts.git
- git+https://github.com/NVIDIA/cub.git
- git+https://github.com/NVIDIA/thrust.git
- git+https://github.com/OpenNMT/CTranslate2.git#tag=v4.2.1
- git+https://github.com/pytorch/cpuinfo.git
Latest Comments
arzeth commented on 2024-04-27 18:55 (UTC) (edited on 2024-04-27 22:36 (UTC) by arzeth)
First, there should be
-DWITH_CUDNN="${WITH_CUDNN:-OFF}" \\
otherwise there's a warning. Probably the same withWITH_OPENBLAS
.Second, I had an error:
because of https://github.com/gcc-mirror/gcc/commit/2b3ecdf4fb13471b69d80583e10c5baedfe84d7c in gcc 13.2.1 which changed 2 lines.
So I had to use 13.2.0's
amxtileintrin.h
Then I had the linking problem ("multiple definitions" in
kernels{,_avx,_avx2,_avx512}.cc
), which I fixed by removing-march
from/etc/makepkg.conf
. But it compiled successfully with just-mtune=native
instead (BTW,-march=X
implies-mtune=X
).Also I tuned
-DCUDA_ARCH_LIST='Common'
to'7.5'
because/opt/cuda/extras/demo_suite/deviceQuery
says my GPU's "CUDA Capability version" is 7.5; this sped up compilation by ~30 minutes (Ryzen 5 2600), and saved 415 MiB of space.wyrmku commented on 2024-04-10 22:09 (UTC)
if any parents of the build director has a space in it, fails with `/usr/bin/cc is not able to compile a simple test program.``
yochananmarqos commented on 2024-04-02 14:21 (UTC)
@acgtyrant: I'm not sure exactly why the tests fail, that's why they're disabled currently.
acgtyrant commented on 2024-04-02 06:36 (UTC)
Hello, I am trying to determine whether I built ctranslate2 with cuDNN succesfully. However after I added
-DBUILD_TESTS='ON'
and uncommented the check function, a failure occured in check():I appreciate your reading and help!