From 968c81d9cdfd71a52862fd4a6a211727b663de54 Mon Sep 17 00:00:00 2001 From: Nikita Shulga Date: Fri, 10 Feb 2023 18:01:47 -0800 Subject: [PATCH 1/2] Simplify mkl build dependencies --- conda/pytorch-nightly/meta.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/conda/pytorch-nightly/meta.yaml b/conda/pytorch-nightly/meta.yaml index 9d80d6d24..e68ff73fc 100644 --- a/conda/pytorch-nightly/meta.yaml +++ b/conda/pytorch-nightly/meta.yaml @@ -21,8 +21,7 @@ requirements: - pyyaml {% if cross_compile_arm64 == 0 %} - mkl-include # [x86_64] - - mkl=2020.2 # [x86_64 and ((not win and py < 311) or py <= 39)] - - mkl=2021.4 # [x86_64 and ((win and py >= 310) or py >= 311)] + - mkl=2022.1 # [x86_64] {% endif %} - typing_extensions - ninja From e38830e98092ad381d3eea285d65954fb19dece8 Mon Sep 17 00:00:00 2001 From: Nikita Shulga Date: Fri, 10 Feb 2023 22:07:54 -0800 Subject: [PATCH 2/2] Or like that --- conda/pytorch-nightly/meta.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conda/pytorch-nightly/meta.yaml b/conda/pytorch-nightly/meta.yaml index e68ff73fc..c919d402f 100644 --- a/conda/pytorch-nightly/meta.yaml +++ b/conda/pytorch-nightly/meta.yaml @@ -21,7 +21,8 @@ requirements: - pyyaml {% if cross_compile_arm64 == 0 %} - mkl-include # [x86_64] - - mkl=2022.1 # [x86_64] + - mkl=2020.2 # [x86_64 and not win] + - mkl=2021.4 # [x86_64 and win] {% endif %} - typing_extensions - ninja