Replies: 9 comments 9 replies
-
Unfortunately, no. The tensorrt package includes a I know that NVIDIA has open-sourced some parts of TensorRT (see here), which looks like it include Python support, but I have no idea whether any of it's usable or adaptable to our builds. |
Beta Was this translation helpful? Give feedback.
-
Hi Matt, Basically I created the recipe and fails during compilation (15% success...) I believe this recipe should end up in Yocto once completed, this is a major blocker for having python bindings for the Tensorrt, up to you guys... Thanks |
Beta Was this translation helpful? Give feedback.
-
Sure, here it is (Some paths are using recipe-sysroot explicitely, I will fix this later): SUMMARY = "Tensorrt OSS" LICENSE = "MIT" DEPENDS += "python3 cmake-native python3-pybind11 tensorrt protobuf-c-native protobuf-c libcublas cuda-cudart cuda-nvrtc libglvnd cudnn" COMPATIBLE_MACHINE = "(tegra)" inherit cmake pkgconfig cuda SRC_URI = " S = "${WORKDIR}/TensorRT-release-7.1" CUDA_VERSION="10.2" TRT_GLOBAL_INC_DIR ?= "${S}/../recipe-sysroot/usr/include" EXTRA_OECMAKE_append = ' |
Beta Was this translation helpful? Give feedback.
-
Thanks, appreciate your help |
Beta Was this translation helpful? Give feedback.
-
Hi Matt, Thanks |
Beta Was this translation helpful? Give feedback.
-
Thanks Matt, this doesnt work due to other reasons (failed during the install with Invalid cross-device link). But, in theory, the python bindings we do on the host side is part of the runtime available to a container? |
Beta Was this translation helpful? Give feedback.
-
What does this means: You mean without this the tensorrt bindings is not exported? |
Beta Was this translation helpful? Give feedback.
-
I think I get it. Should I add anything else? |
Beta Was this translation helpful? Give feedback.
-
Sorry, meant CONTAINER_CSV_FILES = "${libdir}/*" |
Beta Was this translation helpful? Give feedback.
-
Hello,
Does the Nvidia Yocto supports the tensorrt python binding?
I am looking for the tensorrt.py file and cannot find it.
Do I need to select a specific package for the binding to occur?
My image currently built with tensorrt package (image insta append) but I don't see any tensorrt.so file in the build outputs, an I missing anything?
Thanks
Thanks
Beta Was this translation helpful? Give feedback.
All reactions