Skip to content

Commit

Permalink
[CI] Update torchtext commit (#100767)
Browse files Browse the repository at this point in the history
Also, install torchdata as torchtext depends on it

<!--
copilot:poem
-->
### <samp>馃 Generated by Copilot at d3ec9e4</samp>

> _`pytorch/data` joins_
> _CI scripts get updated_
> _Winter of changes_

Pull Request resolved: #100767
Approved by: https://github.com/ngimel, https://github.com/r-barnes
  • Loading branch information
malfet authored and pytorchmergebot committed May 6, 2023
1 parent 00d4890 commit aa081d8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .ci/pytorch/common_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
1 change: 1 addition & 0 deletions .github/ci_commit_pins/data.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
11bb5b847ea8b9e0d9bb82db3304daf383008d3f
2 changes: 1 addition & 1 deletion .github/ci_commit_pins/text.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5b78d074bd303eb230d30567646fcf0358ee2dd4
b0ebddc648d279826089db91775375221777a2db

0 comments on commit aa081d8

Please sign in to comment.