CUDA Toolkit¶
CUDA Toolkit 12.6 Deb Install. (Not installed by default.)
To enable CUDA Toolkit, set the CUDA_TOOLKIT_VERSION argument to 12.6 in the compose.yaml file of your desired workspace (e.g., template_ws/docker/compose.yaml). After making these changes, rebuild the Docker image.
Make sure your GPU driver version supports the CUDA Toolkit version you want to install. For example, CUDA 12.6 requires Linux driver version >=560.35.05 on x86_64. See Table 3 in the CUDA Toolkit Release Notes for more information.
This is often unnecessary when only Python is used, as
pip install torchtypically installs the appropriate version of the CUDA Toolkit automatically.
Please note that if CUDA Toolkit 12.6 is installed while using Isaac Sim 4.5, will need to apply the workaround in the Isaac ROS section to prevent CUDA error.