2020-04-30 03:11:01 +03:00
|
|
|
# Troubleshooting Common Problems:
|
|
|
|
|
2020-08-18 02:57:52 +03:00
|
|
|
### Running PyTorch on GPU:
|
|
|
|
|
|
|
|
In order to run Hummingbird on PyTorch with GPU, you will need to `pip uninstall torch` and re-install pytorch using the CUDA version of your machine.
|
2020-04-30 03:11:01 +03:00
|
|
|
|
2020-06-12 20:06:51 +03:00
|
|
|
### Installation Issues with External Libraries:
|
2020-04-30 03:11:01 +03:00
|
|
|
|
|
|
|
|
2020-06-12 20:06:51 +03:00
|
|
|
#### MacOS
|
|
|
|
* *xgboost installation:* Ex: `./xgboost/build-python.sh: line 21: cmake: command not found`
|
|
|
|
* Install `cmake` (Ex: `brew install cmake`).
|
|
|
|
|
|
|
|
|
|
|
|
* *lightgbm installation:* `OSError: dlopen(lib_lightgbm.so, 6): Library not loaded: ...libomp.dylib`
|
2020-05-07 21:40:39 +03:00
|
|
|
* There is a fixed issue with lgbm and MacOS. See [LightGBM#1369](https://github.com/Microsoft/LightGBM/issues/1369).
|
2020-06-12 20:06:51 +03:00
|
|
|
* see also our [build file](https://github.com/microsoft/hummingbird/blob/master/.github/workflows/pythonapp.yml) with `brew install libomp`
|
|
|
|
|
2020-05-07 21:40:39 +03:00
|
|
|
|
2020-06-12 20:06:51 +03:00
|
|
|
#### Windows
|
|
|
|
* *Pytorch installation:* ` ERROR: Could not find a version that satisfies the requirement torch>=1.4.0`).
|
2020-05-07 21:40:39 +03:00
|
|
|
* Install PyTorch manually by following the instructions on PyTorch [website](https://pytorch.org/).
|