Skip to content

Commit

Permalink
Add older mkl build contraint only (#3302) (#3308)
Browse files Browse the repository at this point in the history
Summary:
Similar to what we used to have here:
https://github.com/pytorch/test-infra/pull/3896/files

Pull Request resolved: #3302

Reviewed By: nateanl

Differential Revision: D45574845

Pulled By: atalman

fbshipit-source-id: 142c35dfd811a5f5c170dcd082bec8d055edd9cb
  • Loading branch information
atalman authored May 4, 2023
1 parent bc77e2b commit 31de77d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packaging/torchaudio/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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', '') }}
Expand All @@ -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', '') }}

Expand Down

0 comments on commit 31de77d

Please sign in to comment.