This repository was archived by the owner on Jan 27, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Add Torch 2.9 build variants #242
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
ed7edf5
Add non-bundle Torch 2.9 + CUDA 13.0 variant
danieldk 71189ae
Capability 10.1 is renamed to 11.0 in CUDA 13
danieldk 827c634
Remove all Torch 2.7 variants
danieldk 5741c62
Correctly handle versions with a dash (e.g. 2.9.0-rc2)
danieldk f656218
Add other CUDA variants and ROCm variants
danieldk 227f709
Add Torch 2.9 aarch64-darwin and update variants
danieldk adce7e8
CUDA Torch 2.9 are also bundle builds
danieldk 648e433
add xpu torch 2.9 (#232)
sywangyi bb40a6c
Build 2.7, 2.8, and 2.9rc5
danieldk 8b95e4a
Add a note that Xcode 16.x is required for now
danieldk 4eb96b9
Add Torch 2.9 ABI compat warning
danieldk 39367a4
Better and better structured `forCache`
danieldk 6e14a43
Back to hf-nix main
danieldk b000c74
README fixes
danieldk 5f775f3
Drop capabilities 7.5 and 7.2 for CUDA 13
danieldk 74645b2
Remove ROCm 7.0 builds that were for testing
danieldk 275f12a
Fix Darwin caching (stdenvGlibc_2_27 is only for Linux)
danieldk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,14 @@ | ||
| ["7.0", "7.2", "7.5", "8.0", "8.6", "8.7", "8.9", "9.0", "10.0", "10.1", "12.0"] | ||
| [ | ||
| "7.0", | ||
| "7.2", | ||
| "7.5", | ||
| "8.0", | ||
| "8.6", | ||
| "8.7", | ||
| "8.9", | ||
| "9.0", | ||
| "10.0", | ||
| "10.1", | ||
| "11.0", | ||
| "12.0" | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,10 @@ | ||
| { lib }: | ||
|
|
||
| let | ||
| inherit (lib) versions; | ||
| in | ||
| { | ||
| flattenVersion = version: lib.replaceStrings [ "." ] [ "" ] (lib.versions.pad 2 version); | ||
| flattenVersion = | ||
| version: lib.replaceStrings [ "." ] [ "" ] (versions.majorMinor (versions.pad 2 version)); | ||
| abiString = cxx11Abi: if cxx11Abi then "cxx11" else "cxx98"; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do torch kernels not compile using cuda 13.0 on sm < 7.5 ? if so why are we keeping 7.0 in
CUDA_DEFAULT_KERNEL_ARCHSThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed that, removed from
CUDA_DEFAULT_KERNEL_ARCHSnow 👍.