Skip to content

Commit

Permalink
model: xgboost: Install libomp in CI and mention in docs
Browse files Browse the repository at this point in the history
Related: intel#1141
Signed-off-by: John Andersen <johnandersenpdx@gmail.com>
  • Loading branch information
pdxjohnny committed Jul 6, 2021
1 parent f46da62 commit fed3edc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,8 @@ jobs:
pip install -U pip setuptools wheel
pip install -e .[dev]
dffml service dev install -skip model/daal4py
# XGBoost requires libomp on OSX
brew install libomp
# Remove dataclasses. See https://github.com/intel/dffml/issues/882
python scripts/tempfix/pytorch/pytorch/46930.py
- name: Test
Expand Down
9 changes: 9 additions & 0 deletions model/xgboost/dffml_model_xgboost/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"""
**OSX Installation**
XGBoost on OSX requires libomp
.. code-block:: console
$ brew install libomp
"""

0 comments on commit fed3edc

Please sign in to comment.