Commit 10cfd7c
authored
Use Almalinux-builder in linux-job by default (#5898)
Use image build by: pytorch/pytorch#140157
This should support both Manylinux 2.28 wheels and old glibc 2.26
wheels. Tested by pulling Docker images and running some test.
Test:
```
docker pull pytorch/almalinux-builder:cpu-main
```
Test Wheel build with Manylinux 2.28:
```
>>> import torch
>>> from torch._C import *
>>> torch.__version__
'2.6.0.dev20241106+cpu'
```
Test Wheel build with manylinux-builder:
```
>>> import torch
>>> torch.__version__
'2.5.1+cu124'
>>> from torch._C import *
```
Example of Glibc failure with wheels from 2024.11.06:
https://github.com/pytorch/tensordict/actions/runs/11708894033/job/32611711890#step:12:7341 parent 7b5e5cd commit 10cfd7c
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments