[CI] Update torchtext commit (#100767)

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: https://github.com/pytorch/pytorch/pull/100767
Approved by: https://github.com/ngimel, https://github.com/r-barnes
This commit is contained in:
Nikita Shulga
2023-05-06 15:24:48 +00:00
committed by PyTorch MergeBot
parent 00d4890218
commit aa081d8f27
3 changed files with 8 additions and 4 deletions

View File

@ -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() {

1
.github/ci_commit_pins/data.txt vendored Normal file
View File

@ -0,0 +1 @@
11bb5b847ea8b9e0d9bb82db3304daf383008d3f

View File

@ -1 +1 @@
5b78d074bd303eb230d30567646fcf0358ee2dd4
b0ebddc648d279826089db91775375221777a2db