Skip to content

Commit d537485

Browse files
author
Jeff Yang
authored
lock pytorch nightly version (#4469)
1 parent 839813e commit d537485

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies:
2626
- python>=3.6
2727
- pip>20.1
2828
- numpy>=1.16.4
29-
- pytorch>=1.3
29+
- pytorch>=1.3,<1.8
3030
- future>=0.17.1
3131
- PyYAML>=5.1
3232
- tqdm>=4.41.0
@@ -41,7 +41,7 @@ dependencies:
4141
- torchtext>=0.3.1
4242

4343
# Examples
44-
- torchvision>=0.4.1
44+
- torchvision>=0.4.1,<0.9.0
4545

4646
- pip:
4747
- test-tube>=0.7.5

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# the default package dependencies
22

33
numpy>=1.16.4
4-
torch>=1.3
4+
torch>=1.3,<1.8
55
future>=0.17.1 # required for builtins in setup.py
66
# pyyaml>=3.13
77
PyYAML>=5.1 # OmegaConf requirement >=5.1

requirements/examples.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
torchvision>=0.4.1
1+
torchvision>=0.4.1,<0.9.0
22
gym>=0.17.0

0 commit comments

Comments
 (0)