Skip to content

Commit

Permalink
Update git tag (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
Archana-Shinde1 authored Apr 16, 2024
1 parent 67bfb9d commit ead9fa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/open-ce-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ tests:
- name: Setup TorchText Tests
command: |
TEXT_VERSION=$(python -c "import torch; import torchtext; print(torchtext.__version__)")
TAG=${TEXT_VERSION/a%+*/}
TAG=${TEXT_VERSION%+*}
conda install -y git
git clone https://github.com/pytorch/text.git
cd text
git checkout v${TEXT_VERSION}
git checkout v${TAG}
rm -rf torchtext
conda install -y pytest mock sentencepiece nltk parameterized sacremoses spacy portalocker
pip install revtok expecttest torchdata
Expand Down

0 comments on commit ead9fa6

Please sign in to comment.