Skip to content

humble image with cross architecture GPU support #20

@rtarun1

Description

@rtarun1

Brief

  • As GPU is being used in every part of robotics, its fair that we need a ROS docker image with GPU support out of the box without messing up any local deps, especially when it comes to Nvidia deps, which is often a headache.
  • So we can have a humble image which builds on top of nvidia/cuda:12.2.2-devel-ubuntu22.04, instead of ubuntu:jammy, with no other change to our humble image.
  • Reason to choose cuda-12.2: In my experience it seems to be in a sweet spot where old deps that rely on older versions of CUDA and also it covers any new work that we can implement.
  • Pros:
    • Thanks to the amazing work by nvidia team, it comes out of the box with CUDA and CuDNN.
    • It works cross architecture, without any changes. Tested on ARM based Jetson Orin GPU and regular x86 based system with Nvidia 2060 mobile GPU
  • Cons:
    • The images are 3x the size, for context, our image is 3.52GB, but the GPU image is 10.2GB

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions