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

[fix] fix quantized training (fixes #5982) (fixes #5994) #6092

Merged
merged 5 commits into from Sep 12, 2023

Conversation

shiyu1994
Copy link
Collaborator

@shiyu1994 shiyu1994 commented Sep 12, 2023

This is to fix bugs in the CPU version of quantized training. I just missed some code when merging from https://github.com/shiyu1994/LightGBM/tree/cdd3bbddb02559a9589095220c84c55b48dffac4, which causes serious bugs.

Sorry for merging the quantized training PR too hasty without a careful check.

I've tested and this PR should fix #5982 and #5994, and probably #5868 (which needs to be confirmed by the results from test_dask.py in ci jobs).

@jameslamb jameslamb changed the title [fix] fix quantized training [fix] fix quantized training (fixes #5982) (fixes #5994) Sep 12, 2023
Copy link
Collaborator

@jameslamb jameslamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Just one small suggestion about a missing doc element.

src/treelearner/leaf_splits.hpp Show resolved Hide resolved
@shiyu1994 shiyu1994 merged commit a92bf37 into master Sep 12, 2023
41 checks passed
@shiyu1994 shiyu1994 deleted the fix-quantized-training branch September 12, 2023 17:06
@arya1030
Copy link

arya1030 commented Oct 3, 2023

lightgbm.basic.LightGBMError: Check failed: (best_split_info.left_count) > (0)
Has the bug in the GPU version been fixed?
And are there any plans to fix it?

Copy link

github-actions bot commented Jan 3, 2024

This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Quantized training fails when a model is too complex
4 participants