Closed annb3 closed 2 weeks ago
Hi @annb3
Thank you for your report.
Could you please show me your output of dpkg -l | grep nvinfer
? Please, make it sure you execute this command in same terminal window where you build your workspace.
It's here :) sorry for the delay @amadeuszsz
@annb3 You trying to build workspace out of Docker container. To use Docker, please follow Docker installation instructions. If you would like to use Autoware without docker images, please follow source installation instructions. In this case, not only is your TensorRT outdated, but you will also need to upgrade to Ubuntu 22.04.
No, it is inside :) this is my docker environment. Already used https://autowarefoundation.github.io/autoware-documentation/main/installation/autoware/docker-installation/. Everything works since years until last month. I don't know exactly why.
No, it is inside :) this is my docker environment. Already used https://autowarefoundation.github.io/autoware-documentation/main/installation/autoware/docker-installation/. Everything works since years until last month. I don't know exactly why.
@annb3 Ok, then:
docker container ps
command in same terminal where you build workspace. Show the output please.docker container ps
in new terminal window (without docker). Show the output.rocker
support and use new docker images. Please update your image and show output from docker images | grep autoware
.@amadeuszsz here your requests. :) thanks for the support.
rocker --nvidia --x11 --network host --devices /dev/vid* --user --volume $HOME/techdemo-autoware_b/autoware --volume $HOME/autoware_map --volume $HOME/autoware_data --volume /dev/shm/:/dev/shm -- ghcr.io/autowarefoundation/autoware-universe:latest-cuda
@annb3
You updating autoware.universe
while still using old Autoware Docker image. If you wish to use recent changes, you have to update Autoware repository and Docker image as well. Please, update your Autoware repository and proceed to Docker installation tutorial.
FYI, the problem is your current image contains TensorRT 8.4.2, lidar_transfusion
uses TensorRT 8.6.1, which is already in current Autoware Docker image.
@annb3 May I kindly inquire if @amadeuszsz's suggestion resolved the issue? Thanks.
@vividf Unfortunately not. The upgrade of the docker container gives me lots of problems and errors. I have also problems trying to download the new one from the beginning. So probably it should solve, but I am unable to try it and I don't know exactly why.. probably the new docker environment is for 22.04LTS? Or am I miss something?
@vividf
It seems that the new installation is concluded but apparently nothing changes: always same problem.
@annb3 What is your problem after image update? Please, follow this tutorial and share your error here and command which causes it as well
@amadeuszsz Exactly the same as before, nothing changes during the building:
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
@annb3
What command you used to run Docker container? From now you need to use ./docker/run.sh --devel
. Then you can validate TensorRT version as before and run Autoware using prebuilt workspace. If you confirm it, you can proceed to building from sources.
@amadeuszsz sorry I have published the wrong terminal, that's why I delete the comment. Give me more time I'll give you the correct feedback :)
@amadeuszsz Exactly the same as before, nothing changes during the building:
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
@annb3 What command you used to run Docker container? From now you need to use
./docker/run.sh --devel
. Then you can validate TensorRT version as before and run Autoware using prebuilt workspace. If you confirm it, you can proceed to building from sources.
I have this problem launching
./docker/run.sh --devel
I have this problem launching
./docker/run.sh --devel
@annb3
Please, check the command provided in linked instruction before for setting up development environment (setup-dev-env.sh
script) or pull docker image directly via docker pull ghcr.io/autowarefoundation/autoware:latest-devel-cuda
with setup-dev-env.sh
I get:
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Only Ubuntu 22.04 is supported for this branch. Please refer to https://autowarefoundation.github.io/autoware-documentation/main/installation/autoware/source-installation/."}
Instead I have already done docker pull ghcr.io/autowarefoundation/autoware:latest-devel-cuda
.. I don't know honestly.
Can I try something else @amadeuszsz ?
@annb3
with setup-dev-env.sh I get: fatal: [localhost]: FAILED! Did you follow the instruction which I linked for you? Please share your exact command which triggers environment setup.
Instead I have already done docker pull ghcr.io/autowarefoundation/autoware:latest-devel-cuda.. I don't know honestly.
This command was shortcut for you. If you are not sure about pull success, you can always look to sample prompt in Docker documentation.
Can I try something else @amadeuszsz ?
I don't think so. As you already tried before, you can:
If something from documentation is not clear for you, please let us know. We want to make our instructions easy to handle for community as much as we can!
As I was unable to do anything more, I solve the issue upgrading to 22.04 LTS and building from source.
Thanks a lot for your support @amadeuszsz !
Checklist
Description
Running colcon build on autoware package of ROS2 humble into the docker environment gives me errors related to the lidar_transfusion package.
Expected behavior
--
Actual behavior
Running colcon build on autoware package of ROS2 humble into the docker environment gives me this errors:
Steps to reproduce
--
Versions
docker environment
TensorRT Version: 10.1.0.27
NVIDIA GPU: NVIDIA RTX A2000 Laptop GPU
NVIDIA Driver Version: 555.42.06
CUDA Version: 12.5
CUDNN Version: cuda_12.2.r12.2
Operating System: Linux - Ubuntu 20.04 LTS
Python Version: 3.8
Possible causes
No response
Additional context
No response