Philip Hyunsu Cho
5f3c811e84
[CI] Assign larger /dev/shm to NCCL ( #5966 )
...
* [CI] Assign larger /dev/shm to NCCL
* Use 10.2 artifact to run multi-GPU Python tests
* Add CUDA 10.0 -> 11.0 cross-version test; remove CUDA 10.0 target
2020-07-31 10:05:04 -07:00
Philip Hyunsu Cho
3fcfaad577
Add CMake flag to log C API invocations, to aid debugging ( #5925 )
...
* Add CMake flag to log C API invocations, to aid debugging
* Remove unnecessary parentheses
2020-07-30 19:24:28 -07:00
James Bourbeau
3b88bc948f
Update XGBoost + Dask overview documentation ( #5961 )
...
* Add imports to code snippet
* Better writing.
2020-07-31 09:58:50 +08:00
Jiaming Yuan
70903c872f
Force colored output for ninja build. ( #5959 )
2020-07-30 20:48:03 +08:00
boxdot
d268a2a463
Thread-safe prediction by making the prediction cache thread-local. ( #5853 )
...
Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>
2020-07-30 12:33:50 +08:00
Jiaming Yuan
fa3715f584
[Dask] Asyncio support. ( #5862 )
2020-07-30 06:23:58 +08:00
Jiaming Yuan
e4a273e1da
Fix evaluate root split. ( #5948 )
2020-07-29 19:33:29 +08:00
Philip Hyunsu Cho
071e10c1d1
[CI] Fix broken Docker container 'cpu' ( #5956 )
2020-07-29 04:29:57 -07:00
Jiaming Yuan
f5fdcbe194
Disable feature validation on sklearn predict prob. ( #5953 )
...
* Fix issue when scikit learn interface receives transformed inputs.
2020-07-29 19:26:44 +08:00
Jiaming Yuan
18349a7ccf
[Breaking] Fix custom metric for multi output. ( #5954 )
...
* Set output margin to true for custom metric. This fixes only R and Python.
2020-07-29 19:25:27 +08:00
Jiaming Yuan
75b8c22b0b
Fix prediction heuristic ( #5955 )
...
* Relax check for prediction.
* Relax test in spark test.
* Add tests in C++.
2020-07-29 19:24:07 +08:00
Philip Hyunsu Cho
5879acde9a
[CI] Improve R linter script ( #5944 )
...
* [CI] Move lint to a separate script
* [CI] Improved lintr launcher
* Add lintr as a separate action
* Add custom parsing logic to print out logs
* Fix lintr issues in demos
* Run R demos
* Fix CRAN checks
* Install XGBoost into R env before running lintr
* Install devtools (needed to run demos)
2020-07-27 00:55:35 -07:00
Bobby Wang
8943eb4314
[BLOCKING] [jvm-packages] add gpu_hist and enable gpu scheduling ( #5171 )
...
* [jvm-packages] add gpu_hist tree method
* change updater hist to grow_quantile_histmaker
* add gpu scheduling
* pass correct parameters to xgboost library
* remove debug info
* add use.cuda for pom
* add CI for gpu_hist for jvm
* add gpu unit tests
* use gpu node to build jvm
* use nvidia-docker
* Add CLI interface to create_jni.py using argparse
Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>
2020-07-26 21:53:24 -07:00
Philip Hyunsu Cho
6347fa1c2e
[R] Enable weighted learning to rank ( #5945 )
...
* [R] enable weighted learning to rank
* Add R unit test for ranking
* Fix lint
2020-07-26 21:10:36 -07:00
Philip Hyunsu Cho
ace7fd328b
[R] Add a compatibility layer to load Booster object from an old RDS file ( #5940 )
...
* [R] Add a compatibility layer to load Booster from an old RDS
* Modify QuantileHistMaker::LoadConfig() to be backward compatible with 1.1.x
* Add a big warning about compatibility in QuantileHistMaker::LoadConfig()
* Add testing suite
* Discourage use of saveRDS() in CRAN doc
2020-07-26 00:06:49 -07:00
Jiaming Yuan
40361043ae
[BLOCKING] Remove to_string. ( #5934 )
2020-07-26 10:21:26 +08:00
Philip Hyunsu Cho
12110c900e
[CI] Make Python model compatibility test runnable locally ( #5941 )
2020-07-25 16:58:02 -07:00
Philip Hyunsu Cho
487ab0ce73
[BLOCKING] Handle empty rows in data iterators correctly ( #5929 )
...
* [jvm-packages] Handle empty rows in data iterators correctly
* Fix clang-tidy error
* last empty row
* Add comments [skip ci]
Co-authored-by: Nan Zhu <nanzhu@uber.com>
2020-07-25 13:46:19 -07:00
Jiaming Yuan
a4de2f68e4
Use cudaOccupancyMaxPotentialBlockSize to calculate the block size. ( #5926 )
2020-07-23 14:24:42 +08:00
Jiaming Yuan
fbfbd525d8
Cache dependencies on Github Action. ( #5928 )
2020-07-23 14:00:19 +08:00
Philip Hyunsu Cho
4af857f95d
Add explicit template specialization for portability ( #5921 )
...
* Add explicit template specializations
* Adding Specialization for FileAdapterBatch
2020-07-22 12:31:17 -07:00
Jiaming Yuan
bc1d3ee230
Fix r early stop with custom objective. ( #5923 )
...
* Specify `ntreelimit`.
2020-07-23 03:28:17 +08:00
Jiaming Yuan
30363d9c35
Remove R and JVM from appveyor. ( #5922 )
2020-07-23 03:26:48 +08:00
Jiaming Yuan
66cc1e02aa
Setup github action. ( #5917 )
2020-07-22 15:05:25 +08:00
Philip Hyunsu Cho
627cf41a60
Add option to enable all compiler warnings in GCC/Clang ( #5897 )
...
* Add option to enable all compiler warnings in GCC/Clang
* Fix -Wall for CUDA sources
* Make -Wall private req for xgboost-r
2020-07-21 23:34:03 -07:00
Jiaming Yuan
9b688aca3b
Fix mingw build with R. ( #5918 )
2020-07-22 02:56:49 +08:00
Philip Hyunsu Cho
8d7702766a
[Doc] Document new objectives and metrics available on GPUs ( #5909 )
2020-07-21 02:10:59 -07:00
Jiaming Yuan
03fb98fbde
Fix typo in CI. [skip ci] ( #5919 )
2020-07-21 14:25:27 +08:00
Jiaming Yuan
8b1afce316
Add Github Action for R. ( #5911 )
...
* Fix lintr errors.
2020-07-20 19:23:36 +08:00
Andy Adinets
b3d2e7644a
Support building XGBoost with CUDA 11 ( #5808 )
...
* Change serialization test.
* Add CUDA 11 tests on Linux CI.
Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>
2020-07-20 07:58:41 +08:00
Philip Hyunsu Cho
ac9136ee49
Further improvements and savings in Jenkins pipeline ( #5904 )
...
* Publish artifacts only on the master and release branches
* Build CUDA only for Compute Capability 7.5 when building PRs
* Run all Windows jobs in a single worker image
* Build nightly XGBoost4J SNAPSHOT JARs with Scala 2.12 only
* Show skipped Python tests on Windows
* Make Graphviz optional for Python tests
* Add back C++ tests
* Unstash xgboost_cpp_tests
* Fix label to CUDA 10.1
* Install cuPy for CUDA 10.1
* Install jsonschema
* Address reviewer's feedback
2020-07-18 03:30:40 -07:00
Jiaming Yuan
6c0c87216f
Fix Windows 2016 build. ( #5902 )
2020-07-18 05:50:17 +08:00
Philip Hyunsu Cho
71b0528a2f
GPU implementation of AFT survival objective and metric ( #5714 )
...
* Add interval accuracy
* De-virtualize AFT functions
* Lint
* Refactor AFT metric using GPU-CPU reducer
* Fix R build
* Fix build on Windows
* Fix copyright header
* Clang-tidy
* Fix crashing demo
* Fix typos in comment; explain GPU ID
* Remove unnecessary #include
* Add C++ test for interval accuracy
* Fix a bug in accuracy metric: use log pred
* Refactor AFT objective using GPU-CPU Transform
* Lint
* Fix lint
* Use Ninja to speed up build
* Use time, not /usr/bin/time
* Add cpu_build worker class, with concurrency = 1
* Use concurrency = 1 only for CUDA build
* concurrency = 1 for clang-tidy
* Address reviewer's feedback
* Update link to AFT paper
2020-07-17 01:18:13 -07:00
Jiaming Yuan
7c2686146e
Dask device dmatrix ( #5901 )
...
* Fix softprob with empty dmatrix.
2020-07-17 13:17:43 +08:00
Jiaming Yuan
e471056ec4
Fix sketch size calculation. ( #5898 )
2020-07-17 08:33:16 +08:00
Bobby Wang
730866a7bc
[CI] update spark version to 3.0.0 ( #5890 )
...
* [CI] update spark version to 3.0.0
* Update Dockerfile.jvm_cross
Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>
2020-07-16 00:23:44 -07:00
Jiaming Yuan
029a8b533f
Simplify the data backends. ( #5893 )
2020-07-16 15:17:31 +08:00
Philip Hyunsu Cho
7aee0e51ed
Fix R package build with CMake 3.13 ( #5895 )
...
* Fix R package build with CMake 3.13
* Require OpenMP for xgboost-r target
2020-07-15 20:22:11 -07:00
Philip Hyunsu Cho
3c40f4a7f5
[CI] Reduce load on Windows CI pipeline ( #5892 )
2020-07-14 18:47:05 -07:00
Jiaming Yuan
3cae287dea
Fix NDK Build. ( #5886 )
...
* Explicit cast for slice.
2020-07-14 18:34:19 +08:00
Alexander Gugel
970b4b3fa2
Add XGBoosterGetNumFeature ( #5856 )
...
- add GetNumFeature to Learner
- add XGBoosterGetNumFeature to C API
- update c-api-demo accordingly
2020-07-13 23:25:17 -07:00
Philip Hyunsu Cho
e0c179c7cc
[CI] Enforce daily budget in Jenkins CI ( #5884 )
...
* [CI] Throttle Jenkins CI
* Don't use Jenkins master instance
2020-07-13 21:51:11 -07:00
Jiaming Yuan
dd445af56e
Cleanup on device sketch. ( #5874 )
...
* Remove old functions.
* Merge weighted and un-weighted into a common interface.
2020-07-14 10:15:54 +08:00
Bobby Wang
9f85e92602
[jvm-packages] update spark dependency to 3.0.0 ( #5836 )
2020-07-12 20:58:30 -07:00
Philip Hyunsu Cho
23e2c6ec91
Upgrade Rabit ( #5876 )
2020-07-09 16:18:33 -07:00
Zhang Zhang
1813804e36
Add new parameter singlePrecisionHistogram to xgboost4j-spark ( #5811 )
...
Expose the existing 'singlePrecisionHistogram' param to the Spark layer.
2020-07-08 16:29:35 -07:00
Philip Hyunsu Cho
0d411b0397
[CI] Simplify CMake build with modern CMake techniques ( #5871 )
...
* [CI] Simplify CMake build
* Make sure that plugins can be built
* [CI] Install lz4 on Mac
2020-07-08 04:23:24 -07:00
Philip Hyunsu Cho
22a31b1faa
[Doc] Document that CUDA 10.0 is required [skip ci] ( #5872 )
2020-07-07 18:55:19 -07:00
Rong Ou
06320729d4
fix device sketch with weights in external memory mode ( #5870 )
2020-07-08 08:44:07 +08:00
Jiaming Yuan
d0a29c3135
Remove print. ( #5867 )
2020-07-08 04:12:14 +08:00