The detected CUDA version (12.0) mismatches the version that was used to compile PyTorch (11.4). Please make sure to use the same CUDA versions

Complete ERROR message :
RuntimeError: The detected CUDA version (12.0) mismatches the version that was used to compile PyTorch (11.4). Please make sure to use the same CUDA versions.
Hi Team,

To solved this issue we installed cuda-12.0 from the below link but in nvcc --version cuda is still showing as 11.4.

Also tried exporting the downloaded updated cuda location, still the nvcc version shows as 11.4, Please check and advice how to proceed from here:

export CUDA_HOME=/usr/local/cuda-12.0/

Hi ,
We recommend you to check the supported features from the below link.

You can refer below link for all the supported operators list.
For unsupported operators, you need to create a custom plugin to support the operation

Thanks!