diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88588de47a3..1fb83bd7510 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -288,9 +288,9 @@ jobs: run: | # Check the install instructions on https://pytorch.org/ to keep these up-to-date. if [[ $CUDA == '10.2' ]]; then - echo "DOCKER_TORCH_VERSION='torch==1.7.0'" >> $GITHUB_ENV; + echo "DOCKER_TORCH_VERSION='torch==1.7.1'" >> $GITHUB_ENV; elif [[ $CUDA == '11.0' ]]; then - echo "DOCKER_TORCH_VERSION='torch==1.7.0+cu110 -f https://download.pytorch.org/whl/torch_stable.html'" >> $GITHUB_ENV; + echo "DOCKER_TORCH_VERSION='torch==1.7.1+cu110 -f https://download.pytorch.org/whl/torch_stable.html'" >> $GITHUB_ENV; else echo "Unhandled CUDA version $CUDA"; exit 1; diff --git a/CHANGELOG.md b/CHANGELOG.md index 00fde9da198..06512f99dc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,10 +12,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added a new learning rate scheduler: `CombinedLearningRateScheduler`. This can be used to combine different LR schedulers, using one after the other. +### Changed + +- Torch version bumped to 1.7.1 in Docker images. + ### Fixed - Fixed typo with `LabelField` string representation: removed trailing apostrophe. + ## [v1.3.0](https://github.com/allenai/allennlp/releases/tag/v1.3.0) - 2020-12-15 ### Added diff --git a/Makefile b/Makefile index e43fde04e53..25ee0a77400 100644 --- a/Makefile +++ b/Makefile @@ -13,9 +13,9 @@ MD_DOCS_EXTRAS = $(addprefix $(MD_DOCS_ROOT),README.md CHANGELOG.md CONTRIBUTING DOCKER_TAG = latest DOCKER_IMAGE_NAME = allennlp/allennlp:$(DOCKER_TAG) DOCKER_TEST_IMAGE_NAME = allennlp/test:$(DOCKER_TAG) -DOCKER_TORCH_VERSION = 'torch==1.7.0' +DOCKER_TORCH_VERSION = 'torch==1.7.1' # Our self-hosted runner currently has CUDA 11.0. -DOCKER_TEST_TORCH_VERSION = 'torch==1.7.0+cu110 -f https://download.pytorch.org/whl/torch_stable.html' +DOCKER_TEST_TORCH_VERSION = 'torch==1.7.1+cu110 -f https://download.pytorch.org/whl/torch_stable.html' DOCKER_RUN_CMD = docker run --rm \ -v $$HOME/.allennlp:/root/.allennlp \ -v $$HOME/.cache/huggingface:/root/.cache/huggingface \