diff options
author | pennae <82953136+pennae@users.noreply.github.com> | 2022-09-01 16:10:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-01 16:10:09 +0200 |
commit | 3bddcf5f9002814a8bec50025418faa3fd3f6138 (patch) | |
tree | 5ae3ebf10acce3ad00d4a2468f8e64c41a2c749b /pkgs/development/python-modules/torchaudio/bin.nix | |
parent | 1d41cff3dc4c8f37bb5841f51fcbff705e169178 (diff) | |
parent | e7312d54f184e5c3e0f1ef29028f6dae8fa34a97 (diff) | |
download | nixpkgs-3bddcf5f9002814a8bec50025418faa3fd3f6138.tar nixpkgs-3bddcf5f9002814a8bec50025418faa3fd3f6138.tar.gz nixpkgs-3bddcf5f9002814a8bec50025418faa3fd3f6138.tar.bz2 nixpkgs-3bddcf5f9002814a8bec50025418faa3fd3f6138.tar.lz nixpkgs-3bddcf5f9002814a8bec50025418faa3fd3f6138.tar.xz nixpkgs-3bddcf5f9002814a8bec50025418faa3fd3f6138.tar.zst nixpkgs-3bddcf5f9002814a8bec50025418faa3fd3f6138.zip |
Merge branch 'master' into option-docs-md
Diffstat (limited to 'pkgs/development/python-modules/torchaudio/bin.nix')
-rw-r--r-- | pkgs/development/python-modules/torchaudio/bin.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/torchaudio/bin.nix b/pkgs/development/python-modules/torchaudio/bin.nix index 42558837bc0..7388bbc7d26 100644 --- a/pkgs/development/python-modules/torchaudio/bin.nix +++ b/pkgs/development/python-modules/torchaudio/bin.nix @@ -7,14 +7,14 @@ , isPy39 , isPy310 , python -, pytorch-bin +, torch-bin , pythonOlder , pythonAtLeast }: buildPythonPackage rec { pname = "torchaudio"; - version = "0.11.0"; + version = "0.12.1"; format = "wheel"; src = @@ -26,7 +26,7 @@ buildPythonPackage rec { disabled = !(isPy37 || isPy38 || isPy39 || isPy310); propagatedBuildInputs = [ - pytorch-bin + torch-bin ]; # The wheel-binary is not stripped to avoid the error of `ImportError: libtorch_cuda_cpp.so: ELF load command address/offset not properly aligned.`. @@ -38,7 +38,7 @@ buildPythonPackage rec { # Note: after patchelf'ing, libcudart can still not be found. However, this should # not be an issue, because PyTorch is loaded before torchvision and brings # in the necessary symbols. - patchelf --set-rpath "${lib.makeLibraryPath [ stdenv.cc.cc.lib ]}:${pytorch-bin}/${python.sitePackages}/torch/lib:" \ + patchelf --set-rpath "${lib.makeLibraryPath [ stdenv.cc.cc.lib ]}:${torch-bin}/${python.sitePackages}/torch/lib:" \ "$out/${python.sitePackages}/torchaudio/_torchaudio.so" ''; |