remove compute capability 3.5 for CUDA 12 (#114930)
CUDA 12 has removed compute capability 3.5. NVCC throws the error: `nvcc fatal : Unsupported gpu architecture 'compute_35'`
Pull Request resolved: https://github.com/pytorch/pytorch/pull/114930
Approved by: https://github.com/malfet