Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Use binary wheels for Torch#252

Merged
danieldk merged 12 commits into
mainfrom
torch-bin-support
Oct 16, 2025
Merged

Use binary wheels for Torch#252
danieldk merged 12 commits into
mainfrom
torch-bin-support

Conversation

@danieldk
Copy link
Copy Markdown
Member

@danieldk danieldk commented Oct 9, 2025

No description provided.

@danieldk danieldk force-pushed the torch-bin-support branch 2 times, most recently from 7ced41b to f9906cb Compare October 14, 2025 12:28
@danieldk danieldk marked this pull request as ready for review October 14, 2025 12:29
Copy link
Copy Markdown
Contributor

@MekkCyber MekkCyber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very cool feature

Comment thread lib/deps.nix
else
# sm_101 has been renamed to sm_110 in CUDA 13.
"7.5;8.0;8.6;8.9;9.0;10.0;11.0;12.0";
TORCH_CUDA_ARCH_LIST = lib.concatStringsSep ";" torch.cudaCapabilities;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

much cleaner ! very nice

Comment thread versions.nix
Comment thread lib/torch-extension/arch.nix Outdated
@danieldk danieldk marked this pull request as draft October 15, 2025 15:08
@danieldk
Copy link
Copy Markdown
Member Author

Temporarily put into draft, let's wait until Torch 2.9 is out and we can also immediately get 2.9 from wheels.

@danieldk danieldk marked this pull request as ready for review October 16, 2025 15:25
Copy link
Copy Markdown
Contributor

@MekkCyber MekkCyber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool! only few very small nits

Comment thread docs/docker.md
Comment on lines 188 to +189
# PyTorch 2.6 and CUDA 12.6
export PYTHONPATH="result/torch26-cxx11-cu126-x86_64-linux"
export PYTHONPATH="result/torch29-cxx11-cu126-x86_64-linux"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit : the torch version in the comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 I'll update the comments in a separate PR

Comment on lines 47 to +50
"12.4") CUDA_TAG="cu124" ;; \
"12.6") CUDA_TAG="cu126" ;; \
"12.8") CUDA_TAG="cu128" ;; \
"13.0") CUDA_TAG="cu130" ;; \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we also have 12.9 for torch 2.8 I think

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But we are only testing with 2.9.

Comment on lines 3 to +6
# Ideally we'd test with 11.8, but the GELU kernel is subtly off.
ARG CUDA_VERSION=12.1.0
ARG UBUNTU_VERSION=18.04
ARG TORCH_VERSION=2.5.0
ARG CUDA_VERSION=12.6.0
ARG UBI_VERSION=8
ARG TORCH_VERSION=2.9.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit : the comment needs to be updated too I think

@danieldk danieldk merged commit 29c5ee2 into main Oct 16, 2025
55 of 60 checks passed
@danieldk danieldk deleted the torch-bin-support branch October 16, 2025 15:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants