CUDA 11.6 or 11.7 support

Can PyTorch work with CUDA 11.6 or 11.7?

Thanks.

Yes, you could install the binaries with the CUDA 11.6 runtime by swapping the version from the provided install commands and you can of course build from source using both CUDA versions.
We are currently working on the bringup of the 11.7 binaries.