py-torchaudio: upperbound on cuda (#45773)
* py-torchaudio: upperbound on cuda * actually get bound right * make adam happy
This commit is contained in:
parent
52ab0c66fe
commit
66e2836ba1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user