8000 Remove manylinux 2014 images · pytorch/pytorch@a8e3ce9 · GitHub
[go: up one dir, main page]

Skip to content

Commit a8e3ce9

Browse files
committed
Remove manylinux 2014 images
1 parent 915b9c8 commit a8e3ce9

File tree

3 files changed

+3
-84
lines changed

3 files changed

+3
-84
lines changed

.ci/magma/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ DOCKER_RUN = set -eou pipefail; ${DOCKER_CMD} run --rm -i \
1212
-e PACKAGE_NAME=${PACKAGE_NAME}${DESIRED_CUDA_SHORT} \
1313
-e DESIRED_CUDA=${DESIRED_CUDA} \
1414
-e CUDA_ARCH_LIST="${CUDA_ARCH_LIST}" \
15-
"pytorch/manylinux-builder:cuda${DESIRED_CUDA}-main" \
15+
"pytorch/manylinux2_28-builder:cuda${DESIRED_CUDA}-main" \
1616
magma/build_magma.sh
1717

1818
.PHONY: all

.circleci/scripts/binary_populate_env.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ fi
3131
export DOCKER_IMAGE=${DOCKER_IMAGE:-}
3232
if [[ -z "$DOCKER_IMAGE" ]]; then
3333
if [[ "$DESIRED_CUDA" == cpu ]]; then
34-
export DOCKER_IMAGE="pytorch/manylinux:cpu"
34+
export DOCKER_IMAGE="pytorch/manylinux2_28:cpu"
3535
else
36-
export DOCKER_IMAGE="pytorch/manylinux-builder:${DESIRED_CUDA:2}"
36+
export DOCKER_IMAGE="pytorch/manylinux2_28-builder:${DESIRED_CUDA:2}"
3737
fi
3838
fi
3939

.github/workflows/build-manywheel-images.yml

Lines changed: 0 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -43,51 +43,6 @@ jobs:
4343
curr_branch: ${{ github.head_ref || github.ref_name }}
4444
curr_ref_type: ${{ github.ref_type }}
4545

46-
build-docker-cuda:
47-
environment: ${{ (github.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/tags/v')) && 'docker-build' || '' }}
48-
needs: get-label-type
49-
runs-on: "${{ needs.get-label-type.outputs.label-type }}linux.9xlarge.ephemeral"
50-
strategy:
51-
matrix:
52-
cuda_version: ["12.8", "12.6", "12.4", "11.8"]
53-
env:
54-
GPU_ARCH_TYPE: cuda
55-
GPU_ARCH_VERSION: ${{ matrix.cuda_version }}
56-
steps:
57-
- name: Purge tools folder (free space for build)
58-
run: rm -rf /opt/hostedtoolcache
59-
- name: Checkout PyTorch
60-
uses: pytorch/pytorch/.github/actions/checkout-pytorch@main
61-
with:
62-
submodules: false
63-
- name: Calculate docker image
64-
if: env.WITH_PUSH == 'false'
65-
uses: pytorch/test-infra/.github/actions/calculate-docker-image@main
66-
with:
67-
docker-image-name: manylinux-builder-cuda${{matrix.cuda_version}}
68-
docker-build-dir: .ci/docker/manywheel
69-
always-rebuild: true
70-
push: true
71-
- name: Authenticate if WITH_PUSH
72-
if: env.WITH_PUSH == 'true'
73-
env:
74-
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
75-
DOCKER_ID: ${{ secrets.DOCKER_ID }}
76-
run: |
77-
if [[ "${WITH_PUSH}" == true ]]; then
78-
echo "${DOCKER_TOKEN}" | docker login -u "${DOCKER_ID}" --password-stdin
79-
fi
80-
- name: Build Docker Image
81-
if: env.WITH_PUSH == 'true'
82-
uses: nick-fields/retry@v3.0.0
83-
with:
84-
shell: bash
85-
timeout_minutes: 90
86-
max_attempts: 3
87-
retry_wait_seconds: 90
88-
command: |
89-
.ci/docker/manywheel/build.sh manylinux-builder:cuda${{matrix.cuda_version}}
90-
# NOTE: manylinux_2_28 are still experimental, see https://github.com/pytorch/pytorch/issues/123649
9146
build-docker-cuda-manylinux_2_28:
9247
environment: ${{ (github.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/tags/v')) && 'docker-build' || '' }}
9348
needs: get-label-type
@@ -214,42 +169,6 @@ jobs:
214169
retry_wait_seconds: 90
215170
command: |
216171
.ci/docker/manywheel/build.sh manylinux2_28-builder:rocm${{matrix.rocm_version}}
217-
build-docker-cpu:
218-
environment: ${{ (github.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/tags/v')) && 'docker-build' || '' }}
219-
needs: get-label-type
220-
runs-on: "${{ needs.get-label-type.outputs.label-type }}linux.9xlarge.ephemeral"
221-
steps:
222-
- name: Checkout PyTorch
223-
uses: pytorch/pytorch/.github/actions/checkout-pytorch@main
224-
with:
225-
submodules: false
226-
- name: Calculate docker image
227-
if: env.WITH_PUSH == 'false'
228-
uses: pytorch/test-infra/.github/actions/calculate-docker-image@main
229-
with:
230-
docker-image-name: manylinux-builder-cpu
231-
docker-build-dir: .ci/docker/manywheel
232-
always-rebuild: true
233-
push: true
234-
- name: Authenticate if WITH_PUSH
235-
if: env.WITH_PUSH == 'true'
236-
env:
237-
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
238-
DOCKER_ID: ${{ secrets.DOCKER_ID }}
239-
run: |
240-
if [[ "${WITH_PUSH}" == true ]]; then
241-
echo "${DOCKER_TOKEN}" | docker login -u "${DOCKER_ID}" --password-stdin
242-
fi
243-
- name: Build Docker Image
244-
if: env.WITH_PUSH == 'true'
245-
uses: nick-fields/retry@v3.0.0
246-
with:
247-
shell: bash
248-
timeout_minutes: 90
249-
max_attempts: 3
250-
retry_wait_seconds: 90
251-
command: |
252-
.ci/docker/manywheel/build.sh manylinux-builder:cpu
253172
build-docker-cpu-manylinux_2_28:
254173
environment: ${{ (github.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/tags/v')) && 'docker-build' || '' }}
255174
needs: get-label-type

0 commit comments

Comments
 (0)
0