[BE][GHA] Further refactor checkout_pytorch

Rename `checkout_pytorch` to `checkout` and assign `submodules` argument
a default values, which allow one to replace 10+
`common.checkout_pytorch("recursive")` with `common.checkout()`

And also use the same macro to checkout builder in binary builds
workflow

Pull Request resolved: https://github.com/pytorch/pytorch/pull/71664
This commit is contained in:
Nikita Shulga 2022-01-21 16:30:05 -08:00 committed by PyTorch MergeBot
parent dcc1e1cd87
commit 9950f3b7e6
14 changed files with 728 additions and 201 deletions

View File

@ -32,7 +32,7 @@ on:
- name: print labels
run: echo "${PR_LABELS}"
!{{ common.setup_ec2_linux() }}
!{{ common.checkout_pytorch("recursive") }}
!{{ common.checkout() }}
!{{ common.calculate_docker_image(false) }}
- name: Pull Docker image
run: |

View File

@ -32,7 +32,7 @@ on:
- name: print labels
run: echo "${PR_LABELS}"
!{{ common.setup_ec2_linux() }}
!{{ common.checkout_pytorch("recursive") }}
!{{ common.checkout() }}
!{{ common.calculate_docker_image(false) }}
- name: Pull Docker image
run: |

View File

@ -32,7 +32,7 @@ on:
- name: print labels
run: echo "${PR_LABELS}"
!{{ common.setup_ec2_linux() }}
!{{ common.checkout_pytorch("recursive") }}
!{{ common.checkout() }}
!{{ common.calculate_docker_image(false) }}
- name: Pull Docker image
run: |

View File

@ -177,8 +177,8 @@ concurrency:
docker system prune -af
{%- endmacro -%}
{%- macro checkout_pytorch(submodules, deep_clone=True, pytorch_directory="") -%}
- name: Checkout PyTorch
{%- macro checkout(submodules="recursive", deep_clone=True, directory="", repository="pytorch/pytorch") -%}
- name: Checkout !{{ 'PyTorch' if repository == "pytorch/pytorch" else repository }}
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
{%- if deep_clone %}
@ -186,15 +186,18 @@ concurrency:
fetch-depth: 0
{%- endif %}
submodules: !{{ submodules }}
{%- if pytorch_directory %}
path: !{{ pytorch_directory }}
{%- if repository != "pytorch/pytorch" %}
repository: !{{ repository }}
{%- endif %}
- name: Clean PyTorch checkout
{%- if directory %}
path: !{{ directory }}
{%- endif %}
- name: Clean !{{ 'PyTorch' if repository == "pytorch/pytorch" else repository }} checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
{%- if pytorch_directory%}
working-directory: !{{ pytorch_directory }}
{%- if directory%}
working-directory: !{{ directory }}
{%- endif %}
{%- endmacro -%}

View File

@ -40,7 +40,7 @@ jobs:
name: docker-build (${{ matrix.docker_image_short_name }})
steps:
!{{ common.setup_ec2_linux() }}
!{{ common.checkout_pytorch("recursive") }}
!{{ common.checkout() }}
!{{ common.calculate_docker_image(true) }}
- name: Pull Docker image
run: |

View File

@ -53,7 +53,7 @@ jobs:
steps:
- name: print labels
run: echo "${PR_LABELS}"
!{{ common.checkout_pytorch("recursive") }}
!{{ common.checkout() }}
!{{ common.setup_miniconda("3.8") }}
- name: Install ios / conda Dependencies
run: |

View File

@ -77,12 +77,8 @@ jobs:
!{{ binary_env(config) }}
steps:
!{{ common.setup_ec2_linux() }}
!{{ common.checkout_pytorch("recursive", deep_clone=False, pytorch_directory="pytorch") }}
- name: Clone pytorch/builder
uses: actions/checkout@v2
with:
repository: pytorch/builder
path: builder
!{{ common.checkout(deep_clone=False, directory="pytorch") }}
!{{ common.checkout(deep_clone=False, directory="builder", repository="pytorch/builder") }}
{%- if config["gpu_arch_type"] == 'cuda' and config["gpu_arch_version"].startswith('11') %}
- name: Set BUILD_SPLIT_CUDA
run: |

View File

@ -67,7 +67,7 @@ jobs:
- name: print labels
run: echo "${PR_LABELS}"
!{{ common.setup_ec2_linux() }}
!{{ common.checkout_pytorch("recursive") }}
!{{ common.checkout() }}
!{{ common.calculate_docker_image(false) }}
- name: Pull Docker image
run: |
@ -207,7 +207,7 @@ jobs:
{%- else %}
!{{ common.setup_ec2_linux() }}
{%- endif %}
!{{ common.checkout_pytorch("recursive") }}
!{{ common.checkout() }}
- name: Pull Docker image
run: |
!{{ common.add_retry_to_env() }}
@ -367,7 +367,7 @@ jobs:
WITH_PUSH: ${{ github.event_name == 'schedule' }}
steps:
!{{ common.setup_ec2_linux() }}
!{{ common.checkout_pytorch("recursive") }}
!{{ common.checkout() }}
- name: Pull Docker image
run: |
!{{ common.add_retry_to_env() }}

View File

@ -55,7 +55,7 @@ jobs:
steps:
- name: print labels
run: echo "${PR_LABELS}"
!{{ common.checkout_pytorch("recursive") }}
!{{ common.checkout() }}
!{{ common.setup_miniconda("3.8") }}
- name: Install macOS homebrew dependencies
run: |
@ -125,7 +125,7 @@ jobs:
NUM_TEST_SHARDS: ${{ matrix.num_shards }}
PYTORCH_IGNORE_DISABLED_ISSUES: ${{ needs.generate-test-matrix.outputs.ignore-disabled-issues }}
steps:
!{{ common.checkout_pytorch("false") }}
!{{ common.checkout(submodules="false") }}
- uses: actions/download-artifact@v2
name: Download PyTorch Build Artifacts from GHA
with:

View File

@ -87,7 +87,7 @@ jobs:
uses: seemethere/add-github-ssh-key@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
!{{ common.checkout_pytorch("recursive") }}
!{{ common.checkout() }}
!{{ common.display_ec2_information() }}
- name: Install Visual Studio 2019 toolchain
shell: powershell
@ -178,7 +178,7 @@ jobs:
uses: seemethere/add-github-ssh-key@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
!{{ common.checkout_pytorch("recursive") }}
!{{ common.checkout() }}
- name: Install Visual Studio 2019 toolchain
shell: powershell
run: |

View File

@ -112,11 +112,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -496,11 +502,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -887,11 +899,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -1281,11 +1299,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -1675,11 +1699,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -2068,11 +2098,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -2452,11 +2488,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -2843,11 +2885,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -3237,11 +3285,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -3631,11 +3685,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -4024,11 +4084,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -4408,11 +4474,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -4799,11 +4871,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -5193,11 +5271,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -5587,11 +5671,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -5980,11 +6070,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -6364,11 +6460,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -6755,11 +6857,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -7149,11 +7257,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -7543,11 +7657,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"

View File

@ -113,11 +113,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -499,11 +505,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -885,11 +897,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -1271,11 +1289,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -1658,11 +1682,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -2052,11 +2082,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -2446,11 +2482,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -2840,11 +2882,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -3234,11 +3282,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -3631,11 +3685,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -4028,11 +4088,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -4425,11 +4491,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -4822,11 +4894,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -5219,11 +5297,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -5616,11 +5700,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -6013,11 +6103,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -6410,11 +6506,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -6807,11 +6909,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -7204,11 +7312,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -7601,11 +7715,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"

View File

@ -113,11 +113,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -499,11 +505,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -885,11 +897,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -1271,11 +1289,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -1658,11 +1682,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -2052,11 +2082,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -2446,11 +2482,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -2840,11 +2882,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -3234,11 +3282,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -3631,11 +3685,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -4028,11 +4088,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -4425,11 +4491,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -4822,11 +4894,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -5219,11 +5297,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -5616,11 +5700,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -6013,11 +6103,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -6410,11 +6506,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -6807,11 +6909,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -7204,11 +7312,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -7601,11 +7715,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"

View File

@ -112,11 +112,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -496,11 +502,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -887,11 +899,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -1281,11 +1299,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -1675,11 +1699,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -2069,11 +2099,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -2455,11 +2491,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -2840,11 +2882,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -3224,11 +3272,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -3615,11 +3669,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -4009,11 +4069,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -4403,11 +4469,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -4797,11 +4869,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -5183,11 +5261,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -5568,11 +5652,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -5952,11 +6042,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -6343,11 +6439,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -6737,11 +6839,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -7131,11 +7239,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -7525,11 +7639,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -7911,11 +8031,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -8296,11 +8422,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -8680,11 +8812,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -9071,11 +9209,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -9465,11 +9609,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -9859,11 +10009,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Set BUILD_SPLIT_CUDA
run: |
echo "BUILD_SPLIT_CUDA='ON'" >> "$GITHUB_ENV"
@ -10253,11 +10409,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {
@ -10639,11 +10801,17 @@ jobs:
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: pytorch
- name: Clone pytorch/builder
uses: actions/checkout@v2
- name: Checkout pytorch/builder
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
submodules: recursive
repository: pytorch/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
# Remove any artifacts from the previous checkouts
git clean -fxd
working-directory: builder
- name: Pull Docker image
run: |
retry () {