File tree 17 files changed +30
-26
lines changed
17 files changed +30
-26
lines changed Original file line number Diff line number Diff line change 15
15
16
16
jobs :
17
17
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
19
19
with :
20
20
package-type : conda
21
21
os : linux
35
35
smoke-test-script : test/smoke_tests/smoke_tests.py
36
36
package-name : torchtext
37
37
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
39
39
with :
40
40
conda-package-directory : ${{ matrix.conda-package-directory }}
41
41
repository : ${{ matrix.repository }}
52
52
trigger-event : ${{ github.event_name }}
53
53
secrets :
54
54
CONDA_PYTORCHBOT_TOKEN : ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
55
+ CONDA_PYTORCHBOT_TOKEN_TEST : ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
Original file line number Diff line number Diff line change 15
15
16
16
jobs :
17
17
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
19
19
with :
20
20
package-type : conda
21
21
os : macos-arm64
34
34
smoke-test-script : test/smoke_tests/smoke_tests.py
35
35
package-name : torchtext
36
36
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
38
38
with :
39
39
conda-package-directory : ${{ matrix.conda-package-directory }}
40
40
repository : ${{ matrix.repository }}
52
52
trigger-event : ${{ github.event_name }}
53
53
secrets :
54
54
CONDA_PYTORCHBOT_TOKEN : ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
55
+ CONDA_PYTORCHBOT_TOKEN_TEST : ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
Original file line number Diff line number Diff line change 15
15
16
16
jobs :
17
17
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
19
19
with :
20
20
package-type : conda
21
21
os : macos
34
34
smoke-test-script : test/smoke_tests/smoke_tests.py
35
35
package-name : torchtext
36
36
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
38
38
with :
39
39
conda-package-directory : ${{ matrix.conda-package-directory }}
40
40
repository : ${{ matrix.repository }}
52
52
trigger-event : ${{ github.event_name }}
53
53
secrets :
54
54
CONDA_PYTORCHBOT_TOKEN : ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
55
+ CONDA_PYTORCHBOT_TOKEN_TEST : ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
Original file line number Diff line number Diff line change 15
15
16
16
jobs :
17
17
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
19
19
with :
20
20
package-type : conda
21
21
os : windows
35
35
smoke-test-script : test/smoke_tests/smoke_tests.py
36
36
package-name : torchtext
37
37
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
39
39
with :
40
40
conda-package-directory : ${{ matrix.conda-package-directory }}
41
41
repository : ${{ matrix.repository }}
50
50
trigger-event : ${{ github.event_name }}
51
51
secrets :
52
52
CONDA_PYTORCHBOT_TOKEN : ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
53
+ CONDA_PYTORCHBOT_TOKEN_TEST : ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
Original file line number Diff line number Diff line change 14
14
15
15
jobs :
16
16
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
18
18
with :
19
19
job-name : Build doc
20
20
runner : linux.2xlarge
Original file line number Diff line number Diff line change 15
15
16
16
jobs :
17
17
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
19
19
with :
20
20
package-type : wheel
21
21
os : linux
22
22
test-infra-repository : pytorch/test-infra
23
23
test-infra-ref : main
24
24
with-cuda : disable
25
+ with-rocm : disable
25
26
build :
26
27
needs : generate-matrix
27
28
strategy :
34
35
smoke-test-script : test/smoke_tests/smoke_tests.py
35
36
package-name : torchtext
36
37
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
38
39
with :
39
40
repository : ${{ matrix.repository }}
40
41
ref : " "
Original file line number Diff line number Diff line change 15
15
16
16
jobs :
17
17
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
19
19
with :
20
20
package-type : wheel
21
21
os : macos-arm64
33
33
package-name : torchtext
34
34
smoke-test-script : test/smoke_tests/smoke_tests.py
35
35
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
37
37
with :
38
38
repository : ${{ matrix.repository }}
39
39
ref : " "
Original file line number Diff line number Diff line change 15
15
16
16
jobs :
17
17
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
19
19
with :
20
20
package-type : wheel
21
21
os : macos
33
33
package-name : torchtext
34
34
smoke-test-script : test/smoke_tests/smoke_tests.py
35
35
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
37
37
with :
38
38
repository : ${{ matrix.repository }}
39
39
ref : " "
Original file line number Diff line number Diff line change 15
15
16
16
jobs :
17
17
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
19
19
with :
20
20
package-type : wheel
21
21
os : windows
35
35
smoke-test-script : test/smoke_tests/smoke_tests.py
36
36
package-name : torchtext
37
37
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
39
39
with :
40
40
repository : ${{ matrix.repository }}
41
41
ref : " "
Original file line number Diff line number Diff line change 12
12
matrix :
13
13
python_version : ["3.8"]
14
14
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
16
16
with :
17
17
runner : linux.12xlarge
18
18
repository : pytorch/text
Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
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
15
15
with :
16
16
repository : pytorch/text
17
17
script : |
41
41
echo '::endgroup::'
42
42
43
43
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
45
45
with :
46
46
repository : pytorch/text
47
47
script : |
Original file line number Diff line number Diff line change 18
18
matrix :
19
19
python_version : ["3.8", "3.9", "3.10"]
20
20
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
22
22
with :
23
23
runner : linux.12xlarge
24
24
repository : pytorch/text
Original file line number Diff line number Diff line change 19
19
python_version : ["3.8"]
20
20
cuda_arch_version : ["11.7"]
21
21
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
23
23
with :
24
24
runner : linux.g5.4xlarge.nvidia.gpu
25
25
repository : pytorch/text
Original file line number Diff line number Diff line change 18
18
matrix :
19
19
python_version : ["3.8", "3.9", "3.10"]
20
20
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
22
22
with :
23
23
runner : macos-12
24
24
repository : pytorch/text
Original file line number Diff line number Diff line change 18
18
matrix :
19
19
python_version : ["3.8", "3.9", "3.10"]
20
20
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
22
22
with :
23
23
runner : windows.4xlarge
24
24
repository : pytorch/text
Original file line number Diff line number Diff line change 45
45
type : string
46
46
jobs :
47
47
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
49
49
with :
50
50
package_type : " conda,wheel"
51
51
os : ${{ inputs.os }}
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ if [ "$channel" != "nightly" ] && [ "$channel" != "test" ]; then
16
16
exit 1
17
17
fi
18
18
19
-
20
19
if [ " $package_type " = " wheel" ]; then
21
20
install_cmd=" pip install"
22
21
if [ " $channel " = " nightly" ]; then
You can’t perform that action at this time.
0 commit comments