Skip to content

Target Blackwell (sm_120) in the image build - #3

Merged
adharshvenkat merged 1 commit into
mainfrom
gpu-blackwell-cu128
Jul 3, 2026
Merged

Target Blackwell (sm_120) in the image build#3
adharshvenkat merged 1 commit into
mainfrom
gpu-blackwell-cu128

Conversation

@adharshvenkat

Copy link
Copy Markdown
Owner

The detector crashed at runtime on the RTX 50-series: torch 2.6/cu124 ships no sm_120 kernels (tops out at sm_90) and GroundingDINO's custom ms_deform_attn op was compiled only for sm_75.

Bump torch/torchvision to cu128 wheels (2.7 / 0.22), the first with Blackwell kernels.
Install NVIDIA's CUDA 12.8 toolkit for nvcc (Ubuntu's is 12.0 and can't target sm_120); builder-only, nothing leaks to the runtime stage.
Set TORCH_CUDA_ARCH_LIST=12.0+PTX and CUDA_HOME accordingly; drop the stale GTX 1650 Ti arch comment.
Validated end-to-end on an RTX 5070 Ti: GroundingDINO loads on CUDA and runs inference at native ~2Hz with no sm_120 crash; semantic map populates and a full command → plan → navigate → succeed loop completed.

The detector crashed at runtime on the RTX 50-series: torch 2.6/cu124 ships no
sm_120 kernels (tops out at sm_90) and GroundingDINO's custom ms_deform_attn op
was compiled only for sm_75.

- Bump torch/torchvision to cu128 wheels (2.7 / 0.22), the first with Blackwell
  kernels.
- Install NVIDIA's CUDA 12.8 toolkit for nvcc (Ubuntu's is 12.0 and can't target
  sm_120); builder-only, nothing leaks to the runtime stage.
- Set TORCH_CUDA_ARCH_LIST=12.0+PTX and CUDA_HOME accordingly; drop the stale
  GTX 1650 Ti arch comment.
@adharshvenkat
adharshvenkat merged commit a415e99 into main Jul 3, 2026
1 check passed
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