Compiling 1.10.1 from source with GCC 11 and Cuda 11.5

That’s wrong, as we are building PyTorch with CUDA11.5 and you can also download the nightly binaries with CUDA11.5 e.g. via:

pip3 install --pre torch -f https://download.pytorch.org/whl/nightly/cu115/torch_nightly.html

so I don’t know where this information is coming from.

EDIT: I was wrong, as 1.10.0 was cut before the 11.5 release (and 1.10.1 is a bug fix release) so you would need to use the latest nightly or install the wheels).