Skip to content

Commit acb5b4a

Browse files
authored
Disable docker image build job latest-pytorch-amd for now (#27541)
fix Co-authored-by: ydshieh <[email protected]>
1 parent 6b39470 commit acb5b4a

File tree

1 file changed

+35
-34
lines changed

1 file changed

+35
-34
lines changed

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

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -208,40 +208,41 @@ jobs:
208208
push: true
209209
tags: huggingface/transformers-pytorch-gpu
210210

211-
latest-pytorch-amd:
212-
name: "Latest PyTorch (AMD) [dev]"
213-
runs-on: [self-hosted, docker-gpu, amd-gpu, single-gpu, mi210]
214-
steps:
215-
- name: Set up Docker Buildx
216-
uses: docker/setup-buildx-action@v3
217-
- name: Check out code
218-
uses: actions/checkout@v3
219-
- name: Login to DockerHub
220-
uses: docker/login-action@v3
221-
with:
222-
username: ${{ secrets.DOCKERHUB_USERNAME }}
223-
password: ${{ secrets.DOCKERHUB_PASSWORD }}
224-
- name: Build and push
225-
uses: docker/build-push-action@v5
226-
with:
227-
context: ./docker/transformers-pytorch-amd-gpu
228-
build-args: |
229-
REF=main
230-
push: true
231-
tags: huggingface/transformers-pytorch-amd-gpu${{ inputs.image_postfix }}
232-
# Push CI images still need to be re-built daily
233-
-
234-
name: Build and push (for Push CI) in a daily basis
235-
# This condition allows `schedule` events, or `push` events that trigger this workflow NOT via `workflow_call`.
236-
# The later case is useful for manual image building for debugging purpose. Use another tag in this case!
237-
if: inputs.image_postfix != '-push-ci'
238-
uses: docker/build-push-action@v5
239-
with:
240-
context: ./docker/transformers-pytorch-amd-gpu
241-
build-args: |
242-
REF=main
243-
push: true
244-
tags: huggingface/transformers-pytorch-amd-gpu-push-ci
211+
# Need to be fixed with the help from Guillaume.
212+
# latest-pytorch-amd:
213+
# name: "Latest PyTorch (AMD) [dev]"
214+
# runs-on: [self-hosted, docker-gpu, amd-gpu, single-gpu, mi210]
215+
# steps:
216+
# - name: Set up Docker Buildx
217+
# uses: docker/setup-buildx-action@v3
218+
# - name: Check out code
219+
# uses: actions/checkout@v3
220+
# - name: Login to DockerHub
221+
# uses: docker/login-action@v3
222+
# with:
223+
# username: ${{ secrets.DOCKERHUB_USERNAME }}
224+
# password: ${{ secrets.DOCKERHUB_PASSWORD }}
225+
# - name: Build and push
226+
# uses: docker/build-push-action@v5
227+
# with:
228+
# context: ./docker/transformers-pytorch-amd-gpu
229+
# build-args: |
230+
# REF=main
231+
# push: true
232+
# tags: huggingface/transformers-pytorch-amd-gpu${{ inputs.image_postfix }}
233+
# # Push CI images still need to be re-built daily
234+
# -
235+
# name: Build and push (for Push CI) in a daily basis
236+
# # This condition allows `schedule` events, or `push` events that trigger this workflow NOT via `workflow_call`.
237+
# # The later case is useful for manual image building for debugging purpose. Use another tag in this case!
238+
# if: inputs.image_postfix != '-push-ci'
239+
# uses: docker/build-push-action@v5
240+
# with:
241+
# context: ./docker/transformers-pytorch-amd-gpu
242+
# build-args: |
243+
# REF=main
244+
# push: true
245+
# tags: huggingface/transformers-pytorch-amd-gpu-push-ci
245246

246247
latest-tensorflow:
247248
name: "Latest TensorFlow [dev]"

0 commit comments

Comments
 (0)