Skip to content

Commit

Permalink
py-torchaudio: upperbound on cuda (spack#45773)
Browse files Browse the repository at this point in the history
* py-torchaudio: upperbound on cuda

* actually get bound right

* make adam happy
  • Loading branch information
haampie authored Aug 17, 2024
1 parent 52ab0c6 commit 66e2836
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions var/spack/repos/builtin/packages/py-torchaudio/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ class PyTorchaudio(PythonPackage):
depends_on("pkgconfig", type="build")
depends_on("sox")

# https://github.com/pytorch/audio/pull/3811
depends_on("cuda@:12.4", when="^py-torch+cuda")

def setup_build_environment(self, env):
# tools/setup_helpers/extension.py
env.set("BUILD_SOX", 0)
Expand Down

0 comments on commit 66e2836

Please sign in to comment.