What happened?
When running Beam’s TensorRT inference handler (TensorRTEngineHandlerNumPy) on TensorRT 10.x, inference fails immediately during initialization:
AttributeError: 'tensorrt.tensorrt.ICudaEngine' object has no attribute 'num_bindings'
This happens because the handler is written against the legacy TensorRT 8.x API. In TensorRT 10, the "bindings" API was removed and replaced with the new tensors API (num_io_tensors, get_tensor_name, get_tensor_mode, execute_async_v3, etc.).
As a result, Beam pipelines cannot run on modern NVIDIA environments using TensorRT 10.x.
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components
What happened?
When running Beam’s TensorRT inference handler (
TensorRTEngineHandlerNumPy) on TensorRT 10.x, inference fails immediately during initialization:AttributeError: 'tensorrt.tensorrt.ICudaEngine' object has no attribute 'num_bindings'
This happens because the handler is written against the legacy TensorRT 8.x API. In TensorRT 10, the "bindings" API was removed and replaced with the new tensors API (
num_io_tensors,get_tensor_name,get_tensor_mode,execute_async_v3, etc.).As a result, Beam pipelines cannot run on modern NVIDIA environments using TensorRT 10.x.
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components