This repository was archived by the owner on Aug 15, 2025. It is now read-only.
Update pytorch-cuda for cuda12.4 conda build #1792
Merged
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.
Constraint left from https://docs.nvidia.com/cuda/archive/12.4.0/cuda-toolkit-release-notes/index.html
Constraint right from
https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html on 04/19/2024
Without pytorch-cuda, the conda build jobs in pytorch/pytorch#121684 will have errors like pytorch-cuda12.4 not found when tested manually, and may also produce misleading errors like the following:
2024-04-17T04:01:30.9725707Z Found conflicts! Looking for incompatible packages. 2024-04-17T04:01:30.9726420Z This can take several minutes. Press CTRL-C to abort. 2024-04-17T04:01:30.9983809Z 2024-04-17T04:01:30.9984478Z Building graph of deps: 0% 0/6 [00:00<?, ?it/s] 2024-04-17T04:01:30.9985329Z Examining @/linux-64::__unix==0=0: 0% 0/6 [00:00<?, ?it/s] 2024-04-17T04:01:30.9986140Z Examining @/linux-64::__glibc==2.17=0: 17% 1/6 [00:00<00:00, 9218.25it/s] 2024-04-17T04:01:31.0060669Z Examining pytorch==2.4.0.dev20240417: 33% 2/6 [00:00<00:00, 11335.96it/s] 2024-04-17T04:01:31.0201605Z Examining python=3.12: 50% 3/6 [00:00<00:00, 391.50it/s] 2024-04-17T04:01:31.0202725Z Examining @/linux-64::__linux==4.14.336=0: 67% 4/6 [00:00<00:00, 183.58it/s] 2024-04-17T04:01:31.0203650Z Examining @/linux-64::__archspec==1=x86_64: 83% 5/6 [00:00<00:00, 228.72it/s] 2024-04-17T04:01:31.0204349Z 2024-04-17T04:01:31.0204709Z 2024-04-17T04:01:31.0204901Z Determining conflicts: 0% 0/6 [00:00<?, ?it/s] 2024-04-17T04:01:31.0234483Z Examining conflict for python __glibc: 0% 0/6 [00:00<?, ?it/s] 2024-04-17T04:01:31.0317849Z Examining conflict for pytorch python: 17% 1/6 [00:00<00:00, 354.19it/s] 2024-04-17T04:01:31.0721905Z 2024-04-17T04:01:31.0722561Z ��failed 2024-04-17T04:01:31.0723502Z 2024-04-17T04:01:31.0724254Z UnsatisfiableError: The following specifications were found to be incompatible with each other: 2024-04-17T04:01:31.0724950Z 2024-04-17T04:01:31.0725784Z Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system: 2024-04-17T04:01:31.0726590Z 2024-04-17T04:01:31.0726910Z - feature:/linux-64::__glibc==2.17=0 2024-04-17T04:01:31.0727592Z - python=3.12 -> libgcc-ng[version='>=11.2.0'] -> __glibc[version='>=2.17'] 2024-04-17T04:01:31.0728118Z 2024-04-17T04:01:31.0728278Z Your installed version is: 2.17cc @ptrblck @tinglvv @malfet @atalman