forked from mirrors/nixpkgs
b51d8fc442
This also adds Python 3.9 compatibility.
15 lines
581 B
Nix
15 lines
581 B
Nix
version: {
|
|
x86_64-linux-37 = {
|
|
url = "https://download.pytorch.org/whl/cu102/torch-${version}-cp37-cp37m-linux_x86_64.whl";
|
|
hash = "sha256-XXbCVaQUhMHUGp/1cLnJ82y4XflCiqFaWK4WrHz8LqY=";
|
|
};
|
|
x86_64-linux-38 = {
|
|
url = "https://download.pytorch.org/whl/cu102/torch-${version}-cp38-cp38-linux_x86_64.whl";
|
|
hash = "sha256-3S/GiAyV6DaWDYbvu8f2PTKH8uGJPFHTH5bb/gLw1z4=";
|
|
};
|
|
x86_64-linux-39 = {
|
|
url = "https://download.pytorch.org/whl/cu102/torch-${version}-cp39-cp39-linux_x86_64.whl";
|
|
hash = "sha256-o3k9zOsSseIoEpDMoSd8XOht39W/BE9lQoWk1pBXrqc=";
|
|
};
|
|
}
|