Skip to content

Commit 48ac207

Browse files
author
Ricardo Decal
committed
bump spacy version so that it doesn't downgrade pydantic
1 parent fad5559 commit 48ac207

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.ci/docker/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ PyHamcrest
3333
bs4
3434
awscliv2==2.1.1
3535
flask
36-
spacy>=3.7.0
36+
spacy==3.7.1 # Keep this version consistent with the model version in .jenkins/build.sh
3737
ray[serve,tune]==2.52.1
3838
tensorboard
3939
jinja2==3.1.3

.jenkins/build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ fi
3838
# Install 2.5 to merge all 2.4 PRs - uncomment to install nightly binaries (update the version as needed).
3939
# sudo pip uninstall -y torch torchvision torchaudio torchtext torchdata
4040
#pip3 install torch==2.10.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu130
41-
# Install two language tokenizers for Translation with TorchText tutorial
42-
pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.4.0/en_core_web_sm-3.4.0-py3-none-any.whl
41+
# Install two language tokenizers for Translation with TorchText tutorial
42+
# Note: keep this version consistent with the spacy version in requirements.txt
43+
pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1-py3-none-any.whl
4344

4445
awsv2 -i
4546
awsv2 configure set default.s3.multipart_threshold 5120MB

0 commit comments

Comments
 (0)