Skip to content

Commit

Permalink
Pin setuptools to fix pytorch example failures (#5255)
Browse files Browse the repository at this point in the history
* Pin setuptools to fix pytorch examples failures

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* todo

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
  • Loading branch information
harupy committed Jan 12, 2022
1 parent 9362410 commit c2ae0bd
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/pytorch/BertNewsClassification/conda.yaml
Expand Up @@ -14,3 +14,10 @@ dependencies:
- torch>=1.9.0
- torchtext==0.10.0
- pytorch-lightning==1.5.1
# torch <= 1.10.1 doesn't work with setuptools >= 59.6.0.
# See the following PRs for details:
# https://github.com/pytorch/pytorch/pull/69904
# https://github.com/pytorch/pytorch/pull/69947
#
# TODO: Remove this requirement once torch > 1.10.1 is released.
- setuptools<59.6.0
7 changes: 7 additions & 0 deletions examples/pytorch/IterativePruning/conda.yaml
Expand Up @@ -11,3 +11,10 @@ dependencies:
- ax-platform
- prettytable
- torch>=1.9.0
# torch <= 1.10.1 doesn't work with setuptools >= 59.6.0.
# See the following PRs for details:
# https://github.com/pytorch/pytorch/pull/69904
# https://github.com/pytorch/pytorch/pull/69947
#
# TODO: Remove this requirement once torch > 1.10.1 is released.
- setuptools<59.6.0
7 changes: 7 additions & 0 deletions examples/pytorch/MNIST/conda.yaml
Expand Up @@ -8,3 +8,10 @@ dependencies:
- torchvision>=0.9.1
- torch>=1.9.0
- pytorch-lightning==1.5.1
# torch <= 1.10.1 doesn't work with setuptools >= 59.6.0.
# See the following PRs for details:
# https://github.com/pytorch/pytorch/pull/69904
# https://github.com/pytorch/pytorch/pull/69947
#
# TODO: Remove this requirement once torch > 1.10.1 is released.
- setuptools<59.6.0

0 comments on commit c2ae0bd

Please sign in to comment.