Merge pull request #306749 from GaetanLepage/pytorch
python3Packages.{torch,torch-bin}: 2.2.2 -> 2.3.0
This commit is contained in:
commit
007f41bff8
12 changed files with 203 additions and 197 deletions
|
@ -25,7 +25,7 @@ let
|
||||||
pyVerNoDot = builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion;
|
pyVerNoDot = builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion;
|
||||||
srcs = import ./binary-hashes.nix version;
|
srcs = import ./binary-hashes.nix version;
|
||||||
unsupported = throw "Unsupported system";
|
unsupported = throw "Unsupported system";
|
||||||
version = "2.2.2";
|
version = "2.3.0";
|
||||||
in buildPythonPackage {
|
in buildPythonPackage {
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ in buildPythonPackage {
|
||||||
|
|
||||||
format = "wheel";
|
format = "wheel";
|
||||||
|
|
||||||
disabled = (pythonOlder "3.8") || (pythonAtLeast "3.12");
|
disabled = (pythonOlder "3.8") || (pythonAtLeast "3.13");
|
||||||
|
|
||||||
src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported;
|
src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported;
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ in buildPythonPackage {
|
||||||
# torch-bin used to vendor CUDA. It still links against CUDA and MKL.
|
# torch-bin used to vendor CUDA. It still links against CUDA and MKL.
|
||||||
license = with licenses; [ bsd3 issl unfreeRedistributable ];
|
license = with licenses; [ bsd3 issl unfreeRedistributable ];
|
||||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||||
platforms = [ "aarch64-darwin" "aarch64-linux" "x86_64-darwin" "x86_64-linux" ];
|
platforms = [ "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
|
||||||
hydraPlatforms = []; # output size 3.2G on 1.11.0
|
hydraPlatforms = []; # output size 3.2G on 1.11.0
|
||||||
maintainers = with maintainers; [ junjihashimoto ];
|
maintainers = with maintainers; [ junjihashimoto ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -6,86 +6,81 @@
|
||||||
# To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows.
|
# To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows.
|
||||||
|
|
||||||
version : builtins.getAttr version {
|
version : builtins.getAttr version {
|
||||||
"2.2.2" = {
|
"2.3.0" = {
|
||||||
x86_64-linux-38 = {
|
x86_64-linux-38 = {
|
||||||
name = "torch-2.2.2-cp38-cp38-linux_x86_64.whl";
|
name = "torch-2.3.0-cp38-cp38-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cu121/torch-2.2.2%2Bcu121-cp38-cp38-linux_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu121/torch-2.3.0%2Bcu121-cp38-cp38-linux_x86_64.whl";
|
||||||
hash = "sha256-wXi+srsB93NgF3e8SBx2Ub5bHxic8YDwwKzqwHiaqaU=";
|
hash = "sha256-lZi5WfVk7j6+NgOwugHSQXTKgBb+ypgQTwMB8UkGF8o=";
|
||||||
};
|
};
|
||||||
x86_64-linux-39 = {
|
x86_64-linux-39 = {
|
||||||
name = "torch-2.2.2-cp39-cp39-linux_x86_64.whl";
|
name = "torch-2.3.0-cp39-cp39-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cu121/torch-2.2.2%2Bcu121-cp39-cp39-linux_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu121/torch-2.3.0%2Bcu121-cp39-cp39-linux_x86_64.whl";
|
||||||
hash = "sha256-EU6TlYZ+6GAWZWLYzB8oCSJfnil4PdXnIXXZqaeoUFw=";
|
hash = "sha256-PMFeTCaCqFUYEhogUNa+eXbZj8SEO7wTtvW+4nWhtu4=";
|
||||||
};
|
};
|
||||||
x86_64-linux-310 = {
|
x86_64-linux-310 = {
|
||||||
name = "torch-2.2.2-cp310-cp310-linux_x86_64.whl";
|
name = "torch-2.3.0-cp310-cp310-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cu121/torch-2.2.2%2Bcu121-cp310-cp310-linux_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu121/torch-2.3.0%2Bcu121-cp310-cp310-linux_x86_64.whl";
|
||||||
hash = "sha256-yt5P1sjOfYJtvPq9ZfHVOw7goFjbjBgJ1lv9YFG1VTA=";
|
hash = "sha256-ChKqmqa8RC3/iCOsi0jZkf0HcVYuqjhZP5yBltZfcAc=";
|
||||||
};
|
};
|
||||||
x86_64-linux-311 = {
|
x86_64-linux-311 = {
|
||||||
name = "torch-2.2.2-cp311-cp311-linux_x86_64.whl";
|
name = "torch-2.3.0-cp311-cp311-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cu121/torch-2.2.2%2Bcu121-cp311-cp311-linux_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu121/torch-2.3.0%2Bcu121-cp311-cp311-linux_x86_64.whl";
|
||||||
hash = "sha256-TJTk0aItcKu9/3Ft7Jm6Xv+UtDQP+nO0+2KflA27inU=";
|
hash = "sha256-XffjyzlhAYqJHk7e8eC8HzMEqNlD+BskqMa/aHykmmc=";
|
||||||
};
|
};
|
||||||
x86_64-darwin-38 = {
|
x86_64-linux-312 = {
|
||||||
name = "torch-2.2.2-cp38-none-macosx_10_9_x86_64.whl";
|
name = "torch-2.3.0-cp312-cp312-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp38-none-macosx_10_9_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu121/torch-2.3.0%2Bcu121-cp312-cp312-linux_x86_64.whl";
|
||||||
hash = "sha256-gVF29iyPN8z7shCBwHaaiLG6pptxaRGapCtl7l8QTi0=";
|
hash = "sha256-8VtvVJ7rxuayKyZ1Tk8dfkRpvNLUuh6qtXJorYC8ypY=";
|
||||||
};
|
|
||||||
x86_64-darwin-39 = {
|
|
||||||
name = "torch-2.2.2-cp39-none-macosx_10_9_x86_64.whl";
|
|
||||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp39-none-macosx_10_9_x86_64.whl";
|
|
||||||
hash = "sha256-8TdigY3CgP7KfjD2CZWhe6jR0asz/vttB/0sj/FXHqo=";
|
|
||||||
};
|
|
||||||
x86_64-darwin-310 = {
|
|
||||||
name = "torch-2.2.2-cp310-none-macosx_10_9_x86_64.whl";
|
|
||||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp310-none-macosx_10_9_x86_64.whl";
|
|
||||||
hash = "sha256-5nfE102wz8KxCSPeG95XXZgculRQXdwIKwUI2WQRmFA=";
|
|
||||||
};
|
|
||||||
x86_64-darwin-311 = {
|
|
||||||
name = "torch-2.2.2-cp311-none-macosx_10_9_x86_64.whl";
|
|
||||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp311-none-macosx_10_9_x86_64.whl";
|
|
||||||
hash = "sha256-QwDLu00EKMUbXBlBkBaQGNW4GP2fb6/Ci76P2E3tF0A=";
|
|
||||||
};
|
};
|
||||||
aarch64-darwin-38 = {
|
aarch64-darwin-38 = {
|
||||||
name = "torch-2.2.2-cp38-none-macosx_11_0_arm64.whl";
|
name = "torch-2.3.0-cp38-none-macosx_11_0_arm64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp38-none-macosx_11_0_arm64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torch-2.3.0-cp38-none-macosx_11_0_arm64.whl";
|
||||||
hash = "sha256-7RTSpDZEIEkDg9JveQCj99XFDDLlzf3d3/+Dd22eD9Q=";
|
hash = "sha256-aun2SwlRa6pO+JCvBnLcmBwgsfDYKc4RXUQgokfoj7o=";
|
||||||
};
|
};
|
||||||
aarch64-darwin-39 = {
|
aarch64-darwin-39 = {
|
||||||
name = "torch-2.2.2-cp39-none-macosx_11_0_arm64.whl";
|
name = "torch-2.3.0-cp39-none-macosx_11_0_arm64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp39-none-macosx_11_0_arm64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torch-2.3.0-cp39-none-macosx_11_0_arm64.whl";
|
||||||
hash = "sha256-/q2//ddjTP40Xqh9fuQDGzAPnHZFIFkOA0idZYtpMds=";
|
hash = "sha256-dg+L7f9QbOnm4QNJj5senhWAngCDaFlMOma/dKilE4A=";
|
||||||
};
|
};
|
||||||
aarch64-darwin-310 = {
|
aarch64-darwin-310 = {
|
||||||
name = "torch-2.2.2-cp310-none-macosx_11_0_arm64.whl";
|
name = "torch-2.3.0-cp310-none-macosx_11_0_arm64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp310-none-macosx_11_0_arm64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torch-2.3.0-cp310-none-macosx_11_0_arm64.whl";
|
||||||
hash = "sha256-tSDRTS8oEK1dp1i+oQyveXjvNkNWW8APkN6JLgDXeSU=";
|
hash = "sha256-dY75ON6HomU7unS5H3A0WMFVafFWK/S2xjxi2cWgwfU=";
|
||||||
};
|
};
|
||||||
aarch64-darwin-311 = {
|
aarch64-darwin-311 = {
|
||||||
name = "torch-2.2.2-cp311-none-macosx_11_0_arm64.whl";
|
name = "torch-2.3.0-cp311-none-macosx_11_0_arm64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp311-none-macosx_11_0_arm64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torch-2.3.0-cp311-none-macosx_11_0_arm64.whl";
|
||||||
hash = "sha256-gipYlnXLqKzwRX1qTltspEGtO0w6RKHLyPizGueWRF4=";
|
hash = "sha256-0k4ygibY4q98+A/LHS8dEI4N4yd3+rSqorN7l2XYvnM=";
|
||||||
|
};
|
||||||
|
aarch64-darwin-312 = {
|
||||||
|
name = "torch-2.3.0-cp312-none-macosx_11_0_arm64.whl";
|
||||||
|
url = "https://download.pytorch.org/whl/cpu/torch-2.3.0-cp312-none-macosx_11_0_arm64.whl";
|
||||||
|
hash = "sha256-3KmGIUJns0Blp5AAzuVCMuYrQd/x7Cyrmrw/yLPe4K0=";
|
||||||
};
|
};
|
||||||
aarch64-linux-38 = {
|
aarch64-linux-38 = {
|
||||||
name = "torch-2.2.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
name = "torch-2.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torch-2.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||||
hash = "sha256-mJTc3W71tbYDzYzqPjcR+eJ3CC/3sPFLFSb90ay4JSE=";
|
hash = "sha256-RunxqfQgKcBuY/v5yXE0PYsqCIZyO8T/McZ6m3pHNXM=";
|
||||||
};
|
};
|
||||||
aarch64-linux-39 = {
|
aarch64-linux-39 = {
|
||||||
name = "torch-2.2.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
name = "torch-2.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torch-2.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||||
hash = "sha256-1dhev9E/fNA+UGMlP4R57RpXBSZBZtXdH8abS5YjGyA=";
|
hash = "sha256-N7zdkm811ccvGm0oIpczJEuyZTqPp3nEwQ3ZfjMNa6I=";
|
||||||
};
|
};
|
||||||
aarch64-linux-310 = {
|
aarch64-linux-310 = {
|
||||||
name = "torch-2.2.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
name = "torch-2.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torch-2.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||||
hash = "sha256-OiwHUhgIHvnHv4xVxwbyNtrrt1PaQd5JispxYyVzgL0=";
|
hash = "sha256-fiTBOMO6zIxRHGuCEfCcO/VH08vjdWMhrOwb3OQP7Gs=";
|
||||||
};
|
};
|
||||||
aarch64-linux-311 = {
|
aarch64-linux-311 = {
|
||||||
name = "torch-2.2.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
name = "torch-2.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torch-2.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||||
hash = "sha256-WUgt9dxA2uEF5z9I3Sk/TMxndkCCLCzjQnOjh1SZA64=";
|
hash = "sha256-FHmS068B4/KncqaId+iTeYnlfEIluCpJidPNlYLIvNE=";
|
||||||
|
};
|
||||||
|
aarch64-linux-312 = {
|
||||||
|
name = "torch-2.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||||
|
url = "https://download.pytorch.org/whl/cpu/torch-2.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||||
|
hash = "sha256-bhOCYa8GzZAqgmUmCCreU0tmCTudj2/y1AHOQ5qiNQw=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, fetchpatch, buildPythonPackage, python,
|
{ stdenv, lib, fetchFromGitHub, buildPythonPackage, python,
|
||||||
config, cudaSupport ? config.cudaSupport, cudaPackages,
|
config, cudaSupport ? config.cudaSupport, cudaPackages,
|
||||||
autoAddDriverRunpath,
|
autoAddDriverRunpath,
|
||||||
effectiveMagma ?
|
effectiveMagma ?
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
buildDocs ? false,
|
buildDocs ? false,
|
||||||
|
|
||||||
# Native build inputs
|
# Native build inputs
|
||||||
cmake, linkFarm, symlinkJoin, which, pybind11, removeReferencesTo,
|
cmake, symlinkJoin, which, pybind11, removeReferencesTo,
|
||||||
pythonRelaxDepsHook,
|
pythonRelaxDepsHook,
|
||||||
|
|
||||||
# Build inputs
|
# Build inputs
|
||||||
|
@ -130,7 +130,7 @@ let
|
||||||
in buildPythonPackage rec {
|
in buildPythonPackage rec {
|
||||||
pname = "torch";
|
pname = "torch";
|
||||||
# Don't forget to update torch-bin to the same version.
|
# Don't forget to update torch-bin to the same version.
|
||||||
version = "2.2.2";
|
version = "2.3.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8.0";
|
disabled = pythonOlder "3.8.0";
|
||||||
|
@ -148,7 +148,7 @@ in buildPythonPackage rec {
|
||||||
repo = "pytorch";
|
repo = "pytorch";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
hash = "sha256-la9wL9pOlgrSfq5V8aRKXt3hjW+Er/6484m0oUujlzk=";
|
hash = "sha256-UmH4Mv5QL7Mz4Y4pvxn8F1FGBR/UzYZjE2Ys8Oc0FWQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = lib.optionals cudaSupport [
|
patches = lib.optionals cudaSupport [
|
||||||
|
|
|
@ -15,18 +15,17 @@ url_and_key_list=(
|
||||||
"x86_64-linux-39 $linux_cuda_bucket/torch-${version}%2B${linux_cuda_version}-cp39-cp39-linux_x86_64.whl torch-${version}-cp39-cp39-linux_x86_64.whl"
|
"x86_64-linux-39 $linux_cuda_bucket/torch-${version}%2B${linux_cuda_version}-cp39-cp39-linux_x86_64.whl torch-${version}-cp39-cp39-linux_x86_64.whl"
|
||||||
"x86_64-linux-310 $linux_cuda_bucket/torch-${version}%2B${linux_cuda_version}-cp310-cp310-linux_x86_64.whl torch-${version}-cp310-cp310-linux_x86_64.whl"
|
"x86_64-linux-310 $linux_cuda_bucket/torch-${version}%2B${linux_cuda_version}-cp310-cp310-linux_x86_64.whl torch-${version}-cp310-cp310-linux_x86_64.whl"
|
||||||
"x86_64-linux-311 $linux_cuda_bucket/torch-${version}%2B${linux_cuda_version}-cp311-cp311-linux_x86_64.whl torch-${version}-cp311-cp311-linux_x86_64.whl"
|
"x86_64-linux-311 $linux_cuda_bucket/torch-${version}%2B${linux_cuda_version}-cp311-cp311-linux_x86_64.whl torch-${version}-cp311-cp311-linux_x86_64.whl"
|
||||||
"x86_64-darwin-38 $darwin_bucket/torch-${version}-cp38-none-macosx_10_9_x86_64.whl torch-${version}-cp38-none-macosx_10_9_x86_64.whl"
|
"x86_64-linux-312 $linux_cuda_bucket/torch-${version}%2B${linux_cuda_version}-cp312-cp312-linux_x86_64.whl torch-${version}-cp312-cp312-linux_x86_64.whl"
|
||||||
"x86_64-darwin-39 $darwin_bucket/torch-${version}-cp39-none-macosx_10_9_x86_64.whl torch-${version}-cp39-none-macosx_10_9_x86_64.whl"
|
|
||||||
"x86_64-darwin-310 $darwin_bucket/torch-${version}-cp310-none-macosx_10_9_x86_64.whl torch-${version}-cp310-none-macosx_10_9_x86_64.whl"
|
|
||||||
"x86_64-darwin-311 $darwin_bucket/torch-${version}-cp311-none-macosx_10_9_x86_64.whl torch-${version}-cp311-none-macosx_10_9_x86_64.whl"
|
|
||||||
"aarch64-darwin-38 $darwin_bucket/torch-${version}-cp38-none-macosx_11_0_arm64.whl torch-${version}-cp38-none-macosx_11_0_arm64.whl"
|
"aarch64-darwin-38 $darwin_bucket/torch-${version}-cp38-none-macosx_11_0_arm64.whl torch-${version}-cp38-none-macosx_11_0_arm64.whl"
|
||||||
"aarch64-darwin-39 $darwin_bucket/torch-${version}-cp39-none-macosx_11_0_arm64.whl torch-${version}-cp39-none-macosx_11_0_arm64.whl"
|
"aarch64-darwin-39 $darwin_bucket/torch-${version}-cp39-none-macosx_11_0_arm64.whl torch-${version}-cp39-none-macosx_11_0_arm64.whl"
|
||||||
"aarch64-darwin-310 $darwin_bucket/torch-${version}-cp310-none-macosx_11_0_arm64.whl torch-${version}-cp310-none-macosx_11_0_arm64.whl"
|
"aarch64-darwin-310 $darwin_bucket/torch-${version}-cp310-none-macosx_11_0_arm64.whl torch-${version}-cp310-none-macosx_11_0_arm64.whl"
|
||||||
"aarch64-darwin-311 $darwin_bucket/torch-${version}-cp311-none-macosx_11_0_arm64.whl torch-${version}-cp311-none-macosx_11_0_arm64.whl"
|
"aarch64-darwin-311 $darwin_bucket/torch-${version}-cp311-none-macosx_11_0_arm64.whl torch-${version}-cp311-none-macosx_11_0_arm64.whl"
|
||||||
|
"aarch64-darwin-312 $darwin_bucket/torch-${version}-cp312-none-macosx_11_0_arm64.whl torch-${version}-cp312-none-macosx_11_0_arm64.whl"
|
||||||
"aarch64-linux-38 $linux_cpu_bucket/torch-${version}-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl torch-${version}-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
|
"aarch64-linux-38 $linux_cpu_bucket/torch-${version}-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl torch-${version}-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
|
||||||
"aarch64-linux-39 $linux_cpu_bucket/torch-${version}-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl torch-${version}-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
|
"aarch64-linux-39 $linux_cpu_bucket/torch-${version}-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl torch-${version}-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
|
||||||
"aarch64-linux-310 $linux_cpu_bucket/torch-${version}-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl torch-${version}-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
|
"aarch64-linux-310 $linux_cpu_bucket/torch-${version}-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl torch-${version}-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
|
||||||
"aarch64-linux-311 $linux_cpu_bucket/torch-${version}-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl torch-${version}-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
|
"aarch64-linux-311 $linux_cpu_bucket/torch-${version}-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl torch-${version}-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
|
||||||
|
"aarch64-linux-312 $linux_cpu_bucket/torch-${version}-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl torch-${version}-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
|
||||||
)
|
)
|
||||||
|
|
||||||
hashfile="binary-hashes-$version.nix"
|
hashfile="binary-hashes-$version.nix"
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "torchaudio";
|
pname = "torchaudio";
|
||||||
version = "2.2.2";
|
version = "2.3.0";
|
||||||
format = "wheel";
|
format = "wheel";
|
||||||
|
|
||||||
src =
|
src =
|
||||||
|
@ -27,9 +27,15 @@ buildPythonPackage rec {
|
||||||
in
|
in
|
||||||
fetchurl srcs;
|
fetchurl srcs;
|
||||||
|
|
||||||
disabled = (pythonOlder "3.8") || (pythonAtLeast "3.12");
|
disabled = (pythonOlder "3.8") || (pythonAtLeast "3.13");
|
||||||
|
|
||||||
buildInputs = with cudaPackages; [
|
buildInputs = [
|
||||||
|
# We need to patch the lib/_torchaudio_ffmpeg[4-6]
|
||||||
|
ffmpeg_4.dev
|
||||||
|
ffmpeg_5.dev
|
||||||
|
ffmpeg_6.dev
|
||||||
|
sox
|
||||||
|
] ++ lib.optionals stdenv.isLinux (with cudaPackages; [
|
||||||
# $out/${sitePackages}/torchaudio/lib/libtorchaudio*.so wants libcudart.so.11.0 but torch/lib only ships
|
# $out/${sitePackages}/torchaudio/lib/libtorchaudio*.so wants libcudart.so.11.0 but torch/lib only ships
|
||||||
# libcudart.$hash.so.11.0
|
# libcudart.$hash.so.11.0
|
||||||
cuda_cudart
|
cuda_cudart
|
||||||
|
@ -37,24 +43,18 @@ buildPythonPackage rec {
|
||||||
# $out/${sitePackages}/torchaudio/lib/libtorchaudio*.so wants libnvToolsExt.so.2 but torch/lib only ships
|
# $out/${sitePackages}/torchaudio/lib/libtorchaudio*.so wants libnvToolsExt.so.2 but torch/lib only ships
|
||||||
# libnvToolsExt-$hash.so.1
|
# libnvToolsExt-$hash.so.1
|
||||||
cuda_nvtx
|
cuda_nvtx
|
||||||
|
]);
|
||||||
|
|
||||||
# We need to patch the lib/_torchaudio_ffmpeg[4-6]
|
nativeBuildInputs = lib.optionals stdenv.isLinux [
|
||||||
ffmpeg_4.dev
|
|
||||||
ffmpeg_5.dev
|
|
||||||
ffmpeg_6.dev
|
|
||||||
sox
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
autoPatchelfHook
|
autoPatchelfHook
|
||||||
addOpenGLRunpath
|
addOpenGLRunpath
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
torch-bin
|
torch-bin
|
||||||
];
|
];
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = lib.optionals stdenv.isLinux ''
|
||||||
addAutoPatchelfSearchPath "${torch-bin}/${python.sitePackages}/torch"
|
addAutoPatchelfSearchPath "${torch-bin}/${python.sitePackages}/torch"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ buildPythonPackage rec {
|
||||||
# https://www.intel.com/content/www/us/en/developer/articles/license/onemkl-license-faq.html
|
# https://www.intel.com/content/www/us/en/developer/articles/license/onemkl-license-faq.html
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||||
platforms = [ "aarch64-linux" "x86_64-linux" "aarch64-darwin" "x86_64-darwin" ];
|
platforms = [ "aarch64-linux" "x86_64-linux" "aarch64-darwin" ];
|
||||||
maintainers = with maintainers; [ junjihashimoto ];
|
maintainers = with maintainers; [ junjihashimoto ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,86 +6,81 @@
|
||||||
# To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows.
|
# To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows.
|
||||||
|
|
||||||
version : builtins.getAttr version {
|
version : builtins.getAttr version {
|
||||||
"2.2.2" = {
|
"2.3.0" = {
|
||||||
x86_64-linux-38 = {
|
x86_64-linux-38 = {
|
||||||
name = "torchaudio-2.2.2-cp38-cp38-linux_x86_64.whl";
|
name = "torchaudio-2.3.0-cp38-cp38-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cu121/torchaudio-2.2.2%2Bcu121-cp38-cp38-linux_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu121/torchaudio-2.3.0%2Bcu121-cp38-cp38-linux_x86_64.whl";
|
||||||
hash = "sha256-KPwkn2+sVuS9GbZdk7f6lSJ956D1WLY2YS7k3qE3tog=";
|
hash = "sha256-Q/Iv/36izuH9uzAqE26aC51XFTUXaaYn1JDGfKzsCfQ=";
|
||||||
};
|
};
|
||||||
x86_64-linux-39 = {
|
x86_64-linux-39 = {
|
||||||
name = "torchaudio-2.2.2-cp39-cp39-linux_x86_64.whl";
|
name = "torchaudio-2.3.0-cp39-cp39-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cu121/torchaudio-2.2.2%2Bcu121-cp39-cp39-linux_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu121/torchaudio-2.3.0%2Bcu121-cp39-cp39-linux_x86_64.whl";
|
||||||
hash = "sha256-YzzBeuAiMH0HPyZhvK/z9Q2bPW99MukXMFRCAybiDRs=";
|
hash = "sha256-4n2qE/jPQ8sLyq81TIEj7qlpBsg/FDNCZiCSvMH7atc=";
|
||||||
};
|
};
|
||||||
x86_64-linux-310 = {
|
x86_64-linux-310 = {
|
||||||
name = "torchaudio-2.2.2-cp310-cp310-linux_x86_64.whl";
|
name = "torchaudio-2.3.0-cp310-cp310-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cu121/torchaudio-2.2.2%2Bcu121-cp310-cp310-linux_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu121/torchaudio-2.3.0%2Bcu121-cp310-cp310-linux_x86_64.whl";
|
||||||
hash = "sha256-/eGFVNhP0AR1iPC87QPXcPZVPxeFGjtEE3kWShPJmwc=";
|
hash = "sha256-OLSTk/jDItyqKdGeWsv1oLGXjPG3GURatnDx+0huOqY=";
|
||||||
};
|
};
|
||||||
x86_64-linux-311 = {
|
x86_64-linux-311 = {
|
||||||
name = "torchaudio-2.2.2-cp311-cp311-linux_x86_64.whl";
|
name = "torchaudio-2.3.0-cp311-cp311-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cu121/torchaudio-2.2.2%2Bcu121-cp311-cp311-linux_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu121/torchaudio-2.3.0%2Bcu121-cp311-cp311-linux_x86_64.whl";
|
||||||
hash = "sha256-DgdNBcIlizAU3aAu7wB60Xq0TP0B2XgMmpFOXZcqwAs=";
|
hash = "sha256-jdZpE+ewjGPHayGwcGEwwkruTtStwLwS+NYt+YtcbqA=";
|
||||||
};
|
};
|
||||||
x86_64-darwin-38 = {
|
x86_64-linux-312 = {
|
||||||
name = "torchaudio-2.2.2-cp38-cp38-macosx_10_9_x86_64.whl";
|
name = "torchaudio-2.3.0-cp312-cp312-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp38-cp38-macosx_10_13_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu121/torchaudio-2.3.0%2Bcu121-cp312-cp312-linux_x86_64.whl";
|
||||||
hash = "sha256-jOTfBlqUmRHStngqpME2h++t6iP/x8em8V9+euXIlSQ=";
|
hash = "sha256-IA7PUlHYPRTook/X9V3odqrSVR/5jqvxzdhCeQXJXFU=";
|
||||||
};
|
|
||||||
x86_64-darwin-39 = {
|
|
||||||
name = "torchaudio-2.2.2-cp39-cp39-macosx_10_9_x86_64.whl";
|
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp39-cp39-macosx_10_13_x86_64.whl";
|
|
||||||
hash = "sha256-23CxOocaSUh72QQr8EsS90rtd7GofS++to0J2bZLxSg=";
|
|
||||||
};
|
|
||||||
x86_64-darwin-310 = {
|
|
||||||
name = "torchaudio-2.2.2-cp310-cp310-macosx_10_9_x86_64.whl";
|
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp310-cp310-macosx_10_13_x86_64.whl";
|
|
||||||
hash = "sha256-sdWCAdEI6F2z41uEMZ8ziE9h8yfDjq2GkTIYyMGsw90=";
|
|
||||||
};
|
|
||||||
x86_64-darwin-311 = {
|
|
||||||
name = "torchaudio-2.2.2-cp311-cp311-macosx_10_9_x86_64.whl";
|
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp311-cp311-macosx_10_13_x86_64.whl";
|
|
||||||
hash = "sha256-8agaUYo+hsAEEl64kfxDPOj7I0MpW11hLQ83sk4THv0=";
|
|
||||||
};
|
};
|
||||||
aarch64-darwin-38 = {
|
aarch64-darwin-38 = {
|
||||||
name = "torchaudio-2.2.2-cp38-cp38-macosx_11_0_arm64.whl";
|
name = "torchaudio-2.3.0-cp38-cp38-macosx_11_0_arm64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp38-cp38-macosx_11_0_arm64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.3.0-cp38-cp38-macosx_11_0_arm64.whl";
|
||||||
hash = "sha256-s7ir4msGfpxKbj26FWuR16hSR+iN2nC3xDhZ9VuXjdw=";
|
hash = "sha256-e6kyZUVdw2M4XpjAz8rrWGt0Aa+KLIJIEe4UZhNKTzA=";
|
||||||
};
|
};
|
||||||
aarch64-darwin-39 = {
|
aarch64-darwin-39 = {
|
||||||
name = "torchaudio-2.2.2-cp39-cp39-macosx_11_0_arm64.whl";
|
name = "torchaudio-2.3.0-cp39-cp39-macosx_11_0_arm64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp39-cp39-macosx_11_0_arm64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.3.0-cp39-cp39-macosx_11_0_arm64.whl";
|
||||||
hash = "sha256-S3ioShib89pLlmN1zr3sxYSk3F9g4L3nIdc0Ae1crUU=";
|
hash = "sha256-9Lkzd28go2r13cV5aPyz2jTdA4gduNZ2Dz4RdoA7nPg=";
|
||||||
};
|
};
|
||||||
aarch64-darwin-310 = {
|
aarch64-darwin-310 = {
|
||||||
name = "torchaudio-2.2.2-cp310-cp310-macosx_11_0_arm64.whl";
|
name = "torchaudio-2.3.0-cp310-cp310-macosx_11_0_arm64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp310-cp310-macosx_11_0_arm64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.3.0-cp310-cp310-macosx_11_0_arm64.whl";
|
||||||
hash = "sha256-pSDhTqC6idncJ5IutGCfnqxcAcJ5gw4PIWucngF9Q4s=";
|
hash = "sha256-NCEI2oOqGaRXyaEosSBvrbYDdTtRzKAiufWFqsL0dUw=";
|
||||||
};
|
};
|
||||||
aarch64-darwin-311 = {
|
aarch64-darwin-311 = {
|
||||||
name = "torchaudio-2.2.2-cp311-cp311-macosx_11_0_arm64.whl";
|
name = "torchaudio-2.3.0-cp311-cp311-macosx_11_0_arm64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp311-cp311-macosx_11_0_arm64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.3.0-cp311-cp311-macosx_11_0_arm64.whl";
|
||||||
hash = "sha256-AUgvyFEX+F7kT4qo6cEbHAIjJhc+B0h4ntQrIZECk38=";
|
hash = "sha256-NByjBIzm7cxzFRmzAYfwsTrLJFxO/hb5JfafnVM1RuE=";
|
||||||
|
};
|
||||||
|
aarch64-darwin-312 = {
|
||||||
|
name = "torchaudio-2.3.0-cp312-cp312-macosx_11_0_arm64.whl";
|
||||||
|
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.3.0-cp312-cp312-macosx_11_0_arm64.whl";
|
||||||
|
hash = "sha256-U1FEovu6lfuzuIMiT/z0R4jkzsurvknEoa4+enT3FIU=";
|
||||||
};
|
};
|
||||||
aarch64-linux-38 = {
|
aarch64-linux-38 = {
|
||||||
name = "torchaudio-2.2.2-cp38-cp38-manylinux2014_aarch64.whl";
|
name = "torchaudio-2.3.0-cp38-cp38-manylinux2014_aarch64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp38-cp38-linux_aarch64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.3.0-cp38-cp38-linux_aarch64.whl";
|
||||||
hash = "sha256-T3VqbmZ92IQb8hoH6tPv7ap6J9VYUnecJm9vKhBkyZQ=";
|
hash = "sha256-7Rhm9QjcaJxPaC0zCy7UyDEI01hl5PuJQxgZNk2K2e0=";
|
||||||
};
|
};
|
||||||
aarch64-linux-39 = {
|
aarch64-linux-39 = {
|
||||||
name = "torchaudio-2.2.2-cp39-cp39-manylinux2014_aarch64.whl";
|
name = "torchaudio-2.3.0-cp39-cp39-manylinux2014_aarch64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp39-cp39-linux_aarch64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.3.0-cp39-cp39-linux_aarch64.whl";
|
||||||
hash = "sha256-cj9OV7XQwSA1fKYM1VtObPrIRbwOzMtLQXpEqk68Ums=";
|
hash = "sha256-0kO7ih7iY8LNr7n+7RVpw3QtgTVzHo94GN4S9ODIPig=";
|
||||||
};
|
};
|
||||||
aarch64-linux-310 = {
|
aarch64-linux-310 = {
|
||||||
name = "torchaudio-2.2.2-cp310-cp310-manylinux2014_aarch64.whl";
|
name = "torchaudio-2.3.0-cp310-cp310-manylinux2014_aarch64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp310-cp310-linux_aarch64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.3.0-cp310-cp310-linux_aarch64.whl";
|
||||||
hash = "sha256-sPOOfTVIkU14qvwn/wD3cBsaUL/N3FiWX1RfySzNSmY=";
|
hash = "sha256-5btQt6SHTtlwhsnlFt2QsQPZVO3LXtSzb0/CLEAApac=";
|
||||||
};
|
};
|
||||||
aarch64-linux-311 = {
|
aarch64-linux-311 = {
|
||||||
name = "torchaudio-2.2.2-cp311-cp311-manylinux2014_aarch64.whl";
|
name = "torchaudio-2.3.0-cp311-cp311-manylinux2014_aarch64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp311-cp311-linux_aarch64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.3.0-cp311-cp311-linux_aarch64.whl";
|
||||||
hash = "sha256-CgOki21V0X1I9Bmn8dDUAY1IoEx2WFwWqbXmkoH5L5Q=";
|
hash = "sha256-Ye2wKunA7+pDmfnB+JlgETayTzXUMFSChOqOr2zL474=";
|
||||||
|
};
|
||||||
|
aarch64-linux-312 = {
|
||||||
|
name = "torchaudio-2.3.0-cp312-cp312-manylinux2014_aarch64.whl";
|
||||||
|
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.3.0-cp312-cp312-linux_aarch64.whl";
|
||||||
|
hash = "sha256-ZoqLaU5VIs/yjNXgLQGqG3XOlAqp+0BICJK9xiOxc10=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,14 +15,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "torchaudio";
|
pname = "torchaudio";
|
||||||
version = "2.2.2";
|
version = "2.3.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pytorch";
|
owner = "pytorch";
|
||||||
repo = "audio";
|
repo = "audio";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-rW4xLUFTpGpUeMnTBdrI/2OjgZX1ihK0EfcVK6snmpk=";
|
hash = "sha256-8EPoZ/dfxrQjdtE0rZ+2pOaXxlyhRuweYnVuA9i0Fgc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -82,7 +82,7 @@ buildPythonPackage rec {
|
||||||
homepage = "https://pytorch.org/";
|
homepage = "https://pytorch.org/";
|
||||||
changelog = "https://github.com/pytorch/audio/releases/tag/v${version}";
|
changelog = "https://github.com/pytorch/audio/releases/tag/v${version}";
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
platforms = platforms.unix;
|
platforms = [ "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
|
||||||
maintainers = with maintainers; [ junjihashimoto ];
|
maintainers = with maintainers; [ junjihashimoto ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,18 +15,17 @@ url_and_key_list=(
|
||||||
"x86_64-linux-39 $linux_cuda_bucket/torchaudio-${version}%2B${linux_cuda_version}-cp39-cp39-linux_x86_64.whl torchaudio-${version}-cp39-cp39-linux_x86_64.whl"
|
"x86_64-linux-39 $linux_cuda_bucket/torchaudio-${version}%2B${linux_cuda_version}-cp39-cp39-linux_x86_64.whl torchaudio-${version}-cp39-cp39-linux_x86_64.whl"
|
||||||
"x86_64-linux-310 $linux_cuda_bucket/torchaudio-${version}%2B${linux_cuda_version}-cp310-cp310-linux_x86_64.whl torchaudio-${version}-cp310-cp310-linux_x86_64.whl"
|
"x86_64-linux-310 $linux_cuda_bucket/torchaudio-${version}%2B${linux_cuda_version}-cp310-cp310-linux_x86_64.whl torchaudio-${version}-cp310-cp310-linux_x86_64.whl"
|
||||||
"x86_64-linux-311 $linux_cuda_bucket/torchaudio-${version}%2B${linux_cuda_version}-cp311-cp311-linux_x86_64.whl torchaudio-${version}-cp311-cp311-linux_x86_64.whl"
|
"x86_64-linux-311 $linux_cuda_bucket/torchaudio-${version}%2B${linux_cuda_version}-cp311-cp311-linux_x86_64.whl torchaudio-${version}-cp311-cp311-linux_x86_64.whl"
|
||||||
"x86_64-darwin-38 $darwin_bucket/torchaudio-${version}-cp38-cp38-macosx_10_13_x86_64.whl torchaudio-${version}-cp38-cp38-macosx_10_9_x86_64.whl"
|
"x86_64-linux-312 $linux_cuda_bucket/torchaudio-${version}%2B${linux_cuda_version}-cp312-cp312-linux_x86_64.whl torchaudio-${version}-cp312-cp312-linux_x86_64.whl"
|
||||||
"x86_64-darwin-39 $darwin_bucket/torchaudio-${version}-cp39-cp39-macosx_10_13_x86_64.whl torchaudio-${version}-cp39-cp39-macosx_10_9_x86_64.whl"
|
|
||||||
"x86_64-darwin-310 $darwin_bucket/torchaudio-${version}-cp310-cp310-macosx_10_13_x86_64.whl torchaudio-${version}-cp310-cp310-macosx_10_9_x86_64.whl"
|
|
||||||
"x86_64-darwin-311 $darwin_bucket/torchaudio-${version}-cp311-cp311-macosx_10_13_x86_64.whl torchaudio-${version}-cp311-cp311-macosx_10_9_x86_64.whl"
|
|
||||||
"aarch64-darwin-38 $darwin_bucket/torchaudio-${version}-cp38-cp38-macosx_11_0_arm64.whl torchaudio-${version}-cp38-cp38-macosx_11_0_arm64.whl"
|
"aarch64-darwin-38 $darwin_bucket/torchaudio-${version}-cp38-cp38-macosx_11_0_arm64.whl torchaudio-${version}-cp38-cp38-macosx_11_0_arm64.whl"
|
||||||
"aarch64-darwin-39 $darwin_bucket/torchaudio-${version}-cp39-cp39-macosx_11_0_arm64.whl torchaudio-${version}-cp39-cp39-macosx_11_0_arm64.whl"
|
"aarch64-darwin-39 $darwin_bucket/torchaudio-${version}-cp39-cp39-macosx_11_0_arm64.whl torchaudio-${version}-cp39-cp39-macosx_11_0_arm64.whl"
|
||||||
"aarch64-darwin-310 $darwin_bucket/torchaudio-${version}-cp310-cp310-macosx_11_0_arm64.whl torchaudio-${version}-cp310-cp310-macosx_11_0_arm64.whl"
|
"aarch64-darwin-310 $darwin_bucket/torchaudio-${version}-cp310-cp310-macosx_11_0_arm64.whl torchaudio-${version}-cp310-cp310-macosx_11_0_arm64.whl"
|
||||||
"aarch64-darwin-311 $darwin_bucket/torchaudio-${version}-cp311-cp311-macosx_11_0_arm64.whl torchaudio-${version}-cp311-cp311-macosx_11_0_arm64.whl"
|
"aarch64-darwin-311 $darwin_bucket/torchaudio-${version}-cp311-cp311-macosx_11_0_arm64.whl torchaudio-${version}-cp311-cp311-macosx_11_0_arm64.whl"
|
||||||
|
"aarch64-darwin-312 $darwin_bucket/torchaudio-${version}-cp312-cp312-macosx_11_0_arm64.whl torchaudio-${version}-cp312-cp312-macosx_11_0_arm64.whl"
|
||||||
"aarch64-linux-38 $linux_cpu_bucket/torchaudio-${version}-cp38-cp38-linux_aarch64.whl torchaudio-${version}-cp38-cp38-manylinux2014_aarch64.whl"
|
"aarch64-linux-38 $linux_cpu_bucket/torchaudio-${version}-cp38-cp38-linux_aarch64.whl torchaudio-${version}-cp38-cp38-manylinux2014_aarch64.whl"
|
||||||
"aarch64-linux-39 $linux_cpu_bucket/torchaudio-${version}-cp39-cp39-linux_aarch64.whl torchaudio-${version}-cp39-cp39-manylinux2014_aarch64.whl"
|
"aarch64-linux-39 $linux_cpu_bucket/torchaudio-${version}-cp39-cp39-linux_aarch64.whl torchaudio-${version}-cp39-cp39-manylinux2014_aarch64.whl"
|
||||||
"aarch64-linux-310 $linux_cpu_bucket/torchaudio-${version}-cp310-cp310-linux_aarch64.whl torchaudio-${version}-cp310-cp310-manylinux2014_aarch64.whl"
|
"aarch64-linux-310 $linux_cpu_bucket/torchaudio-${version}-cp310-cp310-linux_aarch64.whl torchaudio-${version}-cp310-cp310-manylinux2014_aarch64.whl"
|
||||||
"aarch64-linux-311 $linux_cpu_bucket/torchaudio-${version}-cp311-cp311-linux_aarch64.whl torchaudio-${version}-cp311-cp311-manylinux2014_aarch64.whl"
|
"aarch64-linux-311 $linux_cpu_bucket/torchaudio-${version}-cp311-cp311-linux_aarch64.whl torchaudio-${version}-cp311-cp311-manylinux2014_aarch64.whl"
|
||||||
|
"aarch64-linux-312 $linux_cpu_bucket/torchaudio-${version}-cp312-cp312-linux_aarch64.whl torchaudio-${version}-cp312-cp312-manylinux2014_aarch64.whl"
|
||||||
)
|
)
|
||||||
|
|
||||||
hashfile=binary-hashes-"$version".nix
|
hashfile=binary-hashes-"$version".nix
|
||||||
|
|
|
@ -16,7 +16,7 @@ let
|
||||||
pyVerNoDot = builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion;
|
pyVerNoDot = builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion;
|
||||||
srcs = import ./binary-hashes.nix version;
|
srcs = import ./binary-hashes.nix version;
|
||||||
unsupported = throw "Unsupported system";
|
unsupported = throw "Unsupported system";
|
||||||
version = "0.17.2";
|
version = "0.18.0";
|
||||||
in buildPythonPackage {
|
in buildPythonPackage {
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ in buildPythonPackage {
|
||||||
|
|
||||||
src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported;
|
src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported;
|
||||||
|
|
||||||
disabled = (pythonOlder "3.8") || (pythonAtLeast "3.12");
|
disabled = (pythonOlder "3.8") || (pythonAtLeast "3.13");
|
||||||
|
|
||||||
# Note that we don't rely on config.cudaSupport here, because the Linux wheels all come built with CUDA support.
|
# Note that we don't rely on config.cudaSupport here, because the Linux wheels all come built with CUDA support.
|
||||||
buildInputs = with cudaPackages; lib.optionals stdenv.isLinux [
|
buildInputs = with cudaPackages; lib.optionals stdenv.isLinux [
|
||||||
|
@ -63,7 +63,7 @@ in buildPythonPackage {
|
||||||
# https://www.intel.com/content/www/us/en/developer/articles/license/onemkl-license-faq.html
|
# https://www.intel.com/content/www/us/en/developer/articles/license/onemkl-license-faq.html
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||||
platforms = [ "aarch64-darwin" "x86_64-darwin" "x86_64-linux" ];
|
platforms = [ "aarch64-darwin" "x86_64-linux" "aarch64-linux" ];
|
||||||
maintainers = with maintainers; [ junjihashimoto ];
|
maintainers = with maintainers; [ junjihashimoto ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,66 +6,81 @@
|
||||||
# To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows.
|
# To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows.
|
||||||
|
|
||||||
version : builtins.getAttr version {
|
version : builtins.getAttr version {
|
||||||
"0.17.2" = {
|
"0.18.0" = {
|
||||||
x86_64-linux-38 = {
|
x86_64-linux-38 = {
|
||||||
name = "torchvision-0.17.2-cp38-cp38-linux_x86_64.whl";
|
name = "torchvision-0.18.0-cp38-cp38-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cu121/torchvision-0.17.2%2Bcu121-cp38-cp38-linux_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu121/torchvision-0.18.0%2Bcu121-cp38-cp38-linux_x86_64.whl";
|
||||||
hash = "sha256-3450y7tN4KYPEc18KNggEWAnzTlJiT+XxVtvEjJr168=";
|
hash = "sha256-wkg7LMYiePuqa2fSqdgI0kUET4tkqCFZbq5o7GoNXtA=";
|
||||||
};
|
};
|
||||||
x86_64-linux-39 = {
|
x86_64-linux-39 = {
|
||||||
name = "torchvision-0.17.2-cp39-cp39-linux_x86_64.whl";
|
name = "torchvision-0.18.0-cp39-cp39-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cu121/torchvision-0.17.2%2Bcu121-cp39-cp39-linux_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu121/torchvision-0.18.0%2Bcu121-cp39-cp39-linux_x86_64.whl";
|
||||||
hash = "sha256-839ZLjEovz2ZloraWhKPEY+a7R2rYJ4nKscjEUb8aEM=";
|
hash = "sha256-G/4MZ/1UYaOlk/jxfhVE8Hpr1mhuFVIA3SRJRwdPzVE=";
|
||||||
};
|
};
|
||||||
x86_64-linux-310 = {
|
x86_64-linux-310 = {
|
||||||
name = "torchvision-0.17.2-cp310-cp310-linux_x86_64.whl";
|
name = "torchvision-0.18.0-cp310-cp310-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cu121/torchvision-0.17.2%2Bcu121-cp310-cp310-linux_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu121/torchvision-0.18.0%2Bcu121-cp310-cp310-linux_x86_64.whl";
|
||||||
hash = "sha256-wPMlY1+INPpV5pq2EHX7K7y7RTlamFu6HbN4sVYnEEs=";
|
hash = "sha256-E+G0jcXOQcy4EAqz3Sb98x2PHpBOzyhlrFJEkwE9DfU=";
|
||||||
};
|
};
|
||||||
x86_64-linux-311 = {
|
x86_64-linux-311 = {
|
||||||
name = "torchvision-0.17.2-cp311-cp311-linux_x86_64.whl";
|
name = "torchvision-0.18.0-cp311-cp311-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cu121/torchvision-0.17.2%2Bcu121-cp311-cp311-linux_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu121/torchvision-0.18.0%2Bcu121-cp311-cp311-linux_x86_64.whl";
|
||||||
hash = "sha256-BZ+GocjSsnayZshKj1qSzIQm1DwqLCSNxzwUCrOoIvM=";
|
hash = "sha256-HlFneVIPySFX1sskWsD9P3mHL+gchLhZOo8umYEG9bE=";
|
||||||
};
|
};
|
||||||
x86_64-darwin-38 = {
|
x86_64-linux-312 = {
|
||||||
name = "torchvision-0.17.2-cp38-cp38-macosx_10_9_x86_64.whl";
|
name = "torchvision-0.18.0-cp312-cp312-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp38-cp38-macosx_10_13_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu121/torchvision-0.18.0%2Bcu121-cp312-cp312-linux_x86_64.whl";
|
||||||
hash = "sha256-uDqsjXj0iYEUbVghaNdbbJR8+wp2k/duIZ8ZJvbllaM=";
|
hash = "sha256-cA9gGb6+6eDuiwvL2xWIgJyUouuUeh/eLgatw0tg2io=";
|
||||||
};
|
|
||||||
x86_64-darwin-39 = {
|
|
||||||
name = "torchvision-0.17.2-cp39-cp39-macosx_10_9_x86_64.whl";
|
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp39-cp39-macosx_10_13_x86_64.whl";
|
|
||||||
hash = "sha256-SGi7+lV1jIEH5poOfdXne4kFYDXNOLdnrVuYzbccDw0=";
|
|
||||||
};
|
|
||||||
x86_64-darwin-310 = {
|
|
||||||
name = "torchvision-0.17.2-cp310-cp310-macosx_10_9_x86_64.whl";
|
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp310-cp310-macosx_10_13_x86_64.whl";
|
|
||||||
hash = "sha256-HykQ/jwhrWh1snINRvrYNbLkszbpVT0xyjZNJMkLHU8=";
|
|
||||||
};
|
|
||||||
x86_64-darwin-311 = {
|
|
||||||
name = "torchvision-0.17.2-cp311-cp311-macosx_10_9_x86_64.whl";
|
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp311-cp311-macosx_10_13_x86_64.whl";
|
|
||||||
hash = "sha256-m4PlXufQoXBPUrnArIc4jnptHZimveews1+atU172lQ=";
|
|
||||||
};
|
};
|
||||||
aarch64-darwin-38 = {
|
aarch64-darwin-38 = {
|
||||||
name = "torchvision-0.17.2-cp38-cp38-macosx_11_0_arm64.whl";
|
name = "torchvision-0.18.0-cp38-cp38-macosx_11_0_arm64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp38-cp38-macosx_11_0_arm64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torchvision-0.18.0-cp38-cp38-macosx_11_0_arm64.whl";
|
||||||
hash = "sha256-Hs5AVX4SLXmXWGCgBap+Kp4ubDUKA+eKAOwUUAgzEv0=";
|
hash = "sha256-IRWhkGwBX12pzu3ECpgzE7D9biyKFxCKkpkXBvUfaYc=";
|
||||||
};
|
};
|
||||||
aarch64-darwin-39 = {
|
aarch64-darwin-39 = {
|
||||||
name = "torchvision-0.17.2-cp39-cp39-macosx_11_0_arm64.whl";
|
name = "torchvision-0.18.0-cp39-cp39-macosx_11_0_arm64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp39-cp39-macosx_11_0_arm64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torchvision-0.18.0-cp39-cp39-macosx_11_0_arm64.whl";
|
||||||
hash = "sha256-79bQ3QZo4V0Bos/63HQGhDOzLLz1aS4MSqFfxcslDOc=";
|
hash = "sha256-deIuz0ShO4+VuK1CHAJhKC2FnGGBa62soZWeBzzN1pE=";
|
||||||
};
|
};
|
||||||
aarch64-darwin-310 = {
|
aarch64-darwin-310 = {
|
||||||
name = "torchvision-0.17.2-cp310-cp310-macosx_11_0_arm64.whl";
|
name = "torchvision-0.18.0-cp310-cp310-macosx_11_0_arm64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp310-cp310-macosx_11_0_arm64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torchvision-0.18.0-cp310-cp310-macosx_11_0_arm64.whl";
|
||||||
hash = "sha256-7MHFA/qKVPurd34Gp8IoAyuKt47+vzWyi8jyL1RPUfE=";
|
hash = "sha256-3WFiij0YnGhSoS3F7UzS7s5m0tZ/Nahmyxbx3LBsjGI=";
|
||||||
};
|
};
|
||||||
aarch64-darwin-311 = {
|
aarch64-darwin-311 = {
|
||||||
name = "torchvision-0.17.2-cp311-cp311-macosx_11_0_arm64.whl";
|
name = "torchvision-0.18.0-cp311-cp311-macosx_11_0_arm64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp311-cp311-macosx_11_0_arm64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torchvision-0.18.0-cp311-cp311-macosx_11_0_arm64.whl";
|
||||||
hash = "sha256-4DEAShvEMsmAp71kL2wYmj78MW5CP8MLVWmDcWak4o0=";
|
hash = "sha256-aJalIWi+/hEF+zyTNShzkO0ifnHR5OxNaLYuijCZ/Ak=";
|
||||||
|
};
|
||||||
|
aarch64-darwin-312 = {
|
||||||
|
name = "torchvision-0.18.0-cp312-cp312-macosx_11_0_arm64.whl";
|
||||||
|
url = "https://download.pytorch.org/whl/cpu/torchvision-0.18.0-cp312-cp312-macosx_11_0_arm64.whl";
|
||||||
|
hash = "sha256-652DwOHbtU7LD7BMh/eGMz46b7i5xACsp8MQgfmqVwc=";
|
||||||
|
};
|
||||||
|
aarch64-linux-38 = {
|
||||||
|
name = "torchvision-0.18.0-cp38-cp38-linux_aarch64.whl";
|
||||||
|
url = "https://download.pytorch.org/whl/cpu/torchvision-0.18.0-cp38-cp38-linux_aarch64.whl";
|
||||||
|
hash = "sha256-kl0KgszPb5hsGLKbQ5KpQttly9tzwToSnISTgi65428=";
|
||||||
|
};
|
||||||
|
aarch64-linux-39 = {
|
||||||
|
name = "torchvision-0.18.0-cp39-cp39-linux_aarch64.whl";
|
||||||
|
url = "https://download.pytorch.org/whl/cpu/torchvision-0.18.0-cp39-cp39-linux_aarch64.whl";
|
||||||
|
hash = "sha256-Nu/YcAHGvuI4PgQ+RqAlr/sDF5dHyPR3e5kYUn/851Y=";
|
||||||
|
};
|
||||||
|
aarch64-linux-310 = {
|
||||||
|
name = "torchvision-0.18.0-cp310-cp310-linux_aarch64.whl";
|
||||||
|
url = "https://download.pytorch.org/whl/cpu/torchvision-0.18.0-cp310-cp310-linux_aarch64.whl";
|
||||||
|
hash = "sha256-Uzf2rPof6VnVyzQNAaAGFNazHOekgkzLlUNahcUnO5U=";
|
||||||
|
};
|
||||||
|
aarch64-linux-311 = {
|
||||||
|
name = "torchvision-0.18.0-cp311-cp311-linux_aarch64.whl";
|
||||||
|
url = "https://download.pytorch.org/whl/cpu/torchvision-0.18.0-cp311-cp311-linux_aarch64.whl";
|
||||||
|
hash = "sha256-5aJNYgzqFKS7ifJKorUGIwwKFqOtpX/FOtgM/SVqISg=";
|
||||||
|
};
|
||||||
|
aarch64-linux-312 = {
|
||||||
|
name = "torchvision-0.18.0-cp312-cp312-linux_aarch64.whl";
|
||||||
|
url = "https://download.pytorch.org/whl/cpu/torchvision-0.18.0-cp312-cp312-linux_aarch64.whl";
|
||||||
|
hash = "sha256-qWSvvH3fUKRrlBR39sNXKbQW3u3ROXVr79SIJF4uIm0=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@ let
|
||||||
inherit (cudaPackages) backendStdenv;
|
inherit (cudaPackages) backendStdenv;
|
||||||
|
|
||||||
pname = "torchvision";
|
pname = "torchvision";
|
||||||
version = "0.17.2";
|
version = "0.18.0";
|
||||||
in
|
in
|
||||||
buildPythonPackage {
|
buildPythonPackage {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
@ -26,7 +26,7 @@ buildPythonPackage {
|
||||||
owner = "pytorch";
|
owner = "pytorch";
|
||||||
repo = "vision";
|
repo = "vision";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-Y7TkdbdrdiXQO2pBkUePCLw1EYQjsAqkV2OTMzxbU78=";
|
hash = "sha256-VWbalbLSV5a+t9eAO7QzQ/e11KkhGg6MHgd5vXcAUXc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -14,14 +14,17 @@ url_and_key_list=(
|
||||||
"x86_64-linux-39 $linux_bucket/torchvision-${version}%2B${linux_cuda_version}-cp39-cp39-linux_x86_64.whl torchvision-${version}-cp39-cp39-linux_x86_64.whl"
|
"x86_64-linux-39 $linux_bucket/torchvision-${version}%2B${linux_cuda_version}-cp39-cp39-linux_x86_64.whl torchvision-${version}-cp39-cp39-linux_x86_64.whl"
|
||||||
"x86_64-linux-310 $linux_bucket/torchvision-${version}%2B${linux_cuda_version}-cp310-cp310-linux_x86_64.whl torchvision-${version}-cp310-cp310-linux_x86_64.whl"
|
"x86_64-linux-310 $linux_bucket/torchvision-${version}%2B${linux_cuda_version}-cp310-cp310-linux_x86_64.whl torchvision-${version}-cp310-cp310-linux_x86_64.whl"
|
||||||
"x86_64-linux-311 $linux_bucket/torchvision-${version}%2B${linux_cuda_version}-cp311-cp311-linux_x86_64.whl torchvision-${version}-cp311-cp311-linux_x86_64.whl"
|
"x86_64-linux-311 $linux_bucket/torchvision-${version}%2B${linux_cuda_version}-cp311-cp311-linux_x86_64.whl torchvision-${version}-cp311-cp311-linux_x86_64.whl"
|
||||||
"x86_64-darwin-38 $darwin_bucket/torchvision-${version}-cp38-cp38-macosx_10_13_x86_64.whl torchvision-${version}-cp38-cp38-macosx_10_9_x86_64.whl"
|
"x86_64-linux-312 $linux_bucket/torchvision-${version}%2B${linux_cuda_version}-cp312-cp312-linux_x86_64.whl torchvision-${version}-cp312-cp312-linux_x86_64.whl"
|
||||||
"x86_64-darwin-39 $darwin_bucket/torchvision-${version}-cp39-cp39-macosx_10_13_x86_64.whl torchvision-${version}-cp39-cp39-macosx_10_9_x86_64.whl"
|
|
||||||
"x86_64-darwin-310 $darwin_bucket/torchvision-${version}-cp310-cp310-macosx_10_13_x86_64.whl torchvision-${version}-cp310-cp310-macosx_10_9_x86_64.whl"
|
|
||||||
"x86_64-darwin-311 $darwin_bucket/torchvision-${version}-cp311-cp311-macosx_10_13_x86_64.whl torchvision-${version}-cp311-cp311-macosx_10_9_x86_64.whl"
|
|
||||||
"aarch64-darwin-38 $darwin_bucket/torchvision-${version}-cp38-cp38-macosx_11_0_arm64.whl torchvision-${version}-cp38-cp38-macosx_11_0_arm64.whl"
|
"aarch64-darwin-38 $darwin_bucket/torchvision-${version}-cp38-cp38-macosx_11_0_arm64.whl torchvision-${version}-cp38-cp38-macosx_11_0_arm64.whl"
|
||||||
"aarch64-darwin-39 $darwin_bucket/torchvision-${version}-cp39-cp39-macosx_11_0_arm64.whl torchvision-${version}-cp39-cp39-macosx_11_0_arm64.whl"
|
"aarch64-darwin-39 $darwin_bucket/torchvision-${version}-cp39-cp39-macosx_11_0_arm64.whl torchvision-${version}-cp39-cp39-macosx_11_0_arm64.whl"
|
||||||
"aarch64-darwin-310 $darwin_bucket/torchvision-${version}-cp310-cp310-macosx_11_0_arm64.whl torchvision-${version}-cp310-cp310-macosx_11_0_arm64.whl"
|
"aarch64-darwin-310 $darwin_bucket/torchvision-${version}-cp310-cp310-macosx_11_0_arm64.whl torchvision-${version}-cp310-cp310-macosx_11_0_arm64.whl"
|
||||||
"aarch64-darwin-311 $darwin_bucket/torchvision-${version}-cp311-cp311-macosx_11_0_arm64.whl torchvision-${version}-cp311-cp311-macosx_11_0_arm64.whl"
|
"aarch64-darwin-311 $darwin_bucket/torchvision-${version}-cp311-cp311-macosx_11_0_arm64.whl torchvision-${version}-cp311-cp311-macosx_11_0_arm64.whl"
|
||||||
|
"aarch64-darwin-312 $darwin_bucket/torchvision-${version}-cp312-cp312-macosx_11_0_arm64.whl torchvision-${version}-cp312-cp312-macosx_11_0_arm64.whl"
|
||||||
|
"aarch64-linux-38 $darwin_bucket/torchvision-${version}-cp38-cp38-linux_aarch64.whl torchvision-${version}-cp38-cp38-linux_aarch64.whl"
|
||||||
|
"aarch64-linux-39 $darwin_bucket/torchvision-${version}-cp39-cp39-linux_aarch64.whl torchvision-${version}-cp39-cp39-linux_aarch64.whl"
|
||||||
|
"aarch64-linux-310 $darwin_bucket/torchvision-${version}-cp310-cp310-linux_aarch64.whl torchvision-${version}-cp310-cp310-linux_aarch64.whl"
|
||||||
|
"aarch64-linux-311 $darwin_bucket/torchvision-${version}-cp311-cp311-linux_aarch64.whl torchvision-${version}-cp311-cp311-linux_aarch64.whl"
|
||||||
|
"aarch64-linux-312 $darwin_bucket/torchvision-${version}-cp312-cp312-linux_aarch64.whl torchvision-${version}-cp312-cp312-linux_aarch64.whl"
|
||||||
)
|
)
|
||||||
|
|
||||||
hashfile="binary-hashes-$version.nix"
|
hashfile="binary-hashes-$version.nix"
|
||||||
|
|
Loading…
Reference in a new issue