From 31de77dad5c89274451b3f5c4bcb630be12787c4 Mon Sep 17 00:00:00 2001 From: Andrey Talman Date: Thu, 4 May 2023 18:30:47 -0400 Subject: [PATCH] Add older mkl build contraint only (#3302) (#3308) Summary: Similar to what we used to have here: https://github.com/pytorch/test-infra/pull/3896/files Pull Request resolved: https://github.com/pytorch/audio/pull/3302 Reviewed By: nateanl Differential Revision: D45574845 Pulled By: atalman fbshipit-source-id: 142c35dfd811a5f5c170dcd082bec8d055edd9cb --- packaging/torchaudio/meta.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packaging/torchaudio/meta.yaml b/packaging/torchaudio/meta.yaml index e1e0f0fc6f..69acbaf456 100644 --- a/packaging/torchaudio/meta.yaml +++ b/packaging/torchaudio/meta.yaml @@ -19,7 +19,7 @@ requirements: - ninja - numpy>=1.11 # [py <= 39] - numpy>=1.21.2 # [py >= 310] - - mkl<=2021.4.0 # [osx and x86_64] + - mkl<=2021.2.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', '') }} @@ -30,7 +30,6 @@ 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', '') }}