Missing `sm_120` support
The GPU is Blackwell class but the local toolchain or build flags cannot target it.
Full diagnosis
This command answers what is broken, what is risky, and whether the current stack can support the local GPU and intended runtime.
The GPU is Blackwell class but the local toolchain or build flags cannot target it.
`nvidia-smi` works, but the driver is too old for the intended runtime or framework stack.
PyTorch imports successfully but is built against a CUDA runtime that cannot execute correctly on this machine.
Linux is using the wrong NVIDIA kernel module flavor for the desired stack.
Risk: high
GPU: RTX 5090
Architecture: Blackwell
Target capability: sm_120
Driver: present but too old for intended runtime
Toolkit: nvcc detected, but local flags do not include sm_120
PyTorch: installed wheel targets an incompatible CUDA runtime
Action: repair required before validation or build can succeedPresence checks are not enough. If the machine is likely to fail during a real kernel launch, the diagnosis should say so directly.
Related docs
Repair
Apply compatible repairs to a broken or misleading CUDA environment and refuse success until validation passes.
Diagnose
Run a lighter, read-only inspection for CI, scripting, or quick triage.
Execution
Prove that device selection, memory transfer, kernel launch, and runtime behavior work on the local GPU.