Skip to content

Bump lightgbm from 3.3.5 to 4.0.0#442

Closed
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/pip/lightgbm-4.0.0
Closed

Bump lightgbm from 3.3.5 to 4.0.0#442
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/pip/lightgbm-4.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Jul 25, 2023

Bumps lightgbm from 3.3.5 to 4.0.0.

Release notes

Sourced from lightgbm's releases.

v4.0.0

Changes

This release contains all previously-unreleased changes since v3.3.1 over 1.5 years ago (link).

Summary of improvements:

  • totally-rewritten CUDA implementation, and more operations in the CUDA implementation performed on the GPU
  • quantized training can be used for greatly improved training speeds on CPU (paper link)
  • support for C++17
  • Python package:
    • now uses scikit-build-core (link) as its build backend
    • manylinux_2_28 Linux wheels now support GPU (OpenCL-based, not CUDA) build automatically... just pip install lightgbm then pass {"device": "gpu"} in params (thanks @​jgiannuzzi!)
    • much more use of inline type hints, exported with py.typed so any code using LightGBM can benefit
    • support for Python 3.10, 3.11
    • support for pandas nullable types
    • configurable threshold (lgb.early_stopping(..., min_delta=n)) for how much eval metrics must improve to be considered "improved" for early stopping
    • custom objective functions in Dask
    • scikit-learn is no longer a required dependency
    • all callbacks are now pickleable (for better interoperability with e.g. ray, Dask) (thanks @​Yard1!)
  • R package:
    • efficient support for more data types in prediction, like dgCMatrix and dsparseMatrix (thanks @​david-cortes!)
    • much more idomatic interface... e.g. support for saveRDS() and readRDS() for Booster, print() and summary() methods for Dataset (thanks @​david-cortes!)
    • various bug fixes related to multiple competing ways to provide parameters
    • support for R 4.2, 4.3

Summary of breaking changes:

  • Python package:
    • dropped most testing, promise of support for Python 3.6 (although it should still technically be installable)
    • dropped support for macOS Mojave (10.14)
    • made many functions and class attributes private, including significantly reducing what is pulled in by from lightgbm import *
    • removed setup.py, pip install --install-optiion supporrt
    • remove support for pip install --install-option (to work with newer pip, see pypa/pip#11358)
    • dropped support for installation with MSBUild.exe ... that now requires compiling lib_lightgbm.dll separately and then building a wheel that bundles it
  • R package:
    • dropped support for Solaris
    • removed most support for passing parameters through ...
    • removed lgb.unloader()
    • switched to predict(newdata, type = ...) in predict(), for consistency with base R and most other machine learning projects

💡 New Features

... (truncated)

Commits
  • d73c6b5 Release v4.0.0 (#5952)
  • 84c657e [python-package] avoid data_has_header check in predict() (#5970)
  • 28e0e6f [c++] virtual destructor for gradient discretizer (#5965)
  • 7140396 [docs] fix broken link to contributor GitHub account (#5959)
  • 99ac1ef [docs] add versionadded notes for v4.0.0 features (#5948)
  • d9c7c72 [ci] [python-package] Add CI job testing compatibility with oldest possible v...
  • 32bd71e [ci] add Python 3.11 test coverage (#5922)
  • 2b74e9f [ci] increase valgrind timeout to 6 hours (#5953)
  • e4658e1 [docs] Add scikit-learn for intersphinx (fixes #5954) (#5956)
  • 9f78cce move LightGBM-vendored json11 into a LightGBM-specific namespace (fixes #5944...
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 25, 2023
@dependabot dependabot bot force-pushed the dependabot/pip/lightgbm-4.0.0 branch 2 times, most recently from 35f4f3e to 91853b2 Compare July 31, 2023 20:23
Bumps [lightgbm](https://github.com/microsoft/LightGBM) from 3.3.5 to 4.0.0.
- [Release notes](https://github.com/microsoft/LightGBM/releases)
- [Commits](lightgbm-org/LightGBM@v3.3.5...v4.0.0)

---
updated-dependencies:
- dependency-name: lightgbm
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/lightgbm-4.0.0 branch from 91853b2 to 6aef198 Compare August 1, 2023 02:59
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Sep 13, 2023

Superseded by #492.

@dependabot dependabot bot closed this Sep 13, 2023
@dependabot dependabot bot deleted the dependabot/pip/lightgbm-4.0.0 branch September 13, 2023 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants