How can I find whether old PyTorch versions are compatible with A4000/5000?

Old PyTorch versions include classical 1.6.0 and 1.+.

The compatibility among PyTorch, CUDA toolkit, and CUDNN, etc.

Thanks.