Search Criteria
Package Details: python-tensorrt 10.8.0.43-2
Package Actions
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, LicenseRef-NVIDIA-SOFTWARE-DEVELOPMENT-KITS |
Provides: | python-onnx-graphsurgeon, python-polygraphy, python-tensorflow-quantization |
Submitter: | dbermond |
Maintainer: | dbermond |
Last Packager: | dbermond |
Votes: | 20 |
Popularity: | 0.141895 |
First Submitted: | 2018-07-29 16:17 (UTC) |
Last Updated: | 2025-02-09 18:55 (UTC) |
Dependencies (19)
- python (python37AUR, python311AUR, python310AUR)
- python-numpy (python-numpy-gitAUR, python-numpy1AUR, python-numpy-mkl-binAUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR)
- tensorrtAUR
- cmake (cmake-gitAUR) (make)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda11.4-versionedAUR, cuda12.0-versionedAUR) (make)
- cudnn (make)
- git (git-gitAUR, git-glAUR) (make)
- patchelf (patchelf-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- python-build (make)
- python-installer (make)
- python-onnx (make)
- python-setuptools (make)
- python-wheel (make)
- python-onnx (optional) – for onnx_graphsurgeon python module
- python-onnxruntime (python-onnxruntime-opt, python-onnxruntime-opt-rocm, python-onnxruntime-rocm) (optional) – for onnx_graphsurgeon and polygraphy python modules
- python-protobuf (python-protobuf-gitAUR) (optional) – for polygraphy and tensorflow-quantization python modules
- python-tensorflow-cuda (python-tensorflow-cuda-gitAUR, python-tensorflow-opt-cuda) (optional) – for polygraphy python module
- python-tf2onnxAUR (optional) – for tensorflow-quantization python module
Required by (1)
Sources (12)
- 010-tensorrt-use-local-protobuf-sources.patch
- 020-tensorrt-fix-python.patch
- cub-nvlabs
- git+https://github.com/google/benchmark.git
- git+https://github.com/NVIDIA/TensorRT.git#tag=v10.8.0
- git+https://github.com/onnx/onnx-tensorrt.git
- git+https://github.com/onnx/onnx.git
- git+https://github.com/pybind/pybind11.git
- https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.8.0/tars/TensorRT-10.8.0.43.Linux.x86_64-gnu.cuda-12.8.tar.gz
- https://github.com/google/protobuf/releases/download/v3.20.1/protobuf-cpp-3.20.1.tar.gz
- protobuf-protocolbuffers
- TensorRT-LICENSE-AGREEMENT.txt
Latest Comments
1 2 3 4 5 6 .. 11 Next › Last »
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:Contents of
/usr/include/
:The output of the
makepkg
command:dbermond commented on 2025-02-09 18:55 (UTC)
@hsyysy fixed. Thanks for reporting.
hsyysy commented on 2025-02-09 12:25 (UTC) (edited on 2025-02-09 13:41 (UTC) by hsyysy)
There are two errors which can be solved.
1. It is mentioned here
https://forums.developer.nvidia.com/t/tensorrt-10-8-0-43-and-older-incompatible-with-new-glibc-2-41-r2-g0a7c7a3e283a/322769
, this problem (caused by glibc 2.41) can be solved by addingto the package_tensorrt() function.
2. Error info of
libnvonnxparser.so
this can be solved by removing 030-tensorrt-onnx-tensorrt-disable-missing-source-file.patch.
thesword commented on 2024-12-26 01:20 (UTC) (edited on 2024-12-26 01:20 (UTC) by thesword)
I even have that issue before Python 3.13 with the the pre-built ones. The issue seems to come from
libnvonnxparser.so
binary and python bindings are required for the packagepython-pytorch-tensorrt
.dbermond commented on 2024-12-26 00:34 (UTC)
@thesword when you modify the PKGBUILD, you are for your own, and I cannot help you with a modified PKGBUILD. I've disabled the building of the main python bindings (and use the pre-built ones from upstream) for a reason: it fails to build, and I could not find a way to make them to build. But now now you enable it for yourself and found what I've just said: it fails to build. Do not enable it.
thesword commented on 2024-12-26 00:06 (UTC)
I modified PKGBUILD to include python bindings. I added
local -x TENSORRT_MODULE="tensorrt"
But now I got:
dbermond commented on 2024-12-25 17:37 (UTC) (edited on 2024-12-25 17:37 (UTC) by dbermond)
@thesword Package updated. Disabled installation of the main tensorrt python bindings, as upstream currently does not support python 3.13 yet. I will enable it again when/if upstream supports python 3.13. Thanks for reporting.
thesword commented on 2024-12-25 15:14 (UTC)
It doesn't build anymore sice Python 3.13 update
dbermond commented on 2024-12-19 03:26 (UTC)
@sots removing the unneeded patch is already on my radar, thanks for pointing anyway. The build jobs/parallelism is a user setting and should be configured in your 'makepkg.conf'.
sots commented on 2024-12-19 01:55 (UTC)
Recommended patch for PKGBUILD:
1 2 3 4 5 6 .. 11 Next › Last »