use cu126 for 10 series and older GPUs #17172
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
alternate PR for
apparently 10 series and older gpus don't work with
cu12810 series gpu have CUDA Compatibility of 7
and since GPU with Compatibility 7.2 is considered legacy by Nvidia
I belive everything under 7.2 should use cu126
ref
https://docs.nvidia.com/deeplearning/cudnn/backend/latest/reference/support-matrix.html
https://developer.nvidia.com/cuda-gpus
https://download.pytorch.org/whl/cu128
https://en.wikipedia.org/wiki/CUDA
https://discuss.pytorch.org/t/uninstall-pytorch-completely-to-install-older-version/223551
https://dev-discuss.pytorch.org/t/cuda-toolkit-version-and-architecture-support-update-maxwell-and-pascal-architecture-support-removed-in-cuda-12-8-and-12-9-builds/3128
I don't fully understand the situation with older gpus
from the information I can find it seems that they only deleted support on pytorch 2.8
and since we use 2.7 I'm not quite sure why it doesn't work with cu128
Checklist: