hummingbird/TROUBLESHOOTING.md

22 строки
1018 B
Markdown
Исходник Обычный вид История

# Troubleshooting Common Problems:
### 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.
### Installation Issues with External Libraries:
#### 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-11-04 01:55:10 +03:00
* see also our [build file](https://github.com/microsoft/hummingbird/blob/main/.github/workflows/pythonapp.yml) with `brew install libomp`
2020-05-07 21:40:39 +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/).