-
Notifications
You must be signed in to change notification settings - Fork 633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS x86 conda, Removing conda-forge dependency and mkl constraint causes torchaudio conda builds to include new mkl dependency #3187
Comments
We want to have only the following dependencies for libtorchaudio:
mkl is not required dependency, however now we have following:
|
My observations
This suggests that there is something that triggers MKL linking when building the package on CI/Conda-build. Since MKL should be configured in PyTorch's CMake, looking at the CMake files distributed by PyTorch, I see something like the followings however this does not give me any further clue.
I think the next step is to find where the MKL configuration is happening in PyTorch cmake files.
|
@mthrok Here is related PR that deals with MKL issue in core: pytorch/pytorch#89359 |
Fixed by #3307 |
馃悰 Describe the bug
Removing conda-forge dependency caused python 3.10 failure in conda-py3.10-cpu MacOS build failure: https://github.com/pytorch/audio/actions/runs/4437499067/jobs/7787275986
That was caused by old mkl version being pinned: CONDA_EXTRA_BUILD_CONSTRAINT=- mkl<=2021.2.0
Removing MKL constraint: Remove mkl in for MacOS builds聽test-infra#3896
creates a side effect of new dependencies being added in torchaudio:
blas=*=openblas
fails since torch is build with mkl:https://github.com/pytorch/test-infra/actions/runs/4473835951/jobs/7861672859
Related issues:
#2784
pytorch/pytorch#62424
cc @ezyang @malfet @seemethere @mthrok
Versions
nightly
The text was updated successfully, but these errors were encountered: