|
3 | 3 | import sys |
4 | 4 | from typing import Dict, Optional |
5 | 5 |
|
| 6 | +# IMPORTANT: this list needs to be sorted in reverse |
6 | 7 | VERSIONS = [ |
7 | 8 | dict(torch="1.10.0", torchvision="0.11.*", torchtext=""), # nightly |
| 9 | + dict(torch="1.9.1", torchvision="0.10.1", torchtext="0.10.1"), |
8 | 10 | 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"), |
9 | 12 | dict(torch="1.8.1", torchvision="0.9.1", torchtext="0.9.1"), |
10 | 13 | dict(torch="1.8.0", torchvision="0.9.0", torchtext="0.9.0"), |
11 | 14 | dict(torch="1.7.1", torchvision="0.8.2", torchtext="0.8.1"), |
12 | 15 | dict(torch="1.7.0", torchvision="0.8.1", torchtext="0.8.0"), |
13 | 16 | dict(torch="1.6.0", torchvision="0.7.0", torchtext="0.7"), |
14 | 17 | ] |
15 | | -VERSIONS.sort(key=lambda v: v["torch"], reverse=True) |
16 | 18 |
|
17 | 19 |
|
18 | 20 | def find_latest(ver: str) -> Dict[str, str]: |
|
0 commit comments