forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove manylinux 2014 artifacts (pytorch#148135)
1. Switch Magma build to Manylinux 2.28 base 2. Use manylinux 2.28 as default in populate_binary_env.sh 3. Remove manylinux 2014 docker builds Pull Request resolved: pytorch#148135 Approved by: https://github.com/malfet
- Loading branch information
1 parent
1cb4e2d
commit 1db3c58
Showing
3 changed files
with
3 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,51 +43,6 @@ jobs: | |
curr_branch: ${{ github.head_ref || github.ref_name }} | ||
curr_ref_type: ${{ github.ref_type }} | ||
|
||
build-docker-cuda: | ||
environment: ${{ (github.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/tags/v')) && 'docker-build' || '' }} | ||
needs: get-label-type | ||
runs-on: "${{ needs.get-label-type.outputs.label-type }}linux.9xlarge.ephemeral" | ||
strategy: | ||
matrix: | ||
cuda_version: ["12.8", "12.6", "12.4", "11.8"] | ||
env: | ||
GPU_ARCH_TYPE: cuda | ||
GPU_ARCH_VERSION: ${{ matrix.cuda_version }} | ||
steps: | ||
- name: Purge tools folder (free space for build) | ||
run: rm -rf /opt/hostedtoolcache | ||
- name: Checkout PyTorch | ||
uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||
with: | ||
submodules: false | ||
- name: Calculate docker image | ||
if: env.WITH_PUSH == 'false' | ||
uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||
with: | ||
docker-image-name: manylinux-builder-cuda${{matrix.cuda_version}} | ||
docker-build-dir: .ci/docker/manywheel | ||
always-rebuild: true | ||
push: true | ||
- name: Authenticate if WITH_PUSH | ||
if: env.WITH_PUSH == 'true' | ||
env: | ||
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} | ||
DOCKER_ID: ${{ secrets.DOCKER_ID }} | ||
run: | | ||
if [[ "${WITH_PUSH}" == true ]]; then | ||
echo "${DOCKER_TOKEN}" | docker login -u "${DOCKER_ID}" --password-stdin | ||
fi | ||
- name: Build Docker Image | ||
if: env.WITH_PUSH == 'true' | ||
uses: nick-fields/[email protected] | ||
with: | ||
shell: bash | ||
timeout_minutes: 90 | ||
max_attempts: 3 | ||
retry_wait_seconds: 90 | ||
command: | | ||
.ci/docker/manywheel/build.sh manylinux-builder:cuda${{matrix.cuda_version}} | ||
# NOTE: manylinux_2_28 are still experimental, see https://github.com/pytorch/pytorch/issues/123649 | ||
build-docker-cuda-manylinux_2_28: | ||
environment: ${{ (github.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/tags/v')) && 'docker-build' || '' }} | ||
needs: get-label-type | ||
|
@@ -214,42 +169,6 @@ jobs: | |
retry_wait_seconds: 90 | ||
command: | | ||
.ci/docker/manywheel/build.sh manylinux2_28-builder:rocm${{matrix.rocm_version}} | ||
build-docker-cpu: | ||
environment: ${{ (github.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/tags/v')) && 'docker-build' || '' }} | ||
needs: get-label-type | ||
runs-on: "${{ needs.get-label-type.outputs.label-type }}linux.9xlarge.ephemeral" | ||
steps: | ||
- name: Checkout PyTorch | ||
uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||
with: | ||
submodules: false | ||
- name: Calculate docker image | ||
if: env.WITH_PUSH == 'false' | ||
uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||
with: | ||
docker-image-name: manylinux-builder-cpu | ||
docker-build-dir: .ci/docker/manywheel | ||
always-rebuild: true | ||
push: true | ||
- name: Authenticate if WITH_PUSH | ||
if: env.WITH_PUSH == 'true' | ||
env: | ||
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} | ||
DOCKER_ID: ${{ secrets.DOCKER_ID }} | ||
run: | | ||
if [[ "${WITH_PUSH}" == true ]]; then | ||
echo "${DOCKER_TOKEN}" | docker login -u "${DOCKER_ID}" --password-stdin | ||
fi | ||
- name: Build Docker Image | ||
if: env.WITH_PUSH == 'true' | ||
uses: nick-fields/[email protected] | ||
with: | ||
shell: bash | ||
timeout_minutes: 90 | ||
max_attempts: 3 | ||
retry_wait_seconds: 90 | ||
command: | | ||
.ci/docker/manywheel/build.sh manylinux-builder:cpu | ||
build-docker-cpu-manylinux_2_28: | ||
environment: ${{ (github.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/tags/v')) && 'docker-build' || '' }} | ||
needs: get-label-type | ||
|