i am using rtx 5090 and cuda 12.9 version but the pytorch 2.7 is not supporting the sm_120
what should i do now
NVIDIA GeForce RTX 5090 with CUDA capability sm_120 is not compatible with the current PyTorch installation.
The current PyTorch install supports CUDA capabilities sm_50 sm_60 sm_70 sm_75 sm_80 sm_86 sm_90.
Based on the error message you have installed an older binary or a PyTorch binary built with CUDA <=12.6.
Install any stable or nightly PyTorch binary built with CUDA 12.8+ from our install matrix to support your Blackwell GPU.