py-torchaudio: upperbound on cuda (#45773)

* py-torchaudio: upperbound on cuda

* actually get bound right

* make adam happy
This commit is contained in:
Harmen Stoppels 2024-08-17 19:18:32 +02:00 committed by GitHub
parent 52ab0c66fe
commit 66e2836ba1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)