Skip to content

Commit 4e255c9

Browse files
atalmanosalpekar
andauthored
[Release 0.16] Release only changes (#2206)
* [Release 0.16] Release only changes * Set secrets for test env * Exclude rocm from build matrix * remove extra space --------- Co-authored-by: Omkar Salpekar <[email protected]>
1 parent 45e4b8c commit 4e255c9

17 files changed

+30
-26
lines changed

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.1
1919
with:
2020
package-type: conda
2121
os: linux
@@ -35,7 +35,7 @@ jobs:
3535
smoke-test-script: test/smoke_tests/smoke_tests.py
3636
package-name: torchtext
3737
name: ${{ matrix.repository }}
38-
uses: pytorch/test-infra/.github/workflows/build_conda_linux.yml@main
38+
uses: pytorch/test-infra/.github/workflows/build_conda_linux.yml@release/2.1
3939
with:
4040
conda-package-directory: ${{ matrix.conda-package-directory }}
4141
repository: ${{ matrix.repository }}
@@ -52,3 +52,4 @@ jobs:
5252
trigger-event: ${{ github.event_name }}
5353
secrets:
5454
CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
55+
CONDA_PYTORCHBOT_TOKEN_TEST: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}

.github/workflows/build-conda-m1.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.1
1919
with:
2020
package-type: conda
2121
os: macos-arm64
@@ -34,7 +34,7 @@ jobs:
3434
smoke-test-script: test/smoke_tests/smoke_tests.py
3535
package-name: torchtext
3636
name: ${{ matrix.repository }}
37-
uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@main
37+
uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@release/2.1
3838
with:
3939
conda-package-directory: ${{ matrix.conda-package-directory }}
4040
repository: ${{ matrix.repository }}
@@ -52,3 +52,4 @@ jobs:
5252
trigger-event: ${{ github.event_name }}
5353
secrets:
5454
CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
55+
CONDA_PYTORCHBOT_TOKEN_TEST: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}

.github/workflows/build-conda-macos.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.1
1919
with:
2020
package-type: conda
2121
os: macos
@@ -34,7 +34,7 @@ jobs:
3434
smoke-test-script: test/smoke_tests/smoke_tests.py
3535
package-name: torchtext
3636
name: ${{ matrix.repository }}
37-
uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@main
37+
uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@release/2.1
3838
with:
3939
conda-package-directory: ${{ matrix.conda-package-directory }}
4040
repository: ${{ matrix.repository }}
@@ -52,3 +52,4 @@ jobs:
5252
trigger-event: ${{ github.event_name }}
5353
secrets:
5454
CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
55+
CONDA_PYTORCHBOT_TOKEN_TEST: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}

.github/workflows/build-conda-windows.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.1
1919
with:
2020
package-type: conda
2121
os: windows
@@ -35,7 +35,7 @@ jobs:
3535
smoke-test-script: test/smoke_tests/smoke_tests.py
3636
package-name: torchtext
3737
name: ${{ matrix.repository }}
38-
uses: pytorch/test-infra/.github/workflows/build_conda_windows.yml@main
38+
uses: pytorch/test-infra/.github/workflows/build_conda_windows.yml@release/2.1
3939
with:
4040
conda-package-directory: ${{ matrix.conda-package-directory }}
4141
repository: ${{ matrix.repository }}
@@ -50,3 +50,4 @@ jobs:
5050
trigger-event: ${{ github.event_name }}
5151
secrets:
5252
CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
53+
CONDA_PYTORCHBOT_TOKEN_TEST: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}

.github/workflows/build-docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
jobs:
1616
build:
17-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
17+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.1
1818
with:
1919
job-name: Build doc
2020
runner: linux.2xlarge

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.1
1919
with:
2020
package-type: wheel
2121
os: linux
2222
test-infra-repository: pytorch/test-infra
2323
test-infra-ref: main
2424
with-cuda: disable
25+
with-rocm: disable
2526
build:
2627
needs: generate-matrix
2728
strategy:
@@ -34,7 +35,7 @@ jobs:
3435
smoke-test-script: test/smoke_tests/smoke_tests.py
3536
package-name: torchtext
3637
name: ${{ matrix.repository }}
37-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
38+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.1
3839
with:
3940
repository: ${{ matrix.repository }}
4041
ref: ""

.github/workflows/build-wheels-m1.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.1
1919
with:
2020
package-type: wheel
2121
os: macos-arm64
@@ -33,7 +33,7 @@ jobs:
3333
package-name: torchtext
3434
smoke-test-script: test/smoke_tests/smoke_tests.py
3535
name: ${{ matrix.repository }}
36-
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
36+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.1
3737
with:
3838
repository: ${{ matrix.repository }}
3939
ref: ""

.github/workflows/build-wheels-macos.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.1
1919
with:
2020
package-type: wheel
2121
os: macos
@@ -33,7 +33,7 @@ jobs:
3333
package-name: torchtext
3434
smoke-test-script: test/smoke_tests/smoke_tests.py
3535
name: ${{ matrix.repository }}
36-
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
36+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.1
3737
with:
3838
repository: ${{ matrix.repository }}
3939
ref: ""

.github/workflows/build-wheels-windows.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.1
1919
with:
2020
package-type: wheel
2121
os: windows
@@ -35,7 +35,7 @@ jobs:
3535
smoke-test-script: test/smoke_tests/smoke_tests.py
3636
package-name: torchtext
3737
name: ${{ matrix.repository }}
38-
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
38+
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@release/2.1
3939
with:
4040
repository: ${{ matrix.repository }}
4141
ref: ""

.github/workflows/integration-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
matrix:
1313
python_version: ["3.8"]
1414
fail-fast: false
15-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
15+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.1
1616
with:
1717
runner: linux.12xlarge
1818
repository: pytorch/text

.github/workflows/lint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
python-source-and-configs:
14-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
14+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.1
1515
with:
1616
repository: pytorch/text
1717
script: |
@@ -41,7 +41,7 @@ jobs:
4141
echo '::endgroup::'
4242
4343
c-source:
44-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
44+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.1
4545
with:
4646
repository: pytorch/text
4747
script: |

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
matrix:
1919
python_version: ["3.8", "3.9", "3.10"]
2020
fail-fast: false
21-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
21+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.1
2222
with:
2323
runner: linux.12xlarge
2424
repository: pytorch/text

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
python_version: ["3.8"]
2020
cuda_arch_version: ["11.7"]
2121
fail-fast: false
22-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
22+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.1
2323
with:
2424
runner: linux.g5.4xlarge.nvidia.gpu
2525
repository: pytorch/text

.github/workflows/test-macos-cpu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
matrix:
1919
python_version: ["3.8", "3.9", "3.10"]
2020
fail-fast: false
21-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
21+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.1
2222
with:
2323
runner: macos-12
2424
repository: pytorch/text

.github/workflows/test-windows-cpu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
matrix:
1919
python_version: ["3.8", "3.9", "3.10"]
2020
fail-fast: false
21-
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
21+
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.1
2222
with:
2323
runner: windows.4xlarge
2424
repository: pytorch/text

.github/workflows/validate-binaries.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ on:
4545
type: string
4646
jobs:
4747
validate-binaries:
48-
uses: pytorch/test-infra/.github/workflows/validate-domain-library.yml@main
48+
uses: pytorch/test-infra/.github/workflows/validate-domain-library.yml@release/2.1
4949
with:
5050
package_type: "conda,wheel"
5151
os: ${{ inputs.os }}

packaging/install_torchdata.sh

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ if [ "$channel" != "nightly" ] && [ "$channel" != "test" ]; then
1616
exit 1
1717
fi
1818

19-
2019
if [ "$package_type" = "wheel" ]; then
2120
install_cmd="pip install"
2221
if [ "$channel" = "nightly" ]; then

0 commit comments

Comments
 (0)