Skip to content

Commit 38f4390

Browse files
docker mage job
1 parent 22853f7 commit 38f4390

File tree

3 files changed

+56
-7
lines changed

3 files changed

+56
-7
lines changed

.github/workflows/_binary-build-linux.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,20 @@ jobs:
240240
with:
241241
docker-image: ${{ steps.calculate-docker-image.outputs.docker-image }}
242242

243-
- name: Build Docker image for ppc64le
244-
run: |
245-
docker build --network=host -f ./pytorch/.ci/docker/manywheel/Dockerfile_ppc64le -t pytorch/manylinuxppc64le-builder:cpu-ppc64le-main .
243+
# - name: Build Docker image for ppc64le
244+
# run: |
245+
# docker build --network=host -f ./pytorch/.ci/docker/manywheel/Dockerfile_ppc64le -t pytorch/manylinuxppc64le-builder:cpu-ppc64le-main .
246+
247+
- name: Download Docker image artifact
248+
uses: actions/download-artifact@v4
249+
with:
250+
name: ppc64le-builder-image
251+
path: /tmp
246252

253+
- name: Load Docker image
254+
run: |
255+
gunzip -c /tmp/ppc64le-builder.tar.gz | docker load
256+
247257
- name: Build PyTorch binary
248258
if: ${{ steps.filter.outputs.is-test-matrix-empty == 'False' }}
249259
env:

.github/workflows/_binary-test-linux.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,20 @@ jobs:
223223
uses: pytorch/test-infra/.github/actions/pull-docker-image@main
224224
with:
225225
docker-image: ${{ steps.calculate-docker-image.outputs.docker-image }}
226-
- name: Build Docker image for ppc64le
227-
run: |
228-
docker build --network=host -f ./pytorch/.ci/docker/manywheel/Dockerfile_ppc64le -t pytorch/manylinuxppc64le-builder:cpu-ppc64le-main .
226+
# - name: Build Docker image for ppc64le
227+
# run: |
228+
# docker build --network=host -f ./pytorch/.ci/docker/manywheel/Dockerfile_ppc64le -t pytorch/manylinuxppc64le-builder:cpu-ppc64le-main .
229+
230+
- name: Download Docker image artifact
231+
uses: actions/download-artifact@v4
232+
with:
233+
name: ppc64le-builder-image
234+
path: /tmp
229235

236+
- name: Load Docker image
237+
run: |
238+
gunzip -c /tmp/ppc64le-builder.tar.gz | docker load
239+
230240
- name: Test Pytorch binary
231241
if: ${{ steps.filter.outputs.is-test-matrix-empty == 'False' }}
232242
uses: ./pytorch/.github/actions/test-pytorch-binary

.github/workflows/generated-linux-ppc64le-binary-manywheel-nightly.yml

Lines changed: 30 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)