python3Packages.torchaudio: 0.11.0 -> 0.12.1
https://github.com/pytorch/audio/releases/tag/v0.12.0 https://github.com/pytorch/audio/releases/tag/v0.12.1
This commit is contained in:
parent
4b37958011
commit
8d3b89d030
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "torchaudio";
|
pname = "torchaudio";
|
||||||
version = "0.11.0";
|
version = "0.12.1";
|
||||||
format = "wheel";
|
format = "wheel";
|
||||||
|
|
||||||
src =
|
src =
|
||||||
|
|
|
@ -6,61 +6,61 @@
|
||||||
# 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.11.0" = {
|
"0.12.1" = {
|
||||||
x86_64-linux-37 = {
|
x86_64-linux-37 = {
|
||||||
name = "torchaudio-0.11.0-cp37-cp37m-linux_x86_64.whl";
|
name = "torchaudio-0.12.1-cp37-cp37m-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cu113/torchaudio-0.11.0%2Bcu113-cp37-cp37m-linux_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu116/torchaudio-0.12.1%2Bcu116-cp37-cp37m-linux_x86_64.whl";
|
||||||
hash = "sha256-AdqgntXh2rTD7rBePshFAQ2tVl7b+734wG4r471/Y2U=";
|
hash = "sha256-8Z72lazhnV2ZBtnvpdm5ZHhiyE/wHwEpQ9UzZoi//mw=";
|
||||||
};
|
};
|
||||||
x86_64-linux-38 = {
|
x86_64-linux-38 = {
|
||||||
name = "torchaudio-0.11.0-cp38-cp38-linux_x86_64.whl";
|
name = "torchaudio-0.12.1-cp38-cp38-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cu113/torchaudio-0.11.0%2Bcu113-cp38-cp38-linux_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu116/torchaudio-0.12.1%2Bcu116-cp38-cp38-linux_x86_64.whl";
|
||||||
hash = "sha256-zuCHDpz3bkOUjYWprqX9VXoUbXfR8Vhdf1VFfOUg8z4=";
|
hash = "sha256-CCtZ6eUhs/6kaoU0HwDDaK4JTSFKkVJF+OMAu368Zno=";
|
||||||
};
|
};
|
||||||
x86_64-linux-39 = {
|
x86_64-linux-39 = {
|
||||||
name = "torchaudio-0.11.0-cp39-cp39-linux_x86_64.whl";
|
name = "torchaudio-0.12.1-cp39-cp39-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cu113/torchaudio-0.11.0%2Bcu113-cp39-cp39-linux_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu116/torchaudio-0.12.1%2Bcu116-cp39-cp39-linux_x86_64.whl";
|
||||||
hash = "sha256-btI9TpsOjeLnIz6J56avNv4poJTpXjjhDbMy6+ZFQvI=";
|
hash = "sha256-pNa5fV9vC1cXeDLhHTCscO7RO2lst2Vmm0K7NzINqgw=";
|
||||||
};
|
};
|
||||||
x86_64-linux-310 = {
|
x86_64-linux-310 = {
|
||||||
name = "torchaudio-0.11.0-cp310-cp310-linux_x86_64.whl";
|
name = "torchaudio-0.12.1-cp310-cp310-linux_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/cu113/torchaudio-0.11.0%2Bcu113-cp310-cp310-linux_x86_64.whl";
|
url = "https://download.pytorch.org/whl/cu116/torchaudio-0.12.1%2Bcu116-cp310-cp310-linux_x86_64.whl";
|
||||||
hash = "sha256-Zk+AWytEXfJ+HM69BAPhVsvN6pgQwC6uaW7Xux2row4=";
|
hash = "sha256-KdeBVGBQ1lQxXxCQGwX17E1iptMis0Rfex++o4JmVog=";
|
||||||
};
|
};
|
||||||
x86_64-darwin-37 = {
|
x86_64-darwin-37 = {
|
||||||
name = "torchaudio-0.11.0-cp37-cp37m-macosx_10_15_x86_64.whl";
|
name = "torchaudio-0.12.1-cp37-cp37m-macosx_10_9_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/torchaudio-0.11.0-cp37-cp37m-macosx_10_15_x86_64.whl";
|
url = "https://download.pytorch.org/whl/torchaudio-0.12.1-cp37-cp37m-macosx_10_9_x86_64.whl";
|
||||||
hash = "sha256-uaTT4athEWHAZe0hBoBIM/9LhfZNhAIexZBGg2MWn50=";
|
hash = "sha256-I9vPN68vQdSRwDN8qUUB7H71iK2xdm4esoAz+sVJu9k=";
|
||||||
};
|
};
|
||||||
x86_64-darwin-38 = {
|
x86_64-darwin-38 = {
|
||||||
name = "torchaudio-0.11.0-cp38-cp38-macosx_10_15_x86_64.whl";
|
name = "torchaudio-0.12.1-cp38-cp38-macosx_10_9_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/torchaudio-0.11.0-cp38-cp38-macosx_10_15_x86_64.whl";
|
url = "https://download.pytorch.org/whl/torchaudio-0.12.1-cp38-cp38-macosx_10_9_x86_64.whl";
|
||||||
hash = "sha256-9OndqejTzgu9XnkZJiGfUFS4uFNlx5vi7pAzOs+a2/w=";
|
hash = "sha256-pMjBWx6BCpO7d7J/pJFZvqIlO1k++UA5lG7Emu9Rdk8=";
|
||||||
};
|
};
|
||||||
x86_64-darwin-39 = {
|
x86_64-darwin-39 = {
|
||||||
name = "torchaudio-0.11.0-cp39-cp39-macosx_10_15_x86_64.whl";
|
name = "torchaudio-0.12.1-cp39-cp39-macosx_10_9_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/torchaudio-0.11.0-cp39-cp39-macosx_10_15_x86_64.whl";
|
url = "https://download.pytorch.org/whl/torchaudio-0.12.1-cp39-cp39-macosx_10_9_x86_64.whl";
|
||||||
hash = "sha256-cNi8B/J3YI0jqaoI2z+68DVmAlS8EtmzYWQMRVZ3dVk=";
|
hash = "sha256-CPkrxTaC07rYYG3ttwpJ5aD3z5MGyRc/B027qXeFRC4=";
|
||||||
};
|
};
|
||||||
x86_64-darwin-310 = {
|
x86_64-darwin-310 = {
|
||||||
name = "torchaudio-0.11.0-cp310-cp310-macosx_10_15_x86_64.whl";
|
name = "torchaudio-0.12.1-cp310-cp310-macosx_10_9_x86_64.whl";
|
||||||
url = "https://download.pytorch.org/whl/torchaudio-0.11.0-cp310-cp310-macosx_10_15_x86_64.whl";
|
url = "https://download.pytorch.org/whl/torchaudio-0.12.1-cp310-cp310-macosx_10_9_x86_64.whl";
|
||||||
hash = "sha256-g2Pj2wqK9YIP19O/g5agryPcgiHJqdS2Di44mAVJKUQ=";
|
hash = "sha256-3BOL7gayMFRC/BMhcfKgHV9CUJ6qIb34fD0mpvSgn90=";
|
||||||
};
|
};
|
||||||
aarch64-darwin-38 = {
|
aarch64-darwin-38 = {
|
||||||
name = "torchaudio-0.11.0-cp38-cp38-macosx_11_0_arm64.whl";
|
name = "torchaudio-0.12.1-cp38-cp38-macosx_11_0_arm64.whl";
|
||||||
url = "https://download.pytorch.org/whl/torchaudio-0.11.0-cp38-cp38-macosx_11_0_arm64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torchaudio-0.12.1-cp38-cp38-macosx_11_0_arm64.whl";
|
||||||
hash = "sha256-MX/Y7Dn92zrx2tkGWTuezcPt9o5/V4DEL43pVlha5IA=";
|
hash = "sha256-g8CLcabcjiPB17AHgKu55MKVKOR6bmRP497nrCJjgh4=";
|
||||||
};
|
};
|
||||||
aarch64-darwin-39 = {
|
aarch64-darwin-39 = {
|
||||||
name = "torchaudio-0.11.0-cp39-cp39-macosx_11_0_arm64.whl";
|
name = "torchaudio-0.12.1-cp39-cp39-macosx_11_0_arm64.whl";
|
||||||
url = "https://download.pytorch.org/whl/torchaudio-0.11.0-cp39-cp39-macosx_11_0_arm64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torchaudio-0.12.1-cp39-cp39-macosx_11_0_arm64.whl";
|
||||||
hash = "sha256-5eVRP83VeHAGGWW++/B2V4eyX0mcPgC1j02ETkQYMXc=";
|
hash = "sha256-L8WivI6KrUdbxRnzyCuWSeFLXGV0h/+nEs98UUFD6dc=";
|
||||||
};
|
};
|
||||||
aarch64-darwin-310 = {
|
aarch64-darwin-310 = {
|
||||||
name = "torchaudio-0.11.0-cp310-cp310-macosx_11_0_arm64.whl";
|
name = "torchaudio-0.12.1-cp310-cp310-macosx_11_0_arm64.whl";
|
||||||
url = "https://download.pytorch.org/whl/torchaudio-0.11.0-cp310-cp310-macosx_11_0_arm64.whl";
|
url = "https://download.pytorch.org/whl/cpu/torchaudio-0.12.1-cp310-cp310-macosx_11_0_arm64.whl";
|
||||||
hash = "sha256-06OyzOuV8E7ZNtozvFO9Zm2rBxWnnbM65HGYUiQdwtI=";
|
hash = "sha256-HYH3GDfV1b5lHoXKn6k3fstFE7ASnd+wJVQOHCQG0+Y=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,21 +5,22 @@ set -eou pipefail
|
||||||
|
|
||||||
version=$1
|
version=$1
|
||||||
|
|
||||||
linux_bucket="https://download.pytorch.org/whl/cu113"
|
linux_cuda_version="cu116"
|
||||||
|
linux_bucket="https://download.pytorch.org/whl/${linux_cuda_version}"
|
||||||
darwin_bucket="https://download.pytorch.org/whl"
|
darwin_bucket="https://download.pytorch.org/whl"
|
||||||
|
|
||||||
url_and_key_list=(
|
url_and_key_list=(
|
||||||
"x86_64-linux-37 $linux_bucket/torchaudio-${version}%2Bcu113-cp37-cp37m-linux_x86_64.whl torchaudio-${version}-cp37-cp37m-linux_x86_64.whl"
|
"x86_64-linux-37 $linux_bucket/torchaudio-${version}%2B${linux_cuda_version}-cp37-cp37m-linux_x86_64.whl torchaudio-${version}-cp37-cp37m-linux_x86_64.whl"
|
||||||
"x86_64-linux-38 $linux_bucket/torchaudio-${version}%2Bcu113-cp38-cp38-linux_x86_64.whl torchaudio-${version}-cp38-cp38-linux_x86_64.whl"
|
"x86_64-linux-38 $linux_bucket/torchaudio-${version}%2B${linux_cuda_version}-cp38-cp38-linux_x86_64.whl torchaudio-${version}-cp38-cp38-linux_x86_64.whl"
|
||||||
"x86_64-linux-39 $linux_bucket/torchaudio-${version}%2Bcu113-cp39-cp39-linux_x86_64.whl torchaudio-${version}-cp39-cp39-linux_x86_64.whl"
|
"x86_64-linux-39 $linux_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_bucket/torchaudio-${version}%2Bcu113-cp310-cp310-linux_x86_64.whl torchaudio-${version}-cp310-cp310-linux_x86_64.whl"
|
"x86_64-linux-310 $linux_bucket/torchaudio-${version}%2B${linux_cuda_version}-cp310-cp310-linux_x86_64.whl torchaudio-${version}-cp310-cp310-linux_x86_64.whl"
|
||||||
"x86_64-darwin-37 $darwin_bucket/torchaudio-${version}-cp37-cp37m-macosx_10_15_x86_64.whl torchaudio-${version}-cp37-cp37m-macosx_10_15_x86_64.whl"
|
"x86_64-darwin-37 $darwin_bucket/torchaudio-${version}-cp37-cp37m-macosx_10_9_x86_64.whl torchaudio-${version}-cp37-cp37m-macosx_10_9_x86_64.whl"
|
||||||
"x86_64-darwin-38 $darwin_bucket/torchaudio-${version}-cp38-cp38-macosx_10_15_x86_64.whl torchaudio-${version}-cp38-cp38-macosx_10_15_x86_64.whl"
|
"x86_64-darwin-38 $darwin_bucket/torchaudio-${version}-cp38-cp38-macosx_10_9_x86_64.whl torchaudio-${version}-cp38-cp38-macosx_10_9_x86_64.whl"
|
||||||
"x86_64-darwin-39 $darwin_bucket/torchaudio-${version}-cp39-cp39-macosx_10_15_x86_64.whl torchaudio-${version}-cp39-cp39-macosx_10_15_x86_64.whl"
|
"x86_64-darwin-39 $darwin_bucket/torchaudio-${version}-cp39-cp39-macosx_10_9_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_15_x86_64.whl torchaudio-${version}-cp310-cp310-macosx_10_15_x86_64.whl"
|
"x86_64-darwin-310 $darwin_bucket/torchaudio-${version}-cp310-cp310-macosx_10_9_x86_64.whl torchaudio-${version}-cp310-cp310-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/cpu/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/cpu/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/cpu/torchaudio-${version}-cp310-cp310-macosx_11_0_arm64.whl torchaudio-${version}-cp310-cp310-macosx_11_0_arm64.whl"
|
||||||
)
|
)
|
||||||
|
|
||||||
hashfile=binary-hashes-"$version".nix
|
hashfile=binary-hashes-"$version".nix
|
||||||
|
|
Loading…
Reference in a new issue