Skip to content

Commit 10cfd7c

Browse files
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:734
1 parent 7b5e5cd commit 10cfd7c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/linux_job.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ on:
6060
type: string
6161
docker-image:
6262
description: Identifies the Docker image by name.
63-
default: "pytorch/manylinux-builder"
63+
default: "pytorch/almalinux-builder"
6464
type: string
6565
docker-build-dir:
6666
description: |
@@ -111,7 +111,7 @@ jobs:
111111
name: ${{ inputs.job-name }}
112112
env:
113113
DOCKER_IMAGE: >-
114-
${{ inputs.docker-image == 'pytorch/manylinux-builder' && format('pytorch/manylinux-builder:{0}{1}',
114+
${{ inputs.docker-image == 'pytorch/almalinux-builder' && format('pytorch/almalinux-builder:{0}{1}',
115115
inputs.gpu-arch-type,
116116
inputs.gpu-arch-version)
117117
|| inputs.docker-image }}

0 commit comments

Comments
 (0)