Skip to content

Update LightGBM to 4.5.0 #7320

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

Closed
boneatjp opened this issue Nov 20, 2024 · 5 comments · Fixed by #7431
Closed

Update LightGBM to 4.5.0 #7320

boneatjp opened this issue Nov 20, 2024 · 5 comments · Fixed by #7431
Assignees
Labels
blocking Marks issues that we want to fast track in order to unblock other important work lightgbm Bugs related lightgbm
Milestone

Comments

@boneatjp
Copy link

System Information (please complete the following information):

  • OS & Version: Windows 11 Pro
  • ML.NET Version: v4.0.0
  • .NET Version: .NET9

Describe the bug
Since ML.NET 4.0 uses LightGBM 3.3.5, I install LightGBM v4.5.0 by NuGet, but still having a problem with that version.

To Reproduce
Steps to reproduce the behavior:

  1. Install ML.NET by NuGet
  2. Install LightGBM v4.5.0
  3. Try run
  4. Image

It has been a problem using LightGBM v4.5.0 with ML.NET. Releasing v4.0, I hoped to go better with LightGBM v4.5.0, well, no progress has been done, I guess. Is this something that you don't care about? Well, I think I've already reported this problem but not getting any efort.

I wish someone check this problem and if those of you working on ML.NET sticks with LightGBM v3.3.5 explane why LihgtGBM v4.5.0 won't be supported with the latest version of ML.NET.

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged label Nov 20, 2024
@michaelgsharp
Copy link
Member

@boneatjp LightGBM 4.5.0 will be supported, they just made some breaking changes we haven't fixed on our end yet.

I'll leave this issue open, but change it to reflect that we will be updating to 4.5.0 this release.

@michaelgsharp michaelgsharp changed the title Is there any problem with LightGBM v4.5.0 Update LightGBM to 4.5.0 Mar 10, 2025
@michaelgsharp michaelgsharp added this to the ML.NET 5.0 milestone Mar 10, 2025
@michaelgsharp michaelgsharp added lightgbm Bugs related lightgbm and removed untriaged New issue has not been triaged labels Mar 10, 2025
@boneatjp
Copy link
Author

Well, thanks for working on LightGBM 4.5.0. However, with ML.NET 5.0.0-preview.1.25127.4 and LightGBM 4.5.0 ends up with an error
Image
I think it is better but not yet, I guess.

@andreak-sdl
Copy link

Since there is a known vulnerability in LightGBM <= 4.5.0 (see microsoft/LightGBM#6750), it would be good if the reference is updated to 4.6.0, which fixes the problem. We also tried updating LightGBM to version 4.6.0 manually, but ran into access violations when using it with the .net wrapper. As the Severity of this vulnerability is flagged as high, that might put some additional priority on the matter.

@boneatjp
Copy link
Author

Thanks for checking. I've tried with LightGBM 4.6.0. It won't change a bit. Hope things go better in the future.

@ericstj ericstj marked this as a duplicate of #7430 Mar 31, 2025
@ericstj ericstj added the blocking Marks issues that we want to fast track in order to unblock other important work label Mar 31, 2025
@andreak-sdl
Copy link

Thanks for taking care of this! Is there any estimation on when this fix will be released? Will it be backported to 4.0.x or only be available for the 5.0. version of ML.NET?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocking Marks issues that we want to fast track in order to unblock other important work lightgbm Bugs related lightgbm
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants