Update compatibility matrix files (#2400)
* Fix compatgen: fetch CuDNN version from image config instead of tags
Newer nvidia/cuda image tags no longer include the CuDNN version number
(e.g. '12.9.1-cudnn-devel-ubuntu24.04' instead of '12.6.3-cudnn9-devel-ubuntu22.04').
This fetches the Docker image config and reads CUDA_VERSION and NV_CUDNN_VERSION
from environment variables instead of parsing the tag string.
Also adds deterministic sorting of output and Docker Hub auth to avoid rate limits.
* Regenerate compatibility matrices; drop entries with no supported Python versions
- Regenerated cuda_compatibility.json: adds CUDA 13.0.x and 13.1.x, CuDNN
versions now correctly extracted from image configs instead of manual patches
- Regenerated torch_compatibility.json: adds torch 2.10.0, 2.9.x; drops 41
entries for torch versions with no supported Python versions (all < 3.10)
- Updated tests to use torch versions still in the compatibility matrix