pytorch / builder

Continuous builder and binary build scripts for pytorch
BSD 2-Clause "Simplified" License
323 stars 213 forks source link

Use pypi for mkl-inlcude and mkl-static dependencies #1911

Closed atalman closed 3 days ago

atalman commented 3 days ago

Fixes https://github.com/pytorch/pytorch/issues/130034 Install mkl-include and static binaries from pypi rather then anaconda, which is not available anymore

Inspecting this fix I do see MKL is being included

-- MKL libraries: C:/actions-runner/_work/pytorch/pytorch/builder/windows/conda/envs/py38/Library/lib/mkl_intel_lp64.lib;C:/actions-runner/_work/pytorch/pytorch/builder/windows/conda/envs/py38/Library/lib/mkl_sequential.lib;C:/actions-runner/_work/pytorch/pytorch/builder/windows/conda/envs/py38/Library/lib/mkl_core.lib
-- MKL include directory: C:/actions-runner/_work/pytorch/pytorch/builder/windows/conda/envs/py38/Library/include
-- MKL OpenMP type: 
-- MKL OpenMP library: 

Test: https://github.com/pytorch/pytorch/actions/runs/9781702044/job/27007996917?pr=130035

ZainRizvi commented 3 days ago

The tests in https://github.com/pytorch/pytorch/actions/runs/9781702044/job/27007996917?pr=130035 are all red. Is that expected?

@atalman wrote: @ZainRizvi they are all cancelled. The only running is test is wheel-py3_8-cpu-build . Its enough to get the signal