-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] LightGBMError: bin size 257 cannot run on GPU #3339
Comments
I also have the same problem. Is there any way to solve this problem? |
sorry for missing this issue.
|
I hit this randomly for no reason with categorical_features as explicitly empty. Has nothing to do with that. The test that hit this normally has passed 1000 times before.
The number of bins was 255 and there are no categorical features as explicitly chosen. |
Same issue happened for me:
|
Some of the values are categorical in my case but not as many as 257 different ones, combined with @pseudotensor comment, I assume this is something else. |
I am also getting the same error.
|
What causes this error?Is the bin_size of a categorical feature bigger than the max_bin that causes the error? Or it is because the memory is not enough. And the model can work on CPU. Thank you! |
lightgbm.basic.LightGBMError: bin size 407 cannot run on GPU |
this is a bug for lightGBM run on GPU,when use CPU,it is OK. SO ,LGBM on GPU need improve. |
Same error encountered, any update? |
Same here.
|
It seems that I've identified the cause of the error: The calculation method for num_total_bin used during Exclusive Feature Bundling Line 134 in 665c473
LightGBM/include/LightGBM/feature_group.h Line 68 in 665c473
|
Same issue here. Can we prioritize the fixing MR? |
* solve 'bin size 257 cannot run on GPU #3339' #3339 (comment) * fix typo LeafIndex -> leaf_index --------- Co-authored-by: shiyu1994 <[email protected]> Co-authored-by: James Lamb <[email protected]>
I also encountered the same error in this situation in fold 3th (total 5 fold), when my category characteristic had many NAN values. But after i use or can setup |
I'm getting the following error while running the latest LightGBM GPU using these params:
on Google Colab using this Kaggle dataset: https://www.kaggle.com/c/ieee-fraud-detection. I'm dropping all the categorical variables:
LightGBMError: bin size 257 cannot run on GPU
The text was updated successfully, but these errors were encountered: