GBDTMO icon indicating copy to clipboard operation
GBDTMO copied to clipboard

GBDTMO crash in Google colab (see simple example)

Open AlexiaJM opened this issue 3 years ago • 6 comments

https://colab.research.google.com/drive/1m_QXVbHbeoho5tF9TUYq6R-PSz3536EU?usp=sharing

AlexiaJM avatar Jan 29 '22 14:01 AlexiaJM

Please try to degrade numpy. When numpy<=1.19.0, it should be fine. When the version is higher, the interface between numpy and c++ has some problems.

zzd1992 avatar Jan 30 '22 14:01 zzd1992

It still crash, see the colab. It now installs numpy==1.18.0 before everything else.

AlexiaJM avatar Jan 30 '22 15:01 AlexiaJM

Could you show me the system environments? Based on previous feedback, using anaconda leads error for the multiprocessing module. So it's better to use the native python environment.

And how can I see the detailed traceback in your colab?

zzd1992 avatar Jan 31 '22 08:01 zzd1992

I added 'pip list' to show all installed Python packages in the colab and it doesn't seem to have anaconda installed. It's native python.

There's no way to log the error it seems, but I can tell you that it crashes at the 'booster.set_data((x_train, y_train), (x_valid, y_valid))'.

AlexiaJM avatar Jan 31 '22 18:01 AlexiaJM

Outside colab, the error still happens and it returns a Segmentation fault.

AlexiaJM avatar Jan 31 '22 19:01 AlexiaJM

We don't have enough information to debug. I guess this is caused by the version of libraries. numba and numpy are the main dependencies of this project. Please try numba==0.54.1 and numpy==1.19.0. This works well in my own device.

zzd1992 avatar Feb 02 '22 14:02 zzd1992