feat: add NVIDIA RTX 50 series (Blackwell) and CUDA support#3
Closed
feat: add NVIDIA RTX 50 series (Blackwell) and CUDA support#3
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.cmake): Optional CUDA Toolkit detection viafind_package(QUIET), with PyTorch validation (warning if CUDA missing, error if below minimum version)CMake/Options.cmake):CARLA_CUDA_ARCHITECTURES(sm_75–sm_120) andCARLA_CUDA_MIN_VERSION(11.0)Util/Docker/Release.Dockerfile): BakeNVIDIA_VISIBLE_DEVICESandNVIDIA_DRIVER_CAPABILITIESENV varsDocs/build_docker.md,Docs/start_quickstart.md): CDI-based NVIDIA Container Toolkit v2 as default, legacy--runtime=nvidiaas fallbackDocs/start_quickstart.md): RTX 50 series needs driver 570+, CUDA 12.8+ recommended for BlackwellREADME.md): Add RTX 5090Related: carla-simulator#9597
Related: carla-simulator#9596 (Ubuntu 24.04 support — separate PR, no file conflicts)
Where has this been tested?
Possible Drawbacks
None — CUDA detection is fully optional (
find_package(QUIET)), existing builds without CUDA are unaffected. Docker legacy runtime is documented as fallback.