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

Commit 0c49047

Browse files
authored
Remove Torch source builds (#347)
Wheel builds have been working very well for us during the Torch 2.9 cycle and since 2.10 we also have support for RCs. Let's remove from-source Torch builds completely to reduce the maintenance burden.
1 parent da0367c commit 0c49047

20 files changed

Lines changed: 1 addition & 3174 deletions

lib/build-sets.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ let
3333
python-self: python-super: with python-self; {
3434
torch =
3535
if sourceBuild then
36-
python-self."torch_${flattenVersion torchVersion}"
36+
throw "Torch versions with `sourceBuild = true` are not supported anymore"
3737
else
3838
python-self."torch-bin_${flattenVersion torchVersion}";
3939
}

overlay.nix

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@ in
2929
}
3030
);
3131

32-
magma = (prev.callPackage ./pkgs/magma { }).magma;
33-
34-
magma-hip =
35-
(prev.callPackage ./pkgs/magma {
36-
cudaSupport = false;
37-
rocmSupport = true;
38-
}).magma;
39-
4032
nvtx = final.callPackage ./pkgs/nvtx { };
4133

4234
metal-cpp = final.callPackage ./pkgs/metal-cpp { };
@@ -127,14 +119,6 @@ in
127119
xpuPackages = final.xpuPackages_2025_3;
128120
};
129121

130-
torch_2_8 = callPackage ./pkgs/python-modules/torch/source/2_8 {
131-
xpuPackages = final.xpuPackages_2025_1;
132-
};
133-
134-
torch_2_9 = callPackage ./pkgs/python-modules/torch/source/2_9 {
135-
xpuPackages = final.xpuPackages_2025_2;
136-
};
137-
138122
triton-xpu_2_8 = callPackage ./pkgs/python-modules/triton-xpu {
139123
torchVersion = "2.8";
140124
xpuPackages = final.xpuPackages_2025_1;

pkgs/magma/default.nix

Lines changed: 0 additions & 58 deletions
This file was deleted.

pkgs/magma/generic.nix

Lines changed: 0 additions & 273 deletions
This file was deleted.

0 commit comments

Comments
 (0)