Package Details: python-tensorrt 10.0.1.6-1

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 (python bindings and tools)
Upstream URL: https://developer.nvidia.com/tensorrt/
Keywords: ai artificial intelligence nvidia
Licenses: Apache-2.0, LicenseRef-custom
Provides: python-onnx-graphsurgeon, python-polygraphy, python-tensorflow-quantization
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 17
Popularity: 1.88
First Submitted: 2018-07-29 16:17 (UTC)
Last Updated: 2024-04-30 19:32 (UTC)

Dependencies (18)

Sources (12)

Pinned Comments

dbermond commented on 2024-05-24 19:28 (UTC)

@FuzzyAtish TLDR: it fails to build against cuda 12.5, downgrade cuda to 12.4.1 and it will work. The long story: there are two issues regarding this. Firstly, tensorrt 10.0.1 apparently does not support cuda 12.5, as you can see in the upstream documentation. Secondly, cuda 12.5 is not supported by the current version of the nvidia drivers that are available in the official repositories (cuda 12.5 was pushed without a driver that supports it), and you can read more details about this in the Arch Linux cuda package issues page at this link.

Latest Comments

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

FuzzyAtish commented on 2024-05-24 19:41 (UTC)

Thank you for great and speedy answer. I should've probably searched for the issue a bit, apologies for being lazy

dbermond commented on 2024-05-24 19:28 (UTC)

@FuzzyAtish TLDR: it fails to build against cuda 12.5, downgrade cuda to 12.4.1 and it will work. The long story: there are two issues regarding this. Firstly, tensorrt 10.0.1 apparently does not support cuda 12.5, as you can see in the upstream documentation. Secondly, cuda 12.5 is not supported by the current version of the nvidia drivers that are available in the official repositories (cuda 12.5 was pushed without a driver that supports it), and you can read more details about this in the Arch Linux cuda package issues page at this link.

FuzzyAtish commented on 2024-05-24 17:52 (UTC)

I'm getting the following error when building

#17 2311.3 [ 36%] Building CUDA object 
plugin/CMakeFiles/nvinfer_plugin.dir/roiAlignPlugin/roiAlignKernel.cu.o
#17 2320.2 home/builder/.cache/yay/tensorrt/src/TensorRT/plugin/common/common.cuh(321): 
error: identifier "FLT_MAX" is undefined
#17 2320.2       float threadData(-FLT_MAX);
#17 2320.2                         ^
#17 2320.2
#17 2320.2 home/builder/.cache/yay/tensorrt/src/TensorRT/plugin/common/common.cuh(373): 
error: identifier "FLT_MAX" is undefined
#17 2320.2       float threadData(-FLT_MAX);
#17 2320.2                         ^
#17 2320.2
#17 2320.3 2 errors detected in the compilation of "/home/builder/.cache/yay/tensorrt/src/TensorRT/plugin/roiAlignPlugin/roiAlignKernel.cu".

dbermond commented on 2024-04-04 18:45 (UTC)

@tbb @qsthy this is an issue with the python-onnx package, as it needs a rebuild against latest protobuf. The latest protobuf version did not have a soname version bump, but it seems to be ABI incompatible, thus needing a rebuild of some dependent packages. I've talked to the maintainer, and a fixed version is currently in [extra-testing]. Either wait for it to leave [extra-testing], or enable this repository. I've tested, and it's building fine with it.

qsthy commented on 2024-03-28 13:26 (UTC)

Concur, same build failure happens here. Looking it up on the Web it appears to be an issue with onnx and/or the the onnx/protobuf combination, see for example https://github.com/onnx/onnx/issues/4704

In case it matters I already have on my machine extra/protobuf and aur/anaconda installed.

tbb commented on 2024-03-26 05:51 (UTC) (edited on 2024-03-26 05:52 (UTC) by tbb)

can't build [code] ImportError: /usr/lib/python3.11/site- packages/onnx/onnx_cpp2py_export.cpython-311-x86_64-linux-gnu.so: undefined symbol: _ZN6google8protobuf8internal17AssignDescriptorsEPFPKNS1_15DescriptorTableEvEPN4absl12lts_202308029once_flagERKNS0_8MetadataE [/code]

dbermond commented on 2024-01-18 02:46 (UTC)

@gbin This warning is not related to the package itself. It means that the underlying makepkg command invoked by the AUR helper is not doing a clean build. Again, AUR helpers are not supported, use makepkg.

gbin commented on 2024-01-10 15:52 (UTC) (edited on 2024-01-10 15:53 (UTC) by gbin)

@dbermond Interestingly, something changed and it started to work with paru. Thank you for maintaining the package. It gives out a warning during install maybe the flakiness is related to it?

==> Checking runtime dependencies...                                                                                                                                                                                                    
==> Checking buildtime dependencies...                                                                                                                                                                                                  
==> WARNING: Using existing $srcdir/ tree                                                                                                                                                                                               
==> Starting pkgver()...                                                                                                                                                                                                                
==> Starting build()...  

dbermond commented on 2024-01-04 20:13 (UTC)

@gbin I've just checked, and the package is building fine. You are using an AUR helper, and this is not supported. Use makepkg.