Skip to content
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

Categorical features not working properly on gpu #3645

Open
Tracked by #5153
MrRobot2211 opened this issue Dec 12, 2020 · 0 comments
Open
Tracked by #5153

Categorical features not working properly on gpu #3645

MrRobot2211 opened this issue Dec 12, 2020 · 0 comments
Labels

Comments

@MrRobot2211
Copy link

I'm encountering an issue on 3.0.0 on GPU. I dropped my categorical columns because I was concerned that was the cause (looking at another issue on the GitHub).

But, I still get the error, even though I might hit it less frequently?

Also, I seem to hit the error quite randomly, so for instance, this set of parameters when passed to the train class created the error:

{'n_estimators': 70, 'learning_rate': 0.5087241341951028, 'objective': 'multiclass', 'num_classes': 12, 'num_leaves': 18, 'device': 'GPU', 'verbose': -1}

But, these two did not:

{'n_estimators': 97, 'learning_rate': 0.25286309514637206, 'objective': 'multiclass', 'num_classes': 12, 'num_leaves': 15, 'device': 'GPU', 'verbose': -1}

{'n_estimators': 169, 'learning_rate': 0.6275184529172673, 'objective': 'multiclass', 'num_classes': 12, 'num_leaves': 20, 'device': 'GPU', 'verbose': -1}

And the exact error that I recieved:

Trial 20 failed because of the following error: LightGBMError('Check failed: (best_split_info.left_count) > (0) at /tmp/pip-install-aw2q0tg1/lightgbm/compile/src/treelearner/serial_tree_learner.cpp, line 630 .\n')

Just, for reference, to show my original function call:

clf = lightgbm.train(params=params, train_set=train_dataset)

Originally posted by @chutcheson in #2742 (comment)

@jameslamb jameslamb added the bug label Dec 20, 2020
@jameslamb jameslamb mentioned this issue Apr 14, 2022
60 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants