Package Summary
Tags | No category tags. |
Version | 0.45.0 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/autowarefoundation/autoware_universe.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2025-06-06 |
Dev Status | UNKNOWN |
CI status | No Continuous Integration |
Released | UNRELEASED |
Tags | planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Kenzo Lobos-Tsunekawa
- Amadeusz Szymko
- Kotaro Uetake
- Masato Saeki
Authors
autoware_tensorrt_plugins
Purpose
The autoware_tensorrt_plugins
package extends the operations available in TensorRT via plugins.
Algorithms
The following operations are implemented:
Sparse convolutions
We provide a wrapper for spconv (please see the correspondent package for details about the algorithms involved).
This requires the installation of spconv_cpp
which is automatically installed in autoware’s setup script. If needed, the user can also build and install it using the repository’s instructions.
Argsort
We provide an implementation for the Argsort
operation as a plugin since the TopK
TensorRT implementation has limitations in the size of elements it can handle.
BEV Pool
We provide a wrapper for the bev_pool
operation presented in BEVFusion. Please refer to the original paper for specific details.
Scatter operations
We provide a wrapper for the segment_csr
operation presented in torch_scatter. Please refer to the original code for specific details.
Unique
While ONNX supports the unique operation, TensorRT does not provide an implementation. For this reason we implement Unique
as CustomUnique
to avoid name classes.
The implementation mostly follows torch_scatter implementation. Please refer to the original code for specific details.
Licenses
Scatter
The codes under the src/scatter_ops
and include/autoware/scatter_ops
directory are copied and modified from the original implementation and TensorRT adaptation.
The original codes belong to the MIT license (original implementation) and Apache License 2.0, whereas further modifications are provided under Apache License 2.0.
MIT License Copyright (c) 2020 Matthias Fey matthias.fey@tu-dortmund.de
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Unique
The codes under the src/unique_ops
and include/autoware/unique_ops
directory are copied and modified from Pytorch’s implementation.
The original codes is provided under Pytorch’s license as follows:
Pytorch License
From PyTorch:
Copyright (c) 2016- Facebook, Inc (Adam Paszke) Copyright (c) 2014- Facebook, Inc (Soumith Chintala) Copyright (c) 2011-2014 Idiap Research Institute (Ronan Collobert) Copyright (c) 2012-2014 Deepmind Technologies (Koray Kavukcuoglu) Copyright (c) 2011-2012 NEC Laboratories America (Koray Kavukcuoglu) Copyright (c) 2011-2013 NYU (Clement Farabet) Copyright (c) 2006-2010 NEC Laboratories America (Ronan Collobert, Leon Bottou, Iain Melvin, Jason Weston) Copyright (c) 2006 Idiap Research Institute (Samy Bengio) Copyright (c) 2001-2004 Idiap Research Institute (Ronan Collobert, Samy Bengio, Johnny Mariethoz)
From Caffe2:
Copyright (c) 2016-present, Facebook Inc. All rights reserved.
All contributions by Facebook: Copyright (c) 2016 Facebook Inc.
All contributions by Google: Copyright (c) 2015 Google Inc. All rights reserved.
All contributions by Yangqing Jia: Copyright (c) 2015 Yangqing Jia All rights reserved.
All contributions by Kakao Brain: Copyright 2019-2020 Kakao Brain
All contributions by Cruise LLC: Copyright (c) 2022 Cruise LLC. All rights reserved.
All contributions by Tri Dao: Copyright (c) 2024 Tri Dao. All rights reserved.
All contributions by Arm: Copyright (c) 2021, 2023-2024 Arm Limited and/or its affiliates
All contributions from Caffe: Copyright(c) 2013, 2014, 2015, the respective contributors All rights reserved.
All other contributions: Copyright(c) 2015, 2016 the respective contributors All rights reserved.
Caffe2 uses a copyright model similar to Caffe: each contributor holds copyright over their contributions to Caffe2. The project versioning records all such contribution and copyright details. If a contributor wants to further mark their specific copyright on a particular contribution, they should indicate their copyright solely in the commit message of the change when it is committed.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the names of Facebook, Deepmind Technologies, NYU, NEC Laboratories America and IDIAP Research Institute nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Changelog for package autoware_tensorrt_plugins
0.45.0 (2025-05-22)
- Merge remote-tracking branch 'origin/main' into tmp/notbot/bump_version_base
- chore: perception code owner update
(#10645)
- chore: update maintainers in multiple perception packages
* Revert "chore: update maintainers in multiple perception packages" This reverts commit f2838c33d6cd82bd032039e2a12b9cb8ba6eb584.
- chore: update maintainers in multiple perception packages
* chore: add Kok Seang Tan as maintainer in multiple perception packages ---------
- chore(autoware_tensorrt_plugins): update maintainer
(#10627)
- chore(autoware_tensorrt_plugins): update maintainer
* chore(autoware_tensorrt_plugins): update maintainer ---------
- Contributors: Amadeusz Szymko, Taekjin LEE, TaikiYamada4
0.44.1 (2025-05-01)
0.44.0 (2025-04-18)
- chore: match all package versions
- Merge remote-tracking branch 'origin/main' into humble
- feat(autoware_tensorrt_plugins): created a package for tensorrt
extensions
(#10445)
- feat: moved the plugins in bevfusion to a separate package since some of them will be reused
- doc: doc regarding the plugins and the supported ops
- chore: wrong upper cases
- chore: wrong quotes
* chore: fixed docs ---------
- Contributors: Kenzo Lobos Tsunekawa, Ryohsuke Mitsudome
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
ament_cmake_auto | |
autoware_cmake | |
ament_cmake_ros | |
ament_lint_auto | |
autoware_lint_common | |
autoware_cuda_dependency_meta | |
autoware_cuda_utils |
System Dependencies
Dependant Packages
Name | Deps |
---|---|
autoware_bevfusion |