Segmentation error on MacOS because of OpenMP

Dear PyTorch community

There is a severe bug reported in Segmentation error for torch==2.2.1 on MacOs · Issue #121101 · pytorch/pytorch · GitHub that causes segfaults basically after the import statement(s), so worst case for users.
Because the underlying problem stems from different OpenMP runtime libraries (and the fact that PyTorch always ships it without name mangling), this merits some community coordination (lightGBM, scikit-learn and XGBoost all use OpenMP), please refer to [python-package] SegFault on MacOS when pytorch is installed · Issue #6595 · microsoft/LightGBM · GitHub.

It would be great if you could participate in the discussion in the linked issues.

Best
Christian