Skip to content

Commit d022f6f

Browse files
authored
Update versions after recent PyTorch releases (#9623)
1 parent 74c3536 commit d022f6f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

requirements/adjust_versions.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,18 @@
33
import sys
44
from typing import Dict, Optional
55

6+
# IMPORTANT: this list needs to be sorted in reverse
67
VERSIONS = [
78
dict(torch="1.10.0", torchvision="0.11.*", torchtext=""), # nightly
9+
dict(torch="1.9.1", torchvision="0.10.1", torchtext="0.10.1"),
810
dict(torch="1.9.0", torchvision="0.10.0", torchtext="0.10.0"),
11+
dict(torch="1.8.2", torchvision="0.9.1", torchtext="0.9.1"),
912
dict(torch="1.8.1", torchvision="0.9.1", torchtext="0.9.1"),
1013
dict(torch="1.8.0", torchvision="0.9.0", torchtext="0.9.0"),
1114
dict(torch="1.7.1", torchvision="0.8.2", torchtext="0.8.1"),
1215
dict(torch="1.7.0", torchvision="0.8.1", torchtext="0.8.0"),
1316
dict(torch="1.6.0", torchvision="0.7.0", torchtext="0.7"),
1417
]
15-
VERSIONS.sort(key=lambda v: v["torch"], reverse=True)
1618

1719

1820
def find_latest(ver: str) -> Dict[str, str]:

0 commit comments

Comments
 (0)