dmlc / treelite

Universal model exchange and serialization format for decision tree forests

Home Page:https://treelite.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[CI] Figure out why pytest is collecting fewer tests on MacOS platform

hcho3 opened this issue · comments

In https://dev.azure.com/hcho3/treelite/_build/results?buildId=927&view=results, pytest collected 397 tests on Linux but only 85 items on MacOS. So some unit tests are not being run on MacOS. I need to figure out the root cause of the discrepancy.

When XGBoost and LightGBM are installed from pip, we get a conflict between Homebrew's libomp and Conda's llvm-openmp and get an undefined behavior and random crashes. Switching to installing XGBoost and LightGBM from Conda fixes this problem.