Skip to content

feat: add NVIDIA RTX 50 series (Blackwell) and CUDA support#3

Closed
youtalk wants to merge 1 commit intoue5-devfrom
feat/nvidia-cuda-support
Closed

feat: add NVIDIA RTX 50 series (Blackwell) and CUDA support#3
youtalk wants to merge 1 commit intoue5-devfrom
feat/nvidia-cuda-support

Conversation

@youtalk
Copy link
Owner

@youtalk youtalk commented Mar 20, 2026

Description

Add NVIDIA RTX 50 series (Blackwell) GPU support with driver 570+ and CUDA 12.8+ compatibility, while maintaining backward compatibility with existing RTX 30/40 series environments.

Changes:

  • CMake CUDA detection (CMake/CUDA.cmake): Optional CUDA Toolkit detection via find_package(QUIET), with PyTorch validation (warning if CUDA missing, error if below minimum version)
  • CMake options (CMake/Options.cmake): CARLA_CUDA_ARCHITECTURES (sm_75–sm_120) and CARLA_CUDA_MIN_VERSION (11.0)
  • Docker (Util/Docker/Release.Dockerfile): Bake NVIDIA_VISIBLE_DEVICES and NVIDIA_DRIVER_CAPABILITIES ENV vars
  • Docker docs (Docs/build_docker.md, Docs/start_quickstart.md): CDI-based NVIDIA Container Toolkit v2 as default, legacy --runtime=nvidia as fallback
  • GPU/driver requirements (Docs/start_quickstart.md): RTX 50 series needs driver 570+, CUDA 12.8+ recommended for Blackwell
  • Hardware recommendations (README.md): Add RTX 5090

Related: carla-simulator#9597
Related: carla-simulator#9596 (Ubuntu 24.04 support — separate PR, no file conflicts)

Where has this been tested?

  • Platform(s): Linux (Ubuntu 24.04)
  • Python version(s): N/A (docs and CMake only)
  • Unreal Engine version(s): 5.5

Possible Drawbacks

None — CUDA detection is fully optional (find_package(QUIET)), existing builds without CUDA are unaffected. Docker legacy runtime is documented as fallback.

- Add CMake CUDA Toolkit detection (CMake/CUDA.cmake) with
  architecture validation and PyTorch integration
- Add CARLA_CUDA_ARCHITECTURES and CARLA_CUDA_MIN_VERSION options
- Bake NVIDIA_VISIBLE_DEVICES/DRIVER_CAPABILITIES in Dockerfile
- Update Docker docs to CDI-based NVIDIA Container Toolkit v2
  with legacy runtime fallback
- Update GPU/driver requirements for RTX 50 series (driver 570+)
- Add RTX 5090 to README hardware recommendations
@youtalk youtalk closed this Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant