Hello,
I am new to the forum and I have run into a problem compiling XGBoost with GPU support on MacOS High Sierra 10.13.6. My compilation exits successfully and I am able to invoke XGBoost from Python 3, but only as a CPU version. The moment I set tree_method='gpu_hist'
in Python I get this error at run time:
XGBoostError: b'[23:00:00] src/learner.cc:186: XGBoost version not compiled with GPU support.\n\nStack
trace returned 1 entries:\n[bt] (0) 0 libxgboost.dylib 0x0000000113edff57
dmlc::StackTrace[abi:cxx11](unsigned long) + 119\n\n'
Which is complaining that XGBoost was not compiled with GPU support! I tried all sorts of cmake configurations, with this being the most verbose:
cmake .. -DUSE_CUDA=ON -DCUDA_SDK_ROOT_DIR=/Developer/NVIDIA/CUDA-9.2 -
DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda -DUSE_NCCL=ON -
DNCCL_INCLUDE_DIR=/usr/local/nccl_2.3.7-1+cuda10.0_x86_64/include -
DNCCL_LIBRARY=/usr/local/nccl_2.3.7-1+cuda10.0_x86_64/library -DGPU_COMPUTE_VER='35 61'
My eGPU is NVIDIA 1080 Ti. I used the recursive clone from git to download the latest XGBoost (0.81).
Can you please help me?