From: Rong Rong (AI Infra) Date: Mon, 23 Aug 2021 16:28:21 +0000 (-0700) Subject: hotfix clone issue (#63770) X-Git-Tag: accepted/tizen/8.0/unified/20231005.095509~812 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=98449f5bbaed2ae8b2ac5f3e4d1cbe6445011961;p=platform%2Fupstream%2Fpytorch.git hotfix clone issue (#63770) Summary: This was discovered during https://github.com/pytorch/pytorch/issues/63408. For some reason only this checkout action is not correctly set fetch-depth Pull Request resolved: https://github.com/pytorch/pytorch/pull/63770 Reviewed By: malfet, janeyx99 Differential Revision: D30486110 Pulled By: walterddr fbshipit-source-id: a67395cca2487407ed0d49c8c89587935ca5f212 --- diff --git a/.github/templates/linux_ci_workflow.yml.j2 b/.github/templates/linux_ci_workflow.yml.j2 index bceeba5..9b4ba87 100644 --- a/.github/templates/linux_ci_workflow.yml.j2 +++ b/.github/templates/linux_ci_workflow.yml.j2 @@ -316,6 +316,7 @@ jobs: - name: Checkout PyTorch uses: actions/checkout@v2 with: + fetch-depth: 0 # deep clone, to allow sharding to use git rev-list submodules: recursive - name: Pull docker image run: | diff --git a/.github/workflows/generated-linux-bionic-cuda10.2-py3.9-gcc7.yml b/.github/workflows/generated-linux-bionic-cuda10.2-py3.9-gcc7.yml index 1e1aec0..7e6006a 100644 --- a/.github/workflows/generated-linux-bionic-cuda10.2-py3.9-gcc7.yml +++ b/.github/workflows/generated-linux-bionic-cuda10.2-py3.9-gcc7.yml @@ -284,6 +284,7 @@ jobs: - name: Checkout PyTorch uses: actions/checkout@v2 with: + fetch-depth: 0 # deep clone, to allow sharding to use git rev-list submodules: recursive - name: Pull docker image run: | diff --git a/.github/workflows/generated-linux-bionic-py3.8-gcc9-coverage.yml b/.github/workflows/generated-linux-bionic-py3.8-gcc9-coverage.yml index 28180e3..2cd316b 100644 --- a/.github/workflows/generated-linux-bionic-py3.8-gcc9-coverage.yml +++ b/.github/workflows/generated-linux-bionic-py3.8-gcc9-coverage.yml @@ -284,6 +284,7 @@ jobs: - name: Checkout PyTorch uses: actions/checkout@v2 with: + fetch-depth: 0 # deep clone, to allow sharding to use git rev-list submodules: recursive - name: Pull docker image run: | diff --git a/.github/workflows/generated-linux-xenial-cuda10.2-py3.6-gcc7.yml b/.github/workflows/generated-linux-xenial-cuda10.2-py3.6-gcc7.yml index ddb1522..a881914 100644 --- a/.github/workflows/generated-linux-xenial-cuda10.2-py3.6-gcc7.yml +++ b/.github/workflows/generated-linux-xenial-cuda10.2-py3.6-gcc7.yml @@ -284,6 +284,7 @@ jobs: - name: Checkout PyTorch uses: actions/checkout@v2 with: + fetch-depth: 0 # deep clone, to allow sharding to use git rev-list submodules: recursive - name: Pull docker image run: | diff --git a/.github/workflows/generated-linux-xenial-cuda11.1-py3.6-gcc7.yml b/.github/workflows/generated-linux-xenial-cuda11.1-py3.6-gcc7.yml index fb6d83a..264553f 100644 --- a/.github/workflows/generated-linux-xenial-cuda11.1-py3.6-gcc7.yml +++ b/.github/workflows/generated-linux-xenial-cuda11.1-py3.6-gcc7.yml @@ -284,6 +284,7 @@ jobs: - name: Checkout PyTorch uses: actions/checkout@v2 with: + fetch-depth: 0 # deep clone, to allow sharding to use git rev-list submodules: recursive - name: Pull docker image run: | diff --git a/.github/workflows/generated-linux-xenial-py3.6-gcc5.4.yml b/.github/workflows/generated-linux-xenial-py3.6-gcc5.4.yml index eabc424..7b100e6 100644 --- a/.github/workflows/generated-linux-xenial-py3.6-gcc5.4.yml +++ b/.github/workflows/generated-linux-xenial-py3.6-gcc5.4.yml @@ -284,6 +284,7 @@ jobs: - name: Checkout PyTorch uses: actions/checkout@v2 with: + fetch-depth: 0 # deep clone, to allow sharding to use git rev-list submodules: recursive - name: Pull docker image run: | diff --git a/.github/workflows/generated-periodic-linux-xenial-cuda11.3-py3.6-gcc7.yml b/.github/workflows/generated-periodic-linux-xenial-cuda11.3-py3.6-gcc7.yml index 47ac9f7..9d7da98 100644 --- a/.github/workflows/generated-periodic-linux-xenial-cuda11.3-py3.6-gcc7.yml +++ b/.github/workflows/generated-periodic-linux-xenial-cuda11.3-py3.6-gcc7.yml @@ -282,6 +282,7 @@ jobs: - name: Checkout PyTorch uses: actions/checkout@v2 with: + fetch-depth: 0 # deep clone, to allow sharding to use git rev-list submodules: recursive - name: Pull docker image run: |