Search Criteria
Package Details: ctranslate2 4.7.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://github.com/OpenNMT/CTranslate2 |
| Licenses: | MIT |
| Submitter: | yochananmarqos |
| Maintainer: | lubosz |
| Last Packager: | lubosz |
| Votes: | 5 |
| Popularity: | 0.189562 |
| First Submitted: | 2023-12-10 15:32 (UTC) |
| Last Updated: | 2026-03-07 13:47 (UTC) |
Dependencies (15)
- glibc (glibc-gitAUR, glibc-git-native-pgoAUR, glibc-eacAUR)
- libgcc (libgcc-fast-optimizedAUR, libgcc-snapshotAUR)
- libgomp (libgomp-fast-optimizedAUR, libgomp-snapshotAUR)
- libstdc++ (libstdc++-fast-optimizedAUR, libstdc++-snapshotAUR)
- openblas (openblas-gitAUR, openblas64-gitAUR, openblas-lapackAUR)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- intel-oneapi-mkl (intel-oneapi-hpckitAUR, intel-oneapi-basekit-2025AUR, intel-deep-learning-essentialsAUR, intel-oneapi-toolkit) (make)
- ninja (ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR, ninja-kitwareAUR, ninja-fuchsia-gitAUR, n2-gitAUR) (make)
- openblas (openblas-gitAUR, openblas64-gitAUR, openblas-lapackAUR) (make)
- pybind11 (pybind11-gitAUR) (make)
- python-build (make)
- python-installer (make)
- python-setuptools (make)
- python-wheel (make)
Required by (1)
Sources (10)
- 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/cutlass.git
- git+https://github.com/NVIDIA/thrust.git
- git+https://github.com/OpenNMT/CTranslate2.git#tag=v4.7.1
- git+https://github.com/pytorch/cpuinfo.git
Latest Comments
« First ‹ Previous 1 2 3 Next › Last »
yochananmarqos commented on 2025-04-08 16:28 (UTC)
@mistersmee: I've added
-DENABLE_CPU_DISPATCH=OFF, I don't see any downsides.mistersmee commented on 2025-04-01 11:15 (UTC)
I had the same issue as @xuiqzy, however disabling debug did not do anything. Searching on the internet, I found this bug report: https://forum.opennmt.net/t/linker-error-when-compiling-ctranslate2-with-march-corei7-avx-cxx-flags/3951
I do have
-march=nativein mymakepkg.conf, hence why I ran across the compile error, and using the fix as described in the bug report, adding-DENABLE_CPU_DISPATCH=OFFdid in fact fix the compile error.I leave it up to you @yochananmarqos to add it to the PKGBUILD or not, but for anyone else running with
-march=nativeor a specific CPU architecture, try adding the flag and see if it works. I'm just leaving this comment here for future reference.yochananmarqos commented on 2025-03-31 20:26 (UTC)
@taba: I already know what the issue is, so I just fixed it.
In the future, please provide specific details--otherwise the Maintainer may completely ignore you. ;)
taba commented on 2025-03-31 20:18 (UTC)
There's an issue with the version of CMake
morsmortium commented on 2025-02-04 19:57 (UTC)
This is what I got after an autoremove script removed unused dependencies, including make dependencies. I think openblas should be a regular dependency, if the package breaks without it (reinstalling the dependency made it work again)
yochananmarqos commented on 2024-11-14 18:55 (UTC)
@xuiqzy: Disable debug in your
makepkg.conf.xuiqzy commented on 2024-11-14 01:38 (UTC)
Fails to build. Full output on https://pastebin.com/Gi65MfCP End of output:
yochananmarqos commented on 2024-10-24 19:03 (UTC)
PSA: I just enabled OPENBLAS, but I had to disable both MKL and DNNL to do it. Please let me know how that goes.
AlD commented on 2024-06-04 20:53 (UTC)
Needs a patch like this for the time being:
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.hThen I had the linking problem ("multiple definitions" in
kernels{,_avx,_avx2,_avx512}.cc), which I fixed by removing-marchfrom/etc/makepkg.conf. But it compiled successfully with just-mtune=nativeinstead (BTW,-march=Ximplies-mtune=X).Also I tuned
-DCUDA_ARCH_LIST='Common'to'7.5'because/opt/cuda/extras/demo_suite/deviceQuerysays 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.« First ‹ Previous 1 2 3 Next › Last »