Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Update torch requirement from <1.11.0,>=1.7.0 to >=1.7.0,<1.12.0 (#325)
Browse files Browse the repository at this point in the history
* Update torch requirement from <1.11.0,>=1.7.0 to >=1.7.0,<1.12.0

Updates the requirements on [torch](https://github.com/pytorch/pytorch) to permit the latest version.
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/master/RELEASE.md)
- [Commits](pytorch/pytorch@v1.7.0...v1.11.0)

---
updated-dependencies:
- dependency-name: torch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* pin doc build requirements

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: epwalsh <epwalsh10@gmail.com>
  • Loading branch information
dependabot[bot] and epwalsh committed Mar 14, 2022
1 parent 198efc0 commit eca99b7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ on:

env:
# NOTE: Need to update `TORCH_VERSION` and `TORCH_VISION_VERSION` for new torch releases.
TORCH_VERSION: 1.10.0
TORCH_VISION_VERSION: 0.11.1
TORCH_VERSION: 1.11.0
TORCH_VISION_VERSION: 0.12.0
# Change this to invalidate the current cache.
CACHE_PREFIX: v1
# Disable tokenizers parallelism because this doesn't help, and can cause issues in distributed tests.
Expand Down
2 changes: 2 additions & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ ruamel.yaml
# Generating markdown files from Python modules.
pydoc-markdown>=4.0.0,<5.0.0
databind.core
docspec==1.2.0
docspec-python==1.2.0

mkdocs==1.2.3
mkdocs-material>=5.5.0,<8.3.0
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
allennlp[all] @ git+https://github.com/allenai/allennlp.git@main

torch>=1.7.0,<1.11.0
torch>=1.7.0,<1.12.0

# For structured prediction.
conllu==4.4.1
Expand Down

0 comments on commit eca99b7

Please sign in to comment.