Disable OpenMP on mac (#2431)
Summary: A couple of weeks ago we started to see OpenMP not found error on macOS CI. From https://github.com/pytorch/audio/issues/2404, we install OpenMP from brew, and build passes, but unit tests are seg-faulting ever since. https://app.circleci.com/pipelines/github/pytorch/audio/10825/workflows/c0ecae99-d409-4df2-ab91-9bcb126c309d/jobs/671518 The failing test uses `torchaudio.functional.filitfilt`, which uses [OpenMP for parallel execution](https://github.com/pytorch/audio/blob/6057d3cf1c2f3a4c5072a3853a021bb8b4ce61f7/torchaudio/csrc/lfilter.cpp#L20). This commit reverts https://github.com/pytorch/audio/issues/2404 and disables OpenMP for macOS builds and tests. Pull Request resolved: https://github.com/pytorch/audio/pull/2431 Reviewed By: atalman Differential Revision: D36819141 Pulled By: mthrok fbshipit-source-id: 824300866a55f8b029d21649dc96cd80ae2ff697
Showing
Please register or sign in to comment