Skip to content

Commit e39126a

Browse files
vkuzoatalman
andauthored
update test-infra to release version (#1391)
* update test-infra to release version Summary: pytorch/test-infra#6016 landed recently which is breaking our ROCm builds We point to a special branch of test-infra created just before this PR to unblock the v0.7.0 release. Test Plan: CI Reviewers: Subscribers: Tasks: Tags: * Update .github/workflows/build_wheels_linux.yml --------- Co-authored-by: Andrey Talman <atalman@fb.com>
1 parent f04aec7 commit e39126a

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

.github/workflows/build-wheels_m1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ permissions:
2222
contents: read
2323
jobs:
2424
generate-matrix:
25-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
25+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@torchao-release0.7
2626
with:
2727
package-type: wheel
2828
os: macos-arm64
2929
build:
3030
needs: generate-matrix
3131
if: github.repository_owner == 'pytorch'
3232
name: pytorch/ao
33-
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
33+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@torchao-release0.7
3434
with:
3535
repository: pytorch/ao
3636
ref: ${{ github.head_ref || github.ref_name }}

.github/workflows/build_wheels_aarch64_linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ on:
2222

2323
jobs:
2424
generate-matrix:
25-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
25+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@torchao-release0.7
2626
with:
2727
package-type: wheel
2828
os: linux-aarch64
2929
test-infra-repository: pytorch/test-infra
30-
test-infra-ref: main
30+
test-infra-ref: torchao-release0.7
3131
with-cuda: disable
3232

3333
build:
3434
needs: generate-matrix
3535
permissions:
3636
id-token: write
3737
contents: read
38-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
38+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@torchao-release0.7
3939
with:
4040
# Set the ref to an empty string instead of the default nightly because
4141
# torchao doesn't have nightly branch setup yet, instead the build is

.github/workflows/build_wheels_linux.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ on:
2222

2323
jobs:
2424
generate-matrix:
25-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
25+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@torchao-release0.7
2626
with:
27+
test-infra-ref: torchao-release0.7
2728
package-type: wheel
2829
os: linux
2930
with-cpu: enable
@@ -36,15 +37,15 @@ jobs:
3637
permissions:
3738
id-token: write
3839
contents: read
39-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
40+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@torchao-release0.7
4041
with:
4142
# Set the ref to an empty string instead of the default nightly because
4243
# torchao doesn't have nightly branch setup yet, instead the build is
4344
# triggered daily from main with a schedule
4445
repository: pytorch/ao
4546
ref: ""
4647
test-infra-repository: pytorch/test-infra
47-
test-infra-ref: main
48+
test-infra-ref: torchao-release0.7
4849
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4950
env-var-script: packaging/env_var_script_linux.sh
5051
pre-script: packaging/pre_build_script.sh

.github/workflows/build_wheels_windows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ permissions:
2525

2626
jobs:
2727
generate-matrix:
28-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
28+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@torchao-release0.7
2929
with:
3030
package-type: wheel
3131
os: windows
3232
test-infra-repository: pytorch/test-infra
33-
test-infra-ref: main
33+
test-infra-ref: torchao-release0.7
3434
with-xpu: enable
3535
with-cuda: disable
3636

@@ -47,12 +47,12 @@ jobs:
4747
smoke-test-script: packaging/smoke_test.py
4848
package-name: torchao
4949
name: ${{ matrix.repository }}
50-
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
50+
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@torchao-release0.7
5151
with:
5252
repository: ${{ matrix.repository }}
5353
ref: ""
5454
test-infra-repository: pytorch/test-infra
55-
test-infra-ref: main
55+
test-infra-ref: torchao-release0.7
5656
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5757
pre-script: ${{ matrix.pre-script }}
5858
env-script: ${{ matrix.env-script }}

0 commit comments

Comments
 (0)