SaiShashank12 opened a new issue, #36306: URL: https://github.com/apache/beam/issues/36306
### 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 - [x] Component: Python SDK - [ ] Component: Java SDK - [ ] Component: Go SDK - [ ] Component: Typescript SDK - [ ] Component: IO connector - [ ] Component: Beam YAML - [ ] Component: Beam examples - [ ] Component: Beam playground - [ ] Component: Beam katas - [ ] Component: Website - [ ] Component: Infrastructure - [ ] Component: Spark Runner - [ ] Component: Flink Runner - [ ] Component: Samza Runner - [ ] Component: Twister2 Runner - [ ] Component: Hazelcast Jet Runner - [ ] Component: Google Cloud Dataflow Runner -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
