Package Details: tensorrt 10.13.3.9-3

Git Clone URL: https://aur.archlinux.org/tensorrt.git (read-only, click to copy)
Package Base: tensorrt
Description: A platform for high-performance deep learning inference on NVIDIA hardware
Upstream URL: https://developer.nvidia.com/tensorrt/
Keywords: ai artificial intelligence nvidia
Licenses: Apache-2.0 AND LicenseRef-TensorRT-LICENSE-AGREEMENT
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 21
Popularity: 0.29
First Submitted: 2018-07-29 16:17 (UTC)
Last Updated: 2025-10-11 14:09 (UTC)

Latest Comments

1 2 3 4 5 6 .. 11 Next › Last »

idanka commented on 2025-10-16 23:29 (UTC)

@dbermond Sry Manjaro is up to date, but latest cuda package 12.9.1-2 is installed.

dbermond commented on 2025-10-14 20:42 (UTC)

@idanka I have just checked, and the package is building perfectly fine in an up-to-date Arch Linux system with cuda 13.0.2. The compute_110 architecture is supported by cuda 13, and I cannot reproduce your issue. Make sure that you have an up-to-date Arch Linux system with the latest packaged cuda version installed. The hardware is not relevant at build time, but only at run time, and you can build it even in a system without a nvidia gpu.

idanka commented on 2025-10-14 20:22 (UTC) (edited on 2025-10-14 20:24 (UTC) by idanka)

Update error nvidia rtx 3050

nvcc fatal   : Unsupported gpu architecture 'compute_110'
make[1]: *** [CMakeFiles/cmTC_10e2b.dir/build.make:82: CMakeFiles/cmTC_10e2b.dir/main.cu.o] Error 1
make[1]: Leaving directory '/var/tmp/pamac-build-dankahazi/tensorrt/src/build/CMakeFiles/CMakeScratch/TryCompile-uJWGun'
make: *** [Makefile:134: cmTC_10e2b/fast] Error 2

CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:102 (project)

-- Configuring incomplete, errors occurred! ==> HIBA: Hiba történt a build()-ben. Megszakítás...

dbermond commented on 2025-10-11 14:09 (UTC)

@AngelSherry @gbin should be fixed by now.

AngelSherry commented on 2025-10-11 13:10 (UTC) (edited on 2025-10-11 13:16 (UTC) by AngelSherry)

PROCINFO["version"] is an internal feature of GNU awk (used only within awk) and cannot control the output language of external commands (such as pacman). It will only get you the awk version number (e.g. 5.3.0) and will not be able to extract the cudnn version.

When enable a non-English language on /etc/locale.gen and make it as default language (e.g LANG=ja, LANG=zh-tw). Pacman will make all its outputs localized including on pacman -Qi. That's whyawk can't get original non-localized string output like Version. Version on pacman -Qi has been localized to 版本 in Traditional Chinese and バーション in Japanese.

Use LANG=C to force pacman to output in English, which is the standard practice in the Arch Linux community. LANG=C pacman -Qi 'cudnn' | awk '/^Version/ { print $3 }' | grep -oE '^[0-9]+\.[0-9]+'

The build part should change like below:

build() {
    local _cudaver_cmake
    local _cudnnver
    _cudaver_cmake="$(LANG=C pacman -Qi 'cuda' | awk '/^Version/ { print $3 }' | grep -oE '^([0-9]+\.){2}[0-9]')"
    _cudnnver="$(LANG=C pacman -Qi 'cudnn' | awk '/^Version/ { print $3 }' | grep -oE '^[0-9]+\.[0-9]+')"

...

This is the minimum change to ensure the PKGBUILD builds on non-English users' system.

gbin commented on 2025-10-11 12:17 (UTC)

@angelsherry

Maybe something like:

awk 'BEGIN { print PROCINFO["version"] }'

That is not localized would be more robust?

AngelSherry commented on 2025-10-11 10:13 (UTC) (edited on 2025-10-11 12:52 (UTC) by AngelSherry)

awk '/^Version/ { print $3 }'

This part will make build() fail if the users don't use English as their default language. Because when you use pacman -Qi to query the version of cuda, the text will be translated to native language. As a result, awk cannot query anything and exit with empty string.

zh_TW:

pacman -Qi 'cudnn'
名稱                   : cudnn
版本( This is the string of version that is translated to Chinese )                   : 9.14.0.64-1

so please consider to add the variable env LANG=C before pacman -Qi

dbermond commented on 2025-03-24 16:32 (UTC)

@ework thanks for pointing this. I'll remove in the next update, as I think it does not hurt let it there for the time being.

ework commented on 2025-03-23 02:06 (UTC)

@dbermond, we fixed the exec stack issue in TensorRT 10.9 by linking with "-Wl,-z,noexecstack", so you can drop that patch if you'd like.

snoriman commented on 2025-02-24 08:43 (UTC)

I'm trying to build this tensorrt package but running into an issue where the Python.h isn't found. I've these packages installed:

  • cuda 12.8.0-1
  • cudnn 9.7.0.66-1
  • python 3.13.2-1

Contents of /usr/include/:

$ ls /usr/include | grep -i python
pybind11
python2.7
python3.13

$ fd "Python.h"
python3.13/Python.h
python2.7/Python.h

The output of the makepkg command:

~/packages/tensorrt/src/TensorRT/python/build ~/packages/tensorrt/src/TensorRT/python
CMake Deprecation Warning at CMakeLists.txt:18 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- Configuring done (0.0s)
-- Generating done (0.2s)
-- Build files have been written to: /home/sam/packages/tensorrt/src/TensorRT/python/build
[ 10%] Building CXX object CMakeFiles/tensorrt.dir/src/infer/pyAlgorithmSelector.cpp.o
In file included from /home/sam/packages/tensorrt/src/pybind11/include/pybind11/detail/../cast.h:13,
                 from /home/sam/packages/tensorrt/src/pybind11/include/pybind11/detail/../attr.h:13,
                 from /home/sam/packages/tensorrt/src/pybind11/include/pybind11/detail/class.h:12,
                 from /home/sam/packages/tensorrt/src/pybind11/include/pybind11/pybind11.h:13,
                 from /home/sam/packages/tensorrt/src/TensorRT/python/include/ForwardDeclarations.h:30,
                 from /home/sam/packages/tensorrt/src/TensorRT/python/src/infer/pyAlgorithmSelector.cpp:19:
/home/sam/packages/tensorrt/src/pybind11/include/pybind11/detail/../detail/common.h:213:10: fatal error: Python.h: No such file or directory
  213 | #include <Python.h>