From aa081d8f276d9426a89fe55ffd5108dda82fe29c Mon Sep 17 00:00:00 2001 From: Nikita Shulga Date: Sat, 6 May 2023 15:24:48 +0000 Subject: [PATCH] [CI] Update torchtext commit (#100767) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also, install torchdata as torchtext depends on it ### 🤖 Generated by Copilot at d3ec9e4 > _`pytorch/data` joins_ > _CI scripts get updated_ > _Winter of changes_ Pull Request resolved: https://github.com/pytorch/pytorch/pull/100767 Approved by: https://github.com/ngimel, https://github.com/r-barnes --- .ci/pytorch/common_utils.sh | 9 ++++++--- .github/ci_commit_pins/data.txt | 1 + .github/ci_commit_pins/text.txt | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 .github/ci_commit_pins/data.txt diff --git a/.ci/pytorch/common_utils.sh b/.ci/pytorch/common_utils.sh index 87cc206958e..bc559415467 100644 --- a/.ci/pytorch/common_utils.sh +++ b/.ci/pytorch/common_utils.sh @@ -139,9 +139,12 @@ function install_torchaudio() { } function install_torchtext() { - local commit - commit=$(get_pinned_commit text) - pip_install --no-use-pep517 --user "git+https://github.com/pytorch/text.git@${commit}" + local data_commit + local text_commit + data_commit=$(get_pinned_commit data) + text_commit=$(get_pinned_commit text) + pip_install --no-use-pep517 --user "git+https://github.com/pytorch/data.git@${data_commit}" + pip_install --no-use-pep517 --user "git+https://github.com/pytorch/text.git@${text_commit}" } function install_torchvision() { diff --git a/.github/ci_commit_pins/data.txt b/.github/ci_commit_pins/data.txt new file mode 100644 index 00000000000..3bdccee9a01 --- /dev/null +++ b/.github/ci_commit_pins/data.txt @@ -0,0 +1 @@ +11bb5b847ea8b9e0d9bb82db3304daf383008d3f diff --git a/.github/ci_commit_pins/text.txt b/.github/ci_commit_pins/text.txt index c0e01da17fd..713017e6794 100644 --- a/.github/ci_commit_pins/text.txt +++ b/.github/ci_commit_pins/text.txt @@ -1 +1 @@ -5b78d074bd303eb230d30567646fcf0358ee2dd4 +b0ebddc648d279826089db91775375221777a2db