Skip to content

Commit

Permalink
Updated pytorch versions in CI and docker (#3275)
Browse files Browse the repository at this point in the history
* Updated pytorch versions in CI and docker

* Removed torchtext as the project has stopped releasing new torch compatible versions
  • Loading branch information
vfdev-5 authored Aug 6, 2024
1 parent e58039e commit aa3e3e1
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytorch-version-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
python-version: [3.8, 3.9, "3.10"]
pytorch-version:
[2.2.2, 2.1.2, 2.0.1, 1.13.1, 1.12.1, 1.11.0, 1.10.0, 1.8.1, 1.5.1]
[2.3.1, 2.2.2, 2.1.2, 2.0.1, 1.13.1, 1.12.1, 1.10.0, 1.8.1, 1.5.1]
exclude:
- pytorch-version: 1.5.1
python-version: 3.9
Expand Down
2 changes: 1 addition & 1 deletion docker/docker.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[DEFAULT]
build_docker_image_pytorch_version = 2.3.1-cuda12.1-cudnn8
build_docker_image_pytorch_version = 2.4.0-cuda12.4-cudnn9
build_docker_image_hvd_version = v0.28.1
build_docker_image_msdp_version = v0.14.0
3 changes: 1 addition & 2 deletions docker/hvd/Dockerfile.hvd-apex-nlp
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ FROM pytorchignite/hvd-apex:latest
# Ignite NLP dependencies
RUN pip install --upgrade --no-cache-dir transformers \
spacy \
nltk \
torchtext
nltk
3 changes: 1 addition & 2 deletions docker/hvd/Dockerfile.hvd-nlp
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ FROM pytorchignite/hvd-base:latest
# Ignite NLP dependencies
RUN pip install --upgrade --no-cache-dir transformers \
spacy \
nltk \
torchtext
nltk
3 changes: 1 addition & 2 deletions docker/main/Dockerfile.apex-nlp
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ FROM pytorchignite/apex:latest
# Ignite NLP dependencies
RUN pip install --upgrade --no-cache-dir transformers \
spacy \
nltk \
torchtext
nltk
3 changes: 1 addition & 2 deletions docker/main/Dockerfile.nlp
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ FROM pytorchignite/base:latest
# Ignite NLP dependencies
RUN pip install --upgrade --no-cache-dir transformers \
spacy \
nltk \
torchtext
nltk
1 change: 0 additions & 1 deletion docker/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ def check_package(package_name, expected_version=None):
check_package("cv2")

if "nlp" in image_type:
check_package("torchtext")
check_package("transformers")

if "apex" in image_type:
Expand Down

0 comments on commit aa3e3e1

Please # to comment.