diff --git a/packaging/torchaudio/meta.yaml b/packaging/torchaudio/meta.yaml index 344ef0a2b7..e1e0f0fc6f 100644 --- a/packaging/torchaudio/meta.yaml +++ b/packaging/torchaudio/meta.yaml @@ -19,6 +19,7 @@ requirements: - ninja - numpy>=1.11 # [py <= 39] - numpy>=1.21.2 # [py >= 310] + - mkl<=2021.4.0 # [osx and x86_64] - pytorch-mutex 1.0 {{ build_variant }} # [not osx ] {{ environ.get('CONDA_PYTORCH_BUILD_CONSTRAINT', 'pytorch') }} {{ environ.get('CONDA_EXTRA_BUILD_CONSTRAINT', '') }} @@ -29,6 +30,7 @@ requirements: - numpy>=1.11 # [py <= 39] - numpy>=1.21.2 # [py >= 310] - pytorch-mutex 1.0 {{ build_variant }} # [not osx ] + - mkl<=2021.4.0 # [osx and x86_64] {{ environ.get('CONDA_PYTORCH_CONSTRAINT', 'pytorch') }} {{ environ.get('CONDA_CUDATOOLKIT_CONSTRAINT', '') }}