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
Expand file tree
/
Copy patharchs.nix
More file actions
128 lines (126 loc) · 2.39 KB
/
archs.nix
File metadata and controls
128 lines (126 loc) · 2.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"2.8" = {
# https://github.com/pytorch/pytorch/blob/release/2.8/.ci/manywheel/build_cuda.sh
capsPerCudaVersion = {
"12.9" = [
"7.0"
"7.5"
"8.0"
"8.6"
"9.0"
"10.0"
"12.0"
];
"12.8" = [
"7.0"
"7.5"
"8.0"
"8.6"
"9.0"
"10.0"
"12.0"
];
"12.6" = [
"5.0"
"6.0"
"7.0"
"7.5"
"8.0"
"8.6"
"9.0"
];
# Not a supported upstream configuration, but keep it around for
# builds that fail on newer CUDA versions.
"12.4" = [
"5.0"
"6.0"
"7.0"
"7.5"
"8.0"
"8.6"
"9.0"
];
};
# https://github.com/pytorch/pytorch/blob/ba56102387ef21a3b04b357e5b183d48f0afefc7/.ci/docker/manywheel/build.sh#L82
supportedTorchRocmArchs = [
"gfx900"
"gfx906"
"gfx908"
"gfx90a"
"gfx942"
"gfx1030"
"gfx1100"
"gfx1101"
"gfx1102"
"gfx1200"
"gfx1201"
];
};
"2.9" = {
# https://github.com/pytorch/pytorch/blob/release/2.9/.ci/manywheel/build_cuda.sh
capsPerCudaVersion = {
"13.0" = [
"7.5"
"8.0"
"8.6"
"9.0"
"10.0"
"12.0"
];
# NOTE: 12.9 does not seem to be in RC builds, check if needed for final release.
# https://download.pytorch.org/whl/test/torch/
"12.9" = [
"7.0"
"7.5"
"8.0"
"8.6"
"9.0"
"10.0"
"12.0"
];
"12.8" = [
"7.0"
"7.5"
"8.0"
"8.6"
"9.0"
"10.0"
"12.0"
];
"12.6" = [
"5.0"
"6.0"
"7.0"
"7.5"
"8.0"
"8.6"
"9.0"
];
# Not a supported upstream configuration, but keep it around for
# builds that fail on newer CUDA versions.
"12.4" = [
"5.0"
"6.0"
"7.0"
"7.5"
"8.0"
"8.6"
"9.0"
];
};
supportedTorchRocmArchs = [
# https://github.com/pytorch/pytorch/blob/21fec65781bebe867faf209f89bb687ffd236ca4/.ci/docker/manywheel/build.sh#L92
"gfx900"
"gfx906"
"gfx908"
"gfx90a"
"gfx942"
"gfx1030"
"gfx1100"
"gfx1101"
"gfx1102"
"gfx1200"
"gfx1201"
];
};
}