Anyone got luck trying to install GPU support for lightgbm on Google Collab using the Notebooks there ?
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
Most of it was following the documentation provided here, with two small tweaks to make it work on Google Colab.
Since the instances are renewed after 12 hours of usage, I post this at the beginning of my notebook to reinstall GPU support with lightgbm :
make sure you followed the installation steps correctly
after this you have to execute the setupfile in LightGBM folder
Once thats done , you're all set. ps: make sure you have cmake installed, if not just
Very simple: just run
or
Remember to enable GPU support in your notebook and add
'device':'gpu'
in the lightgbm setting. And don't forget to uninstall the version of lightgbm that don't support gpu version first.