autowarefoundation / autoware.universe

https://autowarefoundation.github.io/autoware.universe/
Apache License 2.0
937 stars 614 forks source link

This program was not compiled for SM 89 : cudaErrorInvalidDevice: invalid device ordinal #6461

Closed TUMGEKA closed 6 months ago

TUMGEKA commented 6 months ago

Checklist

Description

I just followed the tutorial for building the newest autoware inside docker. I am trying to run autoware universe with AWSIM according to the documentation, but the perception ist not working properly. I dont see bounding boxes. Looking at the Console I can see the following error:

[ERROR] [launch_ros.actions.load_composable_nodes]: Failed to load node 'lidar_centerpoint' of type 'centerpoint::LidarCenterPointNode' in container 'pointcloud_container': Component constructor threw an exception: This program was not compiled for SM 89
: cudaErrorInvalidDevice: invalid device ordinal

Expected behavior

Perception should work and I should see bounding boxes.

Actual behavior

Lidarcenterpoint throws and error.

Steps to reproduce

  1. ros2 launch autoware_launch e2e_simulator.launch.xml vehicle_model:=sample_vehicle sensor_model:=awsim_sensor_kit map_path:=

Versions

Possible causes

No response

Additional context

No response

mitsudome-r commented 6 months ago

I will test this with the latest docker and see if I can reproduce the error.

xmfcx commented 6 months ago

@Aysenayilmaz could you test it on an RTX4080 too?

TUMGEKA commented 6 months ago

I fixed the Issue by updating my nvidia driver from 525 to 545.

gaoyelu1996 commented 4 months ago

Hello, may I ask if the problem has been resolved? I am currently facing the same problem as you.

TUMGEKA commented 4 months ago

Hello, may I ask if the problem has been resolved? I am currently facing the same problem as you.

which nvidia driver are you using?

gaoyelu1996 commented 4 months ago

Hello, may I ask if the problem has been resolved? I am currently facing the same problem as you.

which nvidia driver are you using?

hello, nvidia drinver 535

gaoyelu1996 commented 4 months ago

Hello, may I ask if the problem has been resolved? I am currently facing the same problem as you.

which nvidia driver are you using?

Hello, my computer configuration is as follows: Ubuntu20.04, 4060Ti, nvidia driver 535 I can't find the NVIDIA driver 545 version on my computer. Do you have any good methods to update the NVIDIA driver from 535 to 545?

xmfcx commented 4 months ago

Autoware requires Ubuntu 22.04 to function.

If you use Ubuntu 20.04, maybe the galactic branch might work for you but I don't know.

gaoyelu1996 commented 4 months ago

Autoware requires Ubuntu 22.04 to function.

If you use Ubuntu 20.04, maybe the galactic branch might work for you but I don't know.

Hello, thank you very much for your suggestion, but I installed it through Docker. I modified the nvidia driver from 535 to 545 and the error was resolved.