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

188 Коммитов

Автор SHA1 Сообщение Дата
James Lamb 4f47547c88
[CUDA] consolidate CUDA versions (#5677)
* [ci] speed up if-else, swig, and lint conda setup

* add 'source activate'

* python constraint

* start removing cuda v1

* comment out CI

* remove more references

* revert some unnecessaary changes

* revert a few more mistakes

* revert another change that ignored params

* sigh

* remove CUDATreeLearner

* fix tests, docs

* fix quoting in setup.py

* restore all CI

* Apply suggestions from code review

Co-authored-by: shiyu1994 <shiyu_k1994@qq.com>

* Apply suggestions from code review

* completely remove cuda_exp, update docs

---------

Co-authored-by: shiyu1994 <shiyu_k1994@qq.com>
2023-02-01 11:27:52 +08:00
James Lamb d7ea26922f
[ci] get clang-15 from bookworm repository (fixes #5688) (#5689) 2023-01-30 19:36:01 -06:00
James Lamb c2d2c99f44
[ci] run r-package Linux jobs in containers (#5638) 2023-01-10 13:21:15 -06:00
James Lamb 61e464bc02
[ci] [R-package] fix clang 15 warning about unqualified calls (fixes #5661) (#5662) 2023-01-05 13:04:45 -06:00
James Lamb 3d33c756bd
[ci] automatically cancel GitHub Actions runs for outdated commits (#5651) 2022-12-29 10:29:19 -06:00
James Lamb 4131ef8fe3
[ci] allow ubuntu-latest to float for some GitHub Actions jobs (#5644) 2022-12-28 12:27:45 -06:00
James Lamb a2ae6b95fc
[ci] make GitHub Actions branch protection stricter (fixes #5501) (#5645) 2022-12-27 20:53:35 -06:00
Nikita Titov a17489328c
[ci] Use Ubuntu 22.04 as `ubuntu-latest` at CI (fixes #5186) (#5288) 2022-12-15 09:05:45 -06:00
James Lamb f7e64a8f5d
[ci] update versions of GitHub Actions (#5590) 2022-11-26 22:42:07 -06:00
James Lamb 60c92a969a
[ci] switch from MiKTeX to tinytex on Windows R jobs (fixes #5600) (#5602) 2022-11-24 21:05:23 -06:00
James Lamb 45dd49ec0d
[ci] [R-package] use R 4.2.1 in Windows CI jobs (fixes #4881) (#5503) 2022-10-08 23:45:22 -05:00
James Lamb 82b7d31c78
[ci] run CI on pull requests targeting release/ branches (#5527) 2022-10-08 12:57:14 -05:00
James Lamb dc4794b62f
[ci] test against R 4.2 for macOS and Linux CI jobs (#5484) 2022-09-15 18:39:32 -05:00
James Lamb 8b105ceb68
[R-package] [ci] restore R 3.6 Windows cran CI job (fixes #5036) (#5479) 2022-09-11 23:20:12 -07:00
shiyu1994 be7f321382
[ci][fix] Fix cuda_exp ci (#5438)
* fix cuda_exp ci

* fix ci failures introduced by #5279

* cleanup cuda.yml

* fix test.sh

* clean up test.sh

* clean up test.sh

* skip lines by cuda_exp in test_register_logger

* Update tests/python_package_test/test_utilities.py

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2022-08-29 14:38:04 +08:00
Nikita Titov 27435af67e
[ci] bump CUDA version from `11.7.0` to `11.7.1` at CI (#5442) 2022-08-28 18:53:09 +08:00
Nikita Titov 504ff50dac
[ci] bump CUDA version from `11.6.2` to `11.7.0` at CI (#5287)
Update cuda.yml
2022-08-25 21:20:34 +08:00
James Lamb 5ef46f93e2
[ci] increase valgrind timeout to 5 hours (#5414) 2022-08-11 08:23:48 -05:00
James Lamb 0ebbf1e497
[ci] switch CRAN mirror to RStudio (#5230) 2022-05-22 21:31:31 -05:00
James Lamb b0774151cb
remove support for Solaris (fixes #5216) (#5226) 2022-05-22 09:27:59 +08:00
Nikita Titov 7d89ab403d
Cleanup codeowners (#5215)
* Update CODEOWNERS

* Update CODEOWNERS

* Update CODEOWNERS

* Update CODEOWNERS

* Update CODEOWNERS
2022-05-19 02:14:50 +03:00
James Lamb da9072fde2
[ci] fix git checkout for comment-triggered CI jobs (#5169)
* [ci] fix git checkout for comment-triggered CI jobs

* set locale prior to installing packages

* comment out cuda

* change strategy for setting locale

* comment out R jobs

* comment out more CI jobs

* update locales before installing other packages

* remove unnecessary packages

* add libc6 back

* restore libicu and libssl

* Revert "comment out more CI jobs"

This reverts commit 8fd92144ad.

* uncomment CI jobs

* revert more changes

* more reverting

* remove r_package.yml from diff
2022-05-01 23:22:21 +03:00
James Lamb 3ad26a4996
[ci] fix git checkout for CI jobs (fixes #5151) (#5152) 2022-04-15 05:17:30 +03:00
Nikita Titov 6105ba9d69
[ci] bump CUDA version from `11.5.1` to `11.6.2` at CI (#5149) 2022-04-13 19:03:59 -05:00
James Lamb b462d0a40f
[ci] update to R 4.1.3 and use macOS-latest for R jobs (fixes #4990) (#5137)
* [ci] update to R 4.1.3 and use macOS-latest for R jobs (fixes #4990)

* update Windows version

* update docs env

* simplify r-package config
2022-04-09 22:57:19 -05:00
James Lamb b6cbfeec29
[ci] have no-response bot post as github-actions user (#5136) 2022-04-10 02:32:13 +03:00
James Lamb 3fd291396e
[ci] use lee-dohm/no-response to close stale issues (fixes #5060) (#5120)
* [ci] use lee-dohm/no-response to close stale issues (fixes #5060)

* only run once a day
2022-04-05 19:42:35 -05:00
Nikita Titov db08985480
[R-package] Add missed packages into dependencies list (#5118)
* Update static_analysis.yml

* Update README.md

* Update README.md
2022-04-01 23:07:39 -05:00
david-cortes 33eb03767d
[R-package] Promote number of threads to top-level argument in `lightgbm()` and change default to number of cores (#4972) 2022-03-31 19:58:19 -05:00
shiyu1994 6b56a90cd1
[CUDA] New CUDA version Part 1 (#4630)
* new cuda framework

* add histogram construction kernel

* before removing multi-gpu

* new cuda framework

* tree learner cuda kernels

* single tree framework ready

* single tree training framework

* remove comments

* boosting with cuda

* optimize for best split find

* data split

* move boosting into cuda

* parallel synchronize best split point

* merge split data kernels

* before code refactor

* use tasks instead of features as units for split finding

* refactor cuda best split finder

* fix configuration error with small leaves in data split

* skip histogram construction of too small leaf

* skip split finding of invalid leaves

stop when no leaf to split

* support row wise with CUDA

* copy data for split by column

* copy data from host to CPU by column for data partition

* add synchronize best splits for one leaf from multiple blocks

* partition dense row data

* fix sync best split from task blocks

* add support for sparse row wise for CUDA

* remove useless code

* add l2 regression objective

* sparse multi value bin enabled for CUDA

* fix cuda ranking objective

* support for number of items <= 2048 per query

* speedup histogram construction by interleaving global memory access

* split optimization

* add cuda tree predictor

* remove comma

* refactor objective and score updater

* before use struct

* use structure for split information

* use structure for leaf splits

* return CUDASplitInfo directly after finding best split

* split with CUDATree directly

* use cuda row data in cuda histogram constructor

* clean src/treelearner/cuda

* gather shared cuda device functions

* put shared CUDA functions into header file

* change smaller leaf from <= back to < for consistent result with CPU

* add tree predictor

* remove useless cuda_tree_predictor

* predict on CUDA with pipeline

* add global sort algorithms

* add global argsort for queries with many items in ranking tasks

* remove limitation of maximum number of items per query in ranking

* add cuda metrics

* fix CUDA AUC

* remove debug code

* add regression metrics

* remove useless file

* don't use mask in shuffle reduce

* add more regression objectives

* fix cuda mape loss

add cuda xentropy loss

* use template for different versions of BitonicArgSortDevice

* add multiclass metrics

* add ndcg metric

* fix cross entropy objectives and metrics

* fix cross entropy and ndcg metrics

* add support for customized objective in CUDA

* complete multiclass ova for CUDA

* separate cuda tree learner

* use shuffle based prefix sum

* clean up cuda_algorithms.hpp

* add copy subset on CUDA

* add bagging for CUDA

* clean up code

* copy gradients from host to device

* support bagging without using subset

* add support of bagging with subset for CUDAColumnData

* add support of bagging with subset for dense CUDARowData

* refactor copy sparse subrow

* use copy subset for column subset

* add reset train data and reset config for CUDA tree learner

add deconstructors for cuda tree learner

* add USE_CUDA ifdef to cuda tree learner files

* check that dataset doesn't contain CUDA tree learner

* remove printf debug information

* use full new cuda tree learner only when using single GPU

* disable all CUDA code when using CPU version

* recover main.cpp

* add cpp files for multi value bins

* update LightGBM.vcxproj

* update LightGBM.vcxproj

fix lint errors

* fix lint errors

* fix lint errors

* update Makevars

fix lint errors

* fix the case with 0 feature and 0 bin

fix split finding for invalid leaves

create cuda column data when loaded from bin file

* fix lint errors

hide GetRowWiseData when cuda is not used

* recover default device type to cpu

* fix na_as_missing case

fix cuda feature meta information

* fix UpdateDataIndexToLeafIndexKernel

* create CUDA trees when needed in CUDADataPartition::UpdateTrainScore

* add refit by tree for cuda tree learner

* fix test_refit in test_engine.py

* create set of large bin partitions in CUDARowData

* add histogram construction for columns with a large number of bins

* add find best split for categorical features on CUDA

* add bitvectors for categorical split

* cuda data partition split for categorical features

* fix split tree with categorical feature

* fix categorical feature splits

* refactor cuda_data_partition.cu with multi-level templates

* refactor CUDABestSplitFinder by grouping task information into struct

* pre-allocate space for vector split_find_tasks_ in CUDABestSplitFinder

* fix misuse of reference

* remove useless changes

* add support for path smoothing

* virtual destructor for LightGBM::Tree

* fix overlapped cat threshold in best split infos

* reset histogram pointers in data partition and spllit finder in ResetConfig

* comment useless parameter

* fix reverse case when na is missing and default bin is zero

* fix mfb_is_na and mfb_is_zero and is_single_feature_column

* remove debug log

* fix cat_l2 when one-hot

fix gradient copy when data subset is used

* switch shared histogram size according to CUDA version

* gpu_use_dp=true when cuda test

* revert modification in config.h

* fix setting of gpu_use_dp=true in .ci/test.sh

* fix linter errors

* fix linter error

remove useless change

* recover main.cpp

* separate cuda_exp and cuda

* fix ci bash scripts

add description for cuda_exp

* add USE_CUDA_EXP flag

* switch off USE_CUDA_EXP

* revert changes in python-packages

* more careful separation for USE_CUDA_EXP

* fix CUDARowData::DivideCUDAFeatureGroups

fix set fields for cuda metadata

* revert config.h

* fix test settings for cuda experimental version

* skip some tests due to unsupported features or differences in implementation details for CUDA Experimental version

* fix lint issue by adding a blank line

* fix lint errors by resorting imports

* fix lint errors by resorting imports

* fix lint errors by resorting imports

* merge cuda.yml and cuda_exp.yml

* update python version in cuda.yml

* remove cuda_exp.yml

* remove unrelated changes

* fix compilation warnings

fix cuda exp ci task name

* recover task

* use multi-level template in histogram construction

check split only in debug mode

* ignore NVCC related lines in parameter_generator.py

* update job name for CUDA tests

* apply review suggestions

* Update .github/workflows/cuda.yml

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* Update .github/workflows/cuda.yml

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* update header

* remove useless TODOs

* remove [TODO(shiyu1994): constrain the split with min_data_in_group] and record in #5062

* #include <LightGBM/utils/log.h> for USE_CUDA_EXP only

* fix include order

* fix include order

* remove extra space

* address review comments

* add warning when cuda_exp is used together with deterministic

* add comment about gpu_use_dp in .ci/test.sh

* revert changing order of included headers

Co-authored-by: Yu Shi <shiyu1994@qq.com>
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2022-03-23 10:39:23 +08:00
Nikita Titov eb686a7658
[ci] remove Visual Studio 2017 CI job for R-package (#5079)
* Update r_package.yml

* replace R 4.1 with R 3.6 for VS 2019 build
2022-03-16 22:58:58 -05:00
James Lamb f834cab49a
[ci] update CODEOWNERS (#5063)
* [ci] update CODEOWNERS

* remove chivee from CODEOWNERS
2022-03-13 13:19:53 -05:00
James Lamb de9b6c8630
[ci] temporarily remove R3.6 CRAN CI build (#5049) 2022-03-04 02:35:16 +03:00
Nikita Titov cb8c61e4d3
[python] Start supporting Python 3.10 (#4893)
* Update setup.py

* Update cuda.yml

* Update static_analysis.yml

* Update linkchecker.yml

* Update .appveyor.yml

* Update .vsts-ci.yml

* Update python_package.yml

* Update .vsts-ci.yml

* Update python_package.yml

* Update cuda.yml

* Update static_analysis.yml

* Update linkchecker.yml

* Update .vsts-ci.yml

* Update .appveyor.yml

* re-arange Python version
2022-02-18 03:36:41 +03:00
James Lamb 3500cb67b9
[ci] use conda-forge in Linux and macOS CI jobs (#4953)
* [ci] use conda-forge in CI jobs (fixes #4948)

* comment out more jobs

* try reverting graphviz patch, running more cuda jobs

* get graphviz from PyPI and try removing some patches for r-lintr

* start running appveyor again

* use conda-forge if using conda

* fix commands

* conda install graphviz

* try newer openmp

* pin below openmp 11.x

* focus on gpu task

* trying to narrow down error

* maybe gcc11 is the issue

* start adding other tests back

* pin openmp too

* maybe need to pin to gcc less than 10.x

* pin libgfortran and libstdcxx as well

* pin to gcc 9.3.0

* move constraints up to initial environment

* add all CI jobs back

* try installing python-graphviz separately

* try new lightgbm/vsts-agent image

* fix typo

* test if pinning gcc for linux gpu_source build is still necessary

* ok yes, pinning gcc is necessary

* test if Linux gpu_source works with Python 3.9.6

* no special exception for Linux gpu_source job

* pin to Python 3.9.6 in Linux gpu_source

* try explicitly asking for libstdcxx-ng for every linux build

* swap compilers

* switch compilers back

* revert accidental whitespace change

* comment out CI

* try Linux gpu_source with different Python versions

* Revert "try Linux gpu_source with different Python versions"

This reverts commit f6f63cbb9b.

* Revert "comment out CI"

This reverts commit ece191f01e.

* remove libxml2 install, change CONDA path

* avoid installing conda in rchk job

* empty commit 1

* empty commit 2

* empty commit 3

* empty commit 4

* add more verbose logging around installation of python-graphviz

* empty commit 1

* get mamba info

* get more conda info

* add another mamba info call

* allow for other macOS environments in GHA configuration

* Revert "allow for other macOS environments in GHA configuration"

This reverts commit a3c7a19926.

* get more logs from mamba

* get Build.ArtifactsStagingDirectory

* get more logs and try to force re-installing everything

* clean cache after every step

* remove --update-all and make logs less verbose

* remove more print statements and uncomment jobs

* test if conda-clean issue fixes segfaults for gpu_source

* pin python version for gpu_source

* empty commit 1

* use miniforge instead

* empty commit 1

* Apply suggestions from code review

* bring workarounds back

* remove duplicated graphviz system-wide installation (reverts #4095, #4097, #4238)

* empty commit 1

* empty commit 2

* empty commit 3

* empty commit 4

* empty commit 5

* empty commit 6

* empty commit 7

* empty commit 8

* empty commit 9

* empty commit 10

* empty commit 10

* empty commit 10

* empty commit 10

* empty commit 11

* one more try

* try to downgrade Python version for Linux GPU job

* swap compilers

* Revert "swap compilers"

This reverts commit f04dc27b17.

Co-authored-by: Nikita Titov <nekit94-12@hotmail.com>
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2022-02-11 03:56:35 +03:00
James Lamb 0688f471fc
[ci] upgrade to R 4.1.2 in CI, change approach to macOS-latest R CI builds (fixes #4988) (#4989)
* [ci] manually create symlinks to R entrypoints on macOS (fixes #4988)

* exclude non-R CI jobs

* upgrade to R 4.1.2

* get logs for R install

* pin R 4.1.x jobs to macOS-10.15

* update to R 4.1.2 on Windows

* allow for non-latest macOS builds in GHA configuration

* fix prefix check

* fix config check

* more direct check for mac version

* uncomment other CIs

* update R version in CI job names
2022-01-31 20:45:53 -06:00
Nikita Titov 0075814f02
[ci] bump CUDA version from `11.5.0` to `11.5.1` at CI (#4967)
* Revert "[ci] ignore certificates for kitware apt channel in CUDA jobs (fixes #4646) (#4648)"

This reverts commit 10e0edc453.

* update cuda at CI
2022-01-23 15:39:41 +03:00
Nikita Titov fc4fee09f7
[ci] use -1 for exit code in case of failure (#4939) 2022-01-08 21:23:56 -06:00
Nikita Titov db045f4030
[ci] bump CUDA version from 11.4.2 to 11.5.0 at CI (#4937) 2022-01-09 02:39:22 +03:00
Nikita Titov f47b34f84c
[python] Drop Python 3.6 support (#4891)
* Update .appveyor.yml

* Update .vsts-ci.yml

* Update python_package.yml

* Update setup.py

* Update test.sh
2021-12-18 17:26:45 +03:00
Nikita Titov 90a71b9403
Add support for Visual Studio 2022 (#4889)
* Update .vsts-ci.yml

* Update .vsts-ci.yml

* Update Installation-Guide.rst

* Update install.libs.R

* Update setup.py

* Update r_package.yml

* Update install.libs.R
2021-12-16 00:28:26 +03:00
James Lamb 5fa887bb79
[R-package] [docs] add intro vignette (#3946) (#4775)
* [R-package] [docs] add intro vignette (#3946)

* add 10 test vignettes

* Revert "add 10 test vignettes"

This reverts commit 40fb2e2f19.

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

Co-authored-by: Michael Mayer <mayermichael79@gmail.com>
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2021-11-17 22:15:32 -06:00
James Lamb f39bf5bcf0
[ci] increase timeout for valgrind job to 240 minutes (#4773) 2021-11-06 10:19:35 -05:00
James Lamb 1d0d746e7f
[ci] use wch1/r-debug image in Solaris tests (#4765)
* [ci] use wch1/r-debug image in Solaris tests

* no git in valgrind tests
2021-11-03 12:51:04 -05:00
James Lamb 8deb90948a
[ci] upgrade actions/checkout to v2.4.0 (#4763)
* [ci] upgrade actions/checkout to v2.4.0

* re-create GITHUB_WORKSPACE

* dont update cuda

* actually revert cuda
2021-11-03 18:06:05 +03:00
James Lamb 08ccd4a3fd
[R-package] allow use of custom R executable when building CRAN package (#4754)
* [R-package] allow use of custom R executable building CRAN package

* Update build-cran-package.sh

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2021-10-30 22:31:35 -05:00
James Lamb f6c5574633
[ci] introduce CI jobs that mimic CRAN gcc-ASAN and clang-ASAN tests (fixes #4674) (#4678)
* add jobs mimicking CRAN gcc-ASAN and clang-ASAN

* comment out CI

* fix redirection

* remove unnecessary echo

* Revert "comment out CI"

This reverts commit 899fbb4574.

* remove redundant env variables and update README

* remove inaccurate comment

* change test title

* Revert "Fix ASAN issues with `std::function` usage (#4673)"

This reverts commit 13ed38ca55.

* Revert "Revert "Fix ASAN issues with `std::function` usage (#4673)""

This reverts commit 24c275ba84.

* revert unnecessary change in config order

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2021-10-27 02:25:35 +03:00
shiyu1994 717f037c3a
[docs] Add Tong Wu and Zhiyuan He as code owners (#4717)
* add hzy46 and tongwu-msft as code owners

* fix github link for Zhiyuan He
2021-10-26 16:01:06 +08:00
Nikita Titov a77260f03e
[ci] bump CUDA version from 11.4.0 to 11.4.2 at CI (#4628)
* [ci] bump CUDA version from 11.4.0 to 11.4.2 at CI

* Update cuda.yml
2021-09-26 03:00:59 +03:00
shiyu1994 b1c261a5d3
[ci] Recover running CUDA tests at CI (fixed #4611) (#4621)
Co-authored-by: Yu Shi <shiyu1994@qq.com>
2021-09-23 09:55:35 +08:00
Nikita Titov 2c8bb45b2c
[ci] Stop running CUDA tests at CI (#4611) 2021-09-17 19:48:22 +03:00
Nikita Titov c84900753c
[ci] fix link to LightGBM public e-mail (#4603) 2021-09-09 21:42:11 -05:00
Nikita Titov ba8533c1ee
[docs] add José Morales to repo maintainers (#4563)
* Update CODEOWNERS

* Update FAQ.rst
2021-08-28 12:58:03 -05:00
James Lamb fbbe3cc152
[ci] use flag '--allow-releaseinfo-change' in some 'apt-get update' calls (#4524)
* [ci] prefer 'apt update' to 'apt-get update' in some R builds

* use --allow-releaseinfo-change
2021-08-17 21:13:06 +03:00
James Lamb 86ead2050c
[R-package] use C++ compiler for pre-compile checks on Windows (#4504)
* [R-package] use C++ compiler for pre-compile checks on Windows

* install Matrix in valgrind test

* Add {Matrix} in more places in CI and docs

* use CXX11

* use flags specific to C++11

* missing backtick

Co-authored-by: Nikita Titov <nekit94-12@hotmail.com>
2021-08-14 14:04:12 -05:00
James Lamb 926526c838
[ci] move Solaris and valgrind test steps into scripts (#4503)
* [ci] move Solaris and valgrind test steps into scripts

* Update .github/workflows/r_solaris.yml

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* relatiev paths

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2021-08-10 15:18:37 +03:00
James Lamb 48257d45e5
[ci] Add CI job running rchk on the R package (fixes #4400) (#4449)
* [ci] add CI job running rchk

* try commenting out more stuff

* ignore R internal error

* pipes

* remove PROTECT()

* try removing testthat

* revert temporary testing changes
2021-07-10 16:36:29 +03:00
Nikita Titov b61698f8fc
[ci] bump CUDA version from 11.2.2 to 11.4.0 at CI (#4453) 2021-07-09 14:49:12 +03:00
James Lamb e6a09e0033
[ci] [R-package] increase timeout on valgrind job (#4404) 2021-06-26 15:14:36 +03:00
Nikita Titov d511f1a78a
[ci] Delete lock.yml (#4251) 2021-05-04 21:02:11 +03:00
James Lamb 72d7010b5a
[ci] parallelize R package installs in CI jobs (#4198)
* [ci] parallelize R package installs in CI jobs

* build 2

* build 3

* add ncpus in static_analysis
2021-04-20 16:00:42 +03:00
Nikita Titov 211ef7878f
[ci] run cpp tests at CI (#4166)
* run cpp tests at CI

* Update docs/Installation-Guide.rst

Co-authored-by: James Lamb <jaylamb20@gmail.com>

Co-authored-by: James Lamb <jaylamb20@gmail.com>
2021-04-16 16:22:46 +03:00
Nikita Titov 7ba59567c5
Revert "Stop running CUDA tests at CI (#4167)" (#4172)
This reverts commit 36454a3b74.
2021-04-14 20:09:59 -05:00
James Lamb 5a678f6a9a
[ci] Add debian-clang-devel CI job for the R package (#4164)
* [ci] Add debian-clang-devel CI job for the R package

* [ci] Add debian-clang-devel CI job for the R package

* fixes

* fix test

* update cran-comments

* re-trigger CI

* catch warnings and notes

* fail with only a NOTE

* uncomment CI code

* remove env vars in windows tests

* Update R-package/cran-comments.md

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

Co-authored-by: StrikerRUS <nekit94-12@hotmail.com>
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2021-04-11 21:06:11 -05:00
Nikita Titov 36454a3b74
Stop running CUDA tests at CI (#4167) 2021-04-09 17:10:39 -05:00
Nikita Titov 9388b2ecc1
[ci] use GitHub Actions to re-generate R configure (#4140)
* use GitHub Actions to re-generate R configure

* Update R-package/README.md

Co-authored-by: James Lamb <jaylamb20@gmail.com>

Co-authored-by: James Lamb <jaylamb20@gmail.com>
2021-03-31 14:37:40 +03:00
James Lamb 91f2a0147c
update CODEOWNERS (#4127)
* update CODEOWNERS

* include R build scripts
2021-03-28 10:43:36 -05:00
Nikita Titov 69779e6a6b
[ci] build CRAN R-package on Azure with every commit and attach it to releases (#4117)
* build CRAN R-package on Azure with every commit and attach to releases

* test CI

* fix path

* revert CI test
2021-03-27 19:47:33 +03:00
Nikita Titov a45ed16fe8
[ci] bump CUDA version and pull dockers from NVIDIA NGC (#4112)
* bump CUDA version and pull dockers from NVIDIA NGC

* Update cuda.yml
2021-03-26 08:59:35 -05:00
Nikita Titov e5c3f7e755
[docs] add Yu Shi to repo maintainers (#4060)
* Update FAQ.rst

* Update CODEOWNERS
2021-03-10 20:30:11 -06:00
Nikita Titov 8d0669fb4d
set 'pending' commit status for R Solaris optional workflow (#4061) 2021-03-10 18:29:00 -06:00
James Lamb 13680d89a1
[ci] add CMake + R 3.6 test back (fixes #3469) (#4053)
* [ci] add CMake + R 3.6 test back (fixes #3469)

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* Update .ci/test_r_package_windows.ps1

* -Wait and remove rtools40

* empty commit

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2021-03-09 18:54:01 -06:00
James Lamb 3356778f13
[docs] simplify bug report template (#3921)
* [docs] simplify bug report template

* Update .github/ISSUE_TEMPLATE/BUG_REPORT.md

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2021-02-07 15:05:16 -06:00
Nikita Titov 84b519b77c
[ci] encode token in the same way as e-mail address for RHub (#3920)
* Update r_solaris.yml

* Update run_rhub_solaris_checks.R

* Update run_rhub_solaris_checks.R

* fix lint
2021-02-07 11:40:08 -06:00
Nikita Titov e056237b22
[ci] update e-mail and token for R Hub builds (#3917)
* Update r_solaris.yml

* Update run_rhub_solaris_checks.R

* Update run_rhub_solaris_checks.R

* Update run_rhub_solaris_checks.R
2021-02-07 16:35:20 +03:00
Nikita Titov ffebc43fea
[ci][R-package] run R CRAN checks on Solaris by optional workflow (#3913)
* run R CRAN checks on Solaris by optional workflow

* Update triggering_comments.yml

* Update r_solaris.yml

* Update optional_checks.yml

* Update triggering_comments.yml

* Update run_rhub_solaris_checks.R

* Update r_solaris.yml

* Update run_rhub_solaris_checks.R

* Update r_solaris.yml

* simplify code

* fix lint and address review comments
2021-02-07 03:16:44 +03:00
Nikita Titov 08c68c917b
Rename linkchecker job (#3903) 2021-02-03 10:43:39 -06:00
Nikita Titov 56fc036def
[ci] install Linkchecker only for check-links job (#3893)
* Update linkchecker.yml

* Update test.sh
2021-02-03 00:19:59 +03:00
James Lamb 1c18ad32e9
[ci] move link checking to a cron job (#3890)
* [ci] move link checking to a cron job

* run once to register

* set PYTHON_VERSION

* actually build docs

* uncomment

* remove stuff

* Update docs/.linkcheckerrc

* condense

* remove PR triggers again

* Update .github/workflows/linkchecker.yml

* move TASK
2021-02-02 23:31:00 +03:00
Nikita Titov 0c71be74b1
added compiler in CUDA job name (#3888) 2021-02-01 08:53:35 -06:00
Nikita Titov b8cfaf61a7
[CUDA] added support for Clang (#3886) 2021-02-01 14:57:47 +03:00
Nikita Titov be2fe2f554
[python] Start supporting Python 3.9 (#3693)
* start supporting Python 3.9

* Update .vsts-ci.yml

* Update .vsts-ci.yml

* Update .appveyor.yml

* Update .vsts-ci.yml

* Update .appveyor.yml

* fixed conflicts

* continue
2021-01-31 18:18:06 +03:00
Nikita Titov 0c42cb4075
[CUDA] Support CUDA 9 and test different CUDA versions at CI (#3880)
* test different CUDA versions

* Update cuda.yml

* Update cuda.yml

* Update setup.sh

* Update setup.sh

* Update cuda.yml

* Update cuda.yml

* Update setup.sh

* Update setup.sh

* Update setup.sh

* Update setup.sh

* Update cuda.yml

* Update cuda.yml

* Update cuda.yml

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update cuda.yml

* Update cuda.yml

* Update cuda.yml

* Update CMakeLists.txt

* specify CUDA version in workflow job name
2021-01-31 17:28:14 +03:00
Nikita Titov c4b51317f8
[ci] improve and run CUDA jobs for every commit and PR (#3825)
* Update setup.sh

* Update cuda.yml

* Update cuda.yml

* Update README.md

* Update cuda.yml

* Update cuda.yml

* Update cuda.yml

* Update setup.sh

* Update setup.sh

* Update setup.sh

* Update cuda.yml

* Update cuda.yml

* Update cuda.yml

* Update cuda.yml

* Update cuda.yml

* Update cuda.yml

* Update cuda.yml
2021-01-28 14:26:52 +03:00
Nikita Titov 5a4fec6d11
[ci] improve optional checks (#3826) 2021-01-24 04:48:28 +03:00
Nikita Titov 53639f4a89
[ci] Slightly optimize optional workflows checks (#3762)
* Update optional_checks.yml

* Update get_workflow_status.py
2021-01-15 09:14:14 -06:00
Nikita Titov a15a37046f
Update CUDA treelearner according to changes introduced for linear trees (#3750)
* Update cuda_tree_learner.cpp

* Update cuda_tree_learner.h

* Update cuda.yml
2021-01-15 16:20:32 +03:00
Nikita Titov f997a0692c
[ci] improve experience with optional GitHub workflows (#3740)
* improve experience with optional GitHub workflows

* Update README.md

* Update r_artifacts.yml

* Update optional_checks.yml

* continue

* Update triggering_comments.yml

* Update README.md

* Update r_artifacts.yml

* Update r_artifacts.yml

* Update r_artifacts.yml

* Update r_valgrind.yml

* Update r_artifacts.yml

* Update r_valgrind.yml

* Update r_valgrind.yml

* Update r_valgrind.yml

* add docstrings to fix lint

* better formatting for multi-line commands
2021-01-13 21:53:19 +03:00
James Lamb c7c4e084cd
[ci] move Python Mac jobs from Travis to GitHub Actions (#3745)
* [ci] move Python Mac jobs from Travis to GitHub Actions

* alphabetize

* fix workflow

* fix name

* fix os

* new workflow

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* changes from code review

* swap compilers

* swap compilers back

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* Update .github/workflows/python_package.yml

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2021-01-10 17:38:39 -06:00
James Lamb eb9bbfb327
[ci] Move check-docs and lint jobs off Travis (#3726)
* [ci] Move check-docs and lint jobs off Travis

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* try moving check-docs into a containerized job

* add install flag and README badge

* trying to find the error

* ignore pipefail

* remove -e

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* more changes

* additional changes

* Update .github/workflows/static_analysis.yml

* Update README.md

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* move constants

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2021-01-07 20:53:38 +03:00
Nikita Titov 5d79ff20d1
[ci] remove flaky MinGW job for R (#3723)
* comment out flaky MinGW job for R

* remove instead of comment out
2021-01-04 13:27:47 -06:00
Jan Stiborek d90a16d520
[python] [dask] add initial dask integration (#3515)
* migrated implementation from dask/dask-lightgbm

* relaxed tests

* tests skipped in case that MPI is used

* fixed python 2.7 import + tests disabled on windows

* python < 3.6 is not supported in tests

* tests enabled only for linux

* tests disabled for mpi interface

* dask version pinned to >= 2.0

* added @jameslamb as code owner

* added missing pandas dependency

* code refactoring, removed code duplication - lightgbm.dask.LGBMClassifier.fit is the same as lightgbm.dask.LGBMRegressor.fit

* fixed refactoring

* code deduplication - fit method moved into mixin class

* fixed CODEOWNERS

* removed unnecessary import

* skip the module execution on python < 3.6 and on platform different than linux.

* removed skip for python < 3.6

* review comments

* removed noqa, renamed API classes, renamed local variables
2020-12-22 17:24:46 -06:00
James Lamb 0a9bd66214
[ci] remove unnecessary environment variables in R-package CI (#3602) 2020-11-27 14:38:13 +03:00
James Lamb c5d9d2436b
[ci] test 32-bit R in CI (#3588)
* [ci] test 32-bit R in CI

* add R 3.6 Windows CRAN job

* add tests
2020-11-23 11:38:24 -06:00
James Lamb 1ee7c2927e
[ci] Fix missing git install in R artifact job (fixes #3567) (#3587) 2020-11-22 04:37:24 +03:00
James Lamb 34187a86fa
[ci] remove conda from R CI jobs (#3573)
* [ci] always use latest conda version on GitHub Actions

* try new use-conda version

* just remove conda

* skip conda even more
2020-11-18 00:33:20 +03:00
Nikita Titov e9f51698eb
[ci] fix CUDA CI builds (#3549) 2020-11-10 23:35:14 +03:00
James Lamb e93fd33313
[ci] simplify R CI scripts (#3535)
* [ci] simplify R CI scripts

* update GitHub Actions workflow
2020-11-09 00:54:09 +03:00
James Lamb 5dbd1df4b6
[ci] upgrade GitHub Actions third-party actions to newest versions (#3524)
* [ci] upgrade GitHub Actions third-party actions to newest versions

* add git to sanitizers container

* install git before checkout

* Update .github/workflows/r_package.yml

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-11-06 06:43:16 +03:00
James Lamb 88a7344c5d
[ci] automate building CRAN package (#3497)
* [ci] automate building CRAN package

* add workflow for building CRAN package

* remove newlines

* add to R README

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* add timeout

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-10-30 12:18:40 -05:00