@@ -3,20 +3,24 @@
33# Precompiled wheels can be found at:
44# https://download.pytorch.org/whl/torch_stable.html
55
6−version: {
7− x86_64-linux-37 = {
8− name = "torchvision-${version}-cp37-cp37m-linux_x86_64.whl";
9− url = "https://download.pytorch.org/whl/cu111/torchvision-${version}%2Bcu111-cp37-cp37m-linux_x86_64.whl";
10− hash = "sha256-7EMVB8KZg2I3P4RqnIVk/7OOAPA1OWOipns58cSCUrw=";
11− };
12− x86_64-linux-38 = {
13− name = "torchvision-${version}-cp38-cp38-linux_x86_64.whl";
14− url = "https://download.pytorch.org/whl/cu111/torchvision-${version}%2Bcu111-cp38-cp38-linux_x86_64.whl";
15− hash = "sha256-VjsCBW9Lusr4aDQLqaFh5dpV/5ZJ5PDs7nY4CbCHDTA=";
16− };
17− x86_64-linux-39 = {
18− name = "torchvision-${version}-cp39-cp39-linux_x86_64.whl";
19− url = "https://download.pytorch.org/whl/cu111/torchvision-${version}%2Bcu111-cp39-cp39-linux_x86_64.whl";
20− hash = "sha256-pzR7TBE+WcAmozskoeOVBuMkGJf9tvsaXsUkTcu86N8=";
6+# To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows.
7+
8+version : builtins.getAttr version {
9+ "0.10.0" = {
10+ x86_64-linux-37 = {
11+ name = "torchvision-0.10.0-cp37-cp37m-linux_x86_64.whl";
12+ url = "https://download.pytorch.org/whl/cu111/torchvision-0.10.0%2Bcu111-cp37-cp37m-linux_x86_64.whl";
13+ hash = "sha256-yMgRhp06/rYIIiDNehNrZYIrvIbPvusCxGJL0mL+Bs4=";
14+ };
15+ x86_64-linux-38 = {
16+ name = "torchvision-0.10.0-cp38-cp38-linux_x86_64.whl";
17+ url = "https://download.pytorch.org/whl/cu111/torchvision-0.10.0%2Bcu111-cp38-cp38-linux_x86_64.whl";
18+ hash = "sha256-p1bw+4KsdTuXle+AwXYQVL8elPMroAHV9lkXJGWbtPc=";
19+ };
20+ x86_64-linux-39 = {
21+ name = "torchvision-0.10.0-cp39-cp39-linux_x86_64.whl";
22+ url = "https://download.pytorch.org/whl/cu111/torchvision-0.10.0%2Bcu111-cp39-cp39-linux_x86_64.whl";
23+ hash = "sha256-AOfhnHThVdJx5qxj2LTj+T9dPMFxQoxP3duxIm1y7KE=";
24+ };
2125 };
2226}