Граф коммитов

3601 Коммитов

Автор SHA1 Сообщение Дата
James Lamb b74528f3f7
[ci] upgrade to GoogleTest v1.14.0 (fixes #5976) (#5981) 2023-12-28 09:27:42 -06:00
James Lamb 4588d648f1
[R-package] remove readRDS.lgb.Booster() and saveRDS.lgb.Booster() (#6246) 2023-12-22 14:30:37 -06:00
James Lamb 051eb22cb4
[ci] [R-package] speed up valgrind job (#6237) 2023-12-22 14:29:07 -06:00
James Lamb 1bd3d7e350
[ci] [docs] add Oliver to CODEOWNERS (#6247) 2023-12-22 09:21:36 -06:00
James Lamb aa774f38f8
bump development version to 4.2.0.99 (#6241) 2023-12-21 13:00:08 -06:00
Arun d3b12f457d
[docs] Fix small typo and grammar in docs (#6245) 2023-12-21 12:59:55 -06:00
James Lamb 0a9a6bbf6d
release v4.2.0 (#6191) 2023-12-20 22:28:43 -06:00
James Lamb 69e3c941e5
[ci] [R-package] allow more possibly-lost warnings from valgrind (#6233) 2023-12-19 11:19:10 -06:00
shiyu1994 bed9f3ff6d
[ci] Upgrade Azure VMSS to use Mariner Linux (#6222)
* Update .vsts-ci.yml for Azure Pipelines

Upgrade Azure VM Scale Set to use Mariner (Azure Linux) systems.

* Update .vsts-ci.yml

* Update .vsts-ci.yml

* Update .vsts-ci.yml

* Update .vsts-ci.yml

* Update .vsts-ci.yml

* upgrade clang to clang-17

* add -y in apt install

* update name of mariner agent pool

* fix clang 17 compiler name

* apt update before install clang 17

* update libomp version for clang 17

* use clang-17 only for Mariner agents

* fix CXX and CC
2023-12-20 01:18:51 +08:00
June Liu 074b3e8855
Add msvc conformance check (#6234) 2023-12-18 21:20:17 -06:00
Oliver Borchert 2dfb9a4047
[python-package] Allow to pass Arrow table for prediction (#6168) 2023-12-13 21:35:46 -06:00
June Liu 6fc80528f1
fix errors from MSVC '/permissive-' mode (fixes #6230) (#6232) 2023-12-12 22:06:28 -06:00
Oliver Borchert 522f0f07b0
[python-package] Add tests for passing Arrow arrays with empty chunks (#6210) 2023-12-10 11:29:04 -06:00
James Lamb 1548b42bac
[R-package] [c++] add tighter multithreading control, avoid global OpenMP side effects (fixes #4705, fixes #5102) (#6226) 2023-12-07 17:03:16 -06:00
José Morales e797985227
[python-package] take shallow copy of dataframe in predict (fixes #6195) (#6218) 2023-12-07 08:54:18 -06:00
James Lamb 4aba4fc132
[R-package] change CRAN maintainer (#6224) 2023-12-06 12:56:27 -06:00
Oliver Borchert d84582b746
Fix null handling for Arrow data (#6227) 2023-12-06 10:18:28 -06:00
Oliver Borchert f5b6bd60d9
[python-package] Allow to pass Arrow table and array as init scores (#6167) 2023-12-04 13:26:55 -06:00
James Lamb 5083df15c6
[docs] remove links to Laurae++ site (#6193) 2023-11-30 19:07:33 -06:00
James Lamb 848e76c3d6
[R-package] use safer pattern for error formatting (fixes #6212) (#6216) 2023-11-29 22:33:46 -06:00
shiyu1994 2ee3ec84b7
[python-package] fix libpath.py (#6192) 2023-11-24 23:24:44 -06:00
david-cortes cd36ffeaed
[R-package] Fix inefficiency in retrieving pointers (#6208) 2023-11-24 22:48:52 -06:00
Oliver Borchert 516bde9501
[python-package] Allow to pass Arrow array as groups (#6166) 2023-11-22 15:50:31 -06:00
James Lamb bc6942226e
[CUDA] fix typo in error message (#6207) 2023-11-22 14:15:11 -06:00
James Lamb d9a4cf498c
[python-package] ignore mypy errors related to ctypes string buffers (#6198) 2023-11-22 12:36:21 -06:00
James Lamb 18dbd65e57
[python-package] consolidate pandas-to-numpy conversion code (#6156) 2023-11-15 22:10:54 -06:00
James Lamb e63e54ace0
[docs] reduce redirects in docs links (#6181) 2023-11-13 20:26:35 -06:00
James Lamb 694e41e4a3
[R-package] standardize naming of internal functions (#6179) 2023-11-13 12:26:44 -06:00
Oliver Borchert deb70773b8
[python-package] Allow to pass Arrow array as weights (#6164) 2023-11-13 12:03:58 -06:00
david-cortes 501e6e62fe
[python-package] Accept numpy generators as `random_state` (#6174) 2023-11-08 22:56:08 -06:00
James Lamb 5e90255ee7
[R-package] remove unreachable code (#6180) 2023-11-08 13:22:37 -06:00
James Lamb aeafccfbfb
[python-package] fix access to Dataset metadata in scikit-learn custom metrics and objectives (#6108) 2023-11-07 15:01:52 -06:00
Oliver Borchert b7f6311f27
[python-package] Allow to pass Arrow array as labels (#6163) 2023-11-07 12:14:09 -06:00
James Lamb 16004228e7
[docs] fix broken links (#6161) 2023-11-06 11:59:01 -06:00
James Lamb 72e8106d3b
allow new files in include/LightGBM (#6177) 2023-11-06 09:59:58 -06:00
david-cortes 4546a8fded
[R-package] Use `cat()` instead of `print()` for metrics and callbacks (#6171) 2023-11-02 07:36:03 -05:00
Oliver Borchert 3405ee82b9
[python-package] Allow to pass Arrow table as training data (#6034) 2023-11-01 08:21:48 -05:00
James Lamb fcf76bceb9
[ci] resolve warning in tests (#6154) 2023-10-26 12:58:21 -05:00
Oliver Borchert 2d358d5d20
[ci] use `mamba` instead of `conda` in macOS and Linux CI jobs (#6140) 2023-10-25 09:48:42 -05:00
James Lamb 8ed371cee4
set explicit number of threads in every OpenMP `parallel` region (#6135) 2023-10-09 20:05:51 -05:00
James Lamb 992f505665
factor out uses of omp_get_num_threads() and omp_get_max_threads() outside of OpenMP wrapper (#6133) 2023-10-08 22:43:49 -05:00
James Lamb ad0255188c
remove unnecessary allocations in HistogramSumReducer (#6132) 2023-10-08 20:35:08 -05:00
shiyu1994 f901f47141
[CUDA] CUDA Quantized Training (fixes #5606) (#5933)
* add quantized training (first stage)

* add histogram construction functions for integer gradients

* add stochastic rounding

* update docs

* fix compilation errors by adding template instantiations

* update files for compilation

* fix compilation of gpu version

* initialize gradient discretizer before share states

* add a test case for quantized training

* add quantized training for data distributed training

* Delete origin.pred

* Delete ifelse.pred

* Delete LightGBM_model.txt

* remove useless changes

* fix lint error

* remove debug loggings

* fix mismatch of vector and allocator types

* remove changes in main.cpp

* fix bugs with uninitialized gradient discretizer

* initialize ordered gradients in gradient discretizer

* disable quantized training with gpu and cuda

fix msvc compilation errors and warnings

* fix bug in data parallel tree learner

* make quantized training test deterministic

* make quantized training in test case more accurate

* refactor test_quantized_training

* fix leaf splits initialization with quantized training

* check distributed quantized training result

* add cuda gradient discretizer

* add quantized training for CUDA version in tree learner

* remove cuda computability 6.1 and 6.2

* fix parts of gpu quantized training errors and warnings

* fix build-python.sh to install locally built version

* fix memory access bugs

* fix lint errors

* mark cuda quantized training on cuda with categorical features as unsupported

* rename cuda_utils.h to cuda_utils.hu

* enable quantized training with cuda

* fix cuda quantized training with sparse row data

* allow using global memory buffer in histogram construction with cuda quantized training

* recover build-python.sh

enlarge allowed package size to 100M
2023-10-08 23:25:46 +08:00
James Lamb 3d9ada7657
[ci] [R-package] enforce more {lintr} checks (#6130) 2023-10-08 09:42:54 -05:00
José Morales b793cd821c
ignore unknown parameters when loading from model file (#6126) 2023-10-06 22:43:40 -05:00
James Lamb 8f577de01f
fix compiler warnings for CPP tests (#6124) 2023-10-06 12:11:53 -05:00
James Lamb 3c7e38be27
[ci] [R-package] test against R 4.3 on Windows (#6061) 2023-10-06 08:21:32 -05:00
James Lamb d45dca702e
[python-package] reorganize early stopping callback (#6114) 2023-10-05 12:45:51 -05:00
James Lamb f175cebd2d
[python-package] simplify Dataset._compare_params_for_warning() (#6120) 2023-10-02 23:08:32 -05:00
James Lamb 63a882b740
[CUDA] drop CUDA 10 support, start supporting CUDA 12 (fixes #5789) (#6099) 2023-09-30 08:34:50 -05:00