Skip to content

Commit 972d1d0

Browse files
author
Kenji Miyake
committed
update cuda versions
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
1 parent 06ca5ed commit 972d1d0

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

Diff for: amd64.env

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
rosdistro=humble
22
rmw_implementation=rmw_cyclonedds_cpp
33
base_image=ubuntu:22.04
4-
cuda_base_image=nvidia/cuda:11.7.0-devel-ubuntu22.04
5-
cuda_version=11.6
6-
cudnn_version=8.4.1.50-1+cuda11.6
7-
tensorrt_version=8.4.2-1+cuda11.6
4+
cuda_base_image=nvidia/cuda:11.8.0-devel-ubuntu22.04
5+
cuda_version=11.8
6+
cudnn_version=8.7.0.84-1+cuda11.8
7+
tensorrt_version=TODO+cuda11.8

Diff for: ansible/roles/cuda/README.md

+1-10
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,7 @@ wget -O /tmp/amd64.env https://raw.githubusercontent.com/autowarefoundation/auto
2121

2222
# Modified from: https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=22.04&target_type=deb_network
2323

24-
# A temporary workaround for Ubuntu 22.04 with the ubuntu2004 repository
25-
if [[ "$(uname -m)" == "x86_64" ]]; then
26-
liburcu6_url=http://archive.ubuntu.com/ubuntu
27-
else
28-
liburcu6_url=http://ports.ubuntu.com/ubuntu-ports
29-
fi
30-
sudo echo "deb $liburcu6_url focal main restricted" > /etc/apt/sources.list.d/focal.list
31-
32-
# TODO: Use 22.04 in https://github.com/autowarefoundation/autoware/pull/3084. Currently, 20.04 is intentionally used.
33-
os=ubuntu2004
24+
os=ubuntu2204
3425
wget https://developer.download.nvidia.com/compute/cuda/repos/$os/$(uname -m)/cuda-keyring_1.0-1_all.deb
3526
sudo dpkg -i cuda-keyring_1.0-1_all.deb
3627
sudo apt-get update

Diff for: ansible/roles/cuda/tasks/main.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
- name: Install CUDA keyring
1818
become: true
1919
ansible.builtin.apt:
20-
deb: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/{{ cuda_architecture.stdout }}/cuda-keyring_1.0-1_all.deb
20+
deb: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/{{ cuda_architecture.stdout }}/cuda-keyring_1.0-1_all.deb
2121
update_cache: true
2222

2323
- name: Get dash-case name of cuda_version

0 commit comments

Comments
 (0)