mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-18 12:08:22 +06:00
Disable docker image build job latest-pytorch-amd
for now (#27541)
fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
parent
6b39470b74
commit
acb5b4aff5
69
.github/workflows/build-docker-images.yml
vendored
69
.github/workflows/build-docker-images.yml
vendored
@ -208,40 +208,41 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: huggingface/transformers-pytorch-gpu
|
tags: huggingface/transformers-pytorch-gpu
|
||||||
|
|
||||||
latest-pytorch-amd:
|
# Need to be fixed with the help from Guillaume.
|
||||||
name: "Latest PyTorch (AMD) [dev]"
|
# latest-pytorch-amd:
|
||||||
runs-on: [self-hosted, docker-gpu, amd-gpu, single-gpu, mi210]
|
# name: "Latest PyTorch (AMD) [dev]"
|
||||||
steps:
|
# runs-on: [self-hosted, docker-gpu, amd-gpu, single-gpu, mi210]
|
||||||
- name: Set up Docker Buildx
|
# steps:
|
||||||
uses: docker/setup-buildx-action@v3
|
# - name: Set up Docker Buildx
|
||||||
- name: Check out code
|
# uses: docker/setup-buildx-action@v3
|
||||||
uses: actions/checkout@v3
|
# - name: Check out code
|
||||||
- name: Login to DockerHub
|
# uses: actions/checkout@v3
|
||||||
uses: docker/login-action@v3
|
# - name: Login to DockerHub
|
||||||
with:
|
# uses: docker/login-action@v3
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
# with:
|
||||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
# username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
- name: Build and push
|
# password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||||
uses: docker/build-push-action@v5
|
# - name: Build and push
|
||||||
with:
|
# uses: docker/build-push-action@v5
|
||||||
context: ./docker/transformers-pytorch-amd-gpu
|
# with:
|
||||||
build-args: |
|
# context: ./docker/transformers-pytorch-amd-gpu
|
||||||
REF=main
|
# build-args: |
|
||||||
push: true
|
# REF=main
|
||||||
tags: huggingface/transformers-pytorch-amd-gpu${{ inputs.image_postfix }}
|
# push: true
|
||||||
# Push CI images still need to be re-built daily
|
# tags: huggingface/transformers-pytorch-amd-gpu${{ inputs.image_postfix }}
|
||||||
-
|
# # Push CI images still need to be re-built daily
|
||||||
name: Build and push (for Push CI) in a daily basis
|
# -
|
||||||
# This condition allows `schedule` events, or `push` events that trigger this workflow NOT via `workflow_call`.
|
# name: Build and push (for Push CI) in a daily basis
|
||||||
# The later case is useful for manual image building for debugging purpose. Use another tag in this case!
|
# # This condition allows `schedule` events, or `push` events that trigger this workflow NOT via `workflow_call`.
|
||||||
if: inputs.image_postfix != '-push-ci'
|
# # The later case is useful for manual image building for debugging purpose. Use another tag in this case!
|
||||||
uses: docker/build-push-action@v5
|
# if: inputs.image_postfix != '-push-ci'
|
||||||
with:
|
# uses: docker/build-push-action@v5
|
||||||
context: ./docker/transformers-pytorch-amd-gpu
|
# with:
|
||||||
build-args: |
|
# context: ./docker/transformers-pytorch-amd-gpu
|
||||||
REF=main
|
# build-args: |
|
||||||
push: true
|
# REF=main
|
||||||
tags: huggingface/transformers-pytorch-amd-gpu-push-ci
|
# push: true
|
||||||
|
# tags: huggingface/transformers-pytorch-amd-gpu-push-ci
|
||||||
|
|
||||||
latest-tensorflow:
|
latest-tensorflow:
|
||||||
name: "Latest TensorFlow [dev]"
|
name: "Latest TensorFlow [dev]"
|
||||||
|
Loading…
Reference in New Issue
Block a user