Hui Liu
6762230d9a
namespace to reduce code
2023-10-27 10:51:32 -07:00
Hui Liu
4a4b528d54
add namespace aliases to reduce code
2023-10-27 09:11:55 -07:00
Hui Liu
79319dfd4d
format
2023-10-23 22:29:48 -07:00
Hui Liu
15421e40d9
enable ROCm on latest XGBoost
2023-10-23 11:07:08 -07:00
Dmitry Razdoburdin
ea9f09716b
Reorder if-else statements to allow using of cpu branches for sycl-devices ( #9682 )
2023-10-18 10:55:33 +08:00
Your Name
ffbbc9c968
add cuda to hip wrapper
2023-10-17 12:42:37 -07:00
Your Name
ea19555474
temp merge, disable 1 line, SetValid
2023-10-12 16:16:44 -07:00
Jiaming Yuan
8c676c889d
Remove internal use of gpu_id. ( #9568 )
2023-09-20 23:29:51 +08:00
Jiaming Yuan
ddf2e68821
Use the new DeviceOrd in the linalg module. ( #9527 )
2023-08-29 13:37:29 +08:00
Jiaming Yuan
f05294a6f2
Fix clang warnings. ( #9447 )
...
- static function in header. (which is marked as unused due to translation unit
visibility).
- Implicit copy operator is deprecated.
- Unused lambda capture.
- Moving a temporary variable prevents copy elision.
2023-08-09 15:34:45 +08:00
amdsc21
5ca7daaa13
merge latest changes
2023-06-15 21:39:14 +02:00
Rong Ou
e70810be8a
Refactor device communicator to make allreduce more flexible ( #9295 )
2023-06-14 03:53:03 +08:00
amdsc21
5f78360949
merge changes Jun092023
2023-06-09 22:41:33 +02:00
Jiaming Yuan
1fcc26a6f8
Set ndcg to default for LTR. ( #8822 )
...
- Add document.
- Add tests.
- Use `ndcg` with `topk` as default.
2023-06-09 23:31:33 +08:00
amdsc21
af8845405a
sync Jun 5
2023-06-07 02:43:21 +02:00
Jiaming Yuan
9fbde21e9d
Rework the precision metric. ( #9222 )
...
- Rework the precision metric for both CPU and GPU.
- Mention it in the document.
- Cleanup old support code for GPU ranking metric.
- Deterministic GPU implementation.
* Drop support for classification.
* type.
* use batch shape.
* lint.
* cpu build.
* cpu build.
* lint.
* Tests.
* Fix.
* Cleanup error message.
2023-06-02 20:49:43 +08:00
amdsc21
5446c501af
merge 23Mar01
2023-05-02 00:05:58 +02:00
Jiaming Yuan
e206b899ef
Rework MAP and Pairwise for LTR. ( #9075 )
2023-04-28 02:39:12 +08:00
Rong Ou
8dbe0510de
More collective aggregators ( #9060 )
2023-04-22 03:32:05 +08:00
Jiaming Yuan
b908680bec
Fix race condition in cpp metric tests. ( #9058 )
2023-04-21 05:24:10 +08:00
Rong Ou
42d100de18
Make sure metrics work with federated learning ( #9037 )
2023-04-19 15:39:11 +08:00
Rong Ou
ba9d24ff7b
Make sure metrics work with column-wise distributed training ( #9020 )
2023-04-18 03:48:23 +08:00
amdsc21
08bc4b0c0f
Merge branch 'master' into sync-condition-2023Apr11
2023-04-11 19:38:38 +02:00
Jiaming Yuan
d062a9e009
Define pair generation strategies for LTR. ( #8984 )
2023-03-30 12:00:35 +08:00
amdsc21
7ee4734d3a
rm device_helpers.hip.h from cu
2023-03-26 00:24:11 +01:00
amdsc21
e74b3bbf3c
fix macro
2023-03-25 05:17:39 +01:00
amdsc21
1dc138404a
initial merge, fix linalg.h
2023-03-25 04:48:47 +01:00
amdsc21
7fbc561e17
initial merge
2023-03-25 04:31:55 +01:00
Jiaming Yuan
151882dd26
Initial support for multi-target tree. ( #8616 )
...
* Implement multi-target for hist.
- Add new hist tree builder.
- Move data fetchers for tests.
- Dispatch function calls in gbm base on the tree type.
2023-03-22 23:49:56 +08:00
Jiaming Yuan
5891f752c8
Rework the MAP metric. ( #8931 )
...
- The new implementation is more strict as only binary labels are accepted. The previous implementation converts values greater than 1 to 1.
- Deterministic GPU. (no atomic add).
- Fix top-k handling.
- Precise definition of MAP. (There are other variants on how to handle top-k).
- Refactor GPU ranking tests.
2023-03-22 17:45:20 +08:00
Jiaming Yuan
72e8331eab
Reimplement the NDCG metric. ( #8906 )
...
- Add support for non-exp gain.
- Cache the DMatrix object to avoid re-calculating the IDCG.
- Make GPU implementation deterministic. (no atomic add)
2023-03-15 03:26:17 +08:00
amdsc21
b0dacc5a80
fix bug
2023-03-11 03:47:23 +01:00
amdsc21
f0b8c02f15
merge latest changes
2023-03-10 22:10:20 +01:00
amdsc21
c875f0425f
finished rank_metric.cu
2023-03-09 20:48:31 +01:00
amdsc21
4fd08b6c32
finished survival_metric.cu
2023-03-09 20:41:52 +01:00
amdsc21
b9d86d44d6
finish multiclass_metric.cu
2023-03-09 20:37:16 +01:00
amdsc21
a56055225a
fix auc.cu
2023-03-09 20:29:38 +01:00
amdsc21
6eba0a56ec
fix CMakeLists.txt
2023-03-09 18:57:14 +01:00
Jiaming Yuan
46dfcc7d22
Define a new ranking parameter. ( #8887 )
2023-03-09 17:46:24 +08:00
amdsc21
6fa248b75f
try elementwise_metric.cu
2023-03-08 22:42:48 +01:00
amdsc21
4c4e5af29c
port elementwise_metric.cu
2023-03-08 21:39:56 +01:00
amdsc21
ed45aa2816
Merge branch 'master' into dev-hui
2023-03-08 00:39:33 +01:00
Jiaming Yuan
f236640427
Support F order for the tensor type. ( #8872 )
...
- Add F order support for tensor and view.
- Use parameter pack for automatic type cast. (avoid excessive static cast for shape).
2023-03-08 03:27:49 +08:00
amdsc21
c51a1c9aae
rename hip.cc to hip
2023-03-07 05:39:53 +01:00
amdsc21
6039a71e6c
add hip structure
2023-03-07 02:17:19 +01:00
Jiaming Yuan
282b1729da
Specify the number of threads for parallel sort. ( #8735 )
...
* Specify the number of threads for parallel sort.
- Pass context object into argsort.
- Replace macros with inline functions.
2023-02-16 00:20:19 +08:00
Jiaming Yuan
594371e35b
Fix CPP lint. ( #8807 )
2023-02-15 20:16:35 +08:00
Jiaming Yuan
52d0230b58
Fix merge conflict. ( #8791 )
2023-02-13 23:43:42 +08:00
Jiaming Yuan
81b2ee1153
Pass DMatrix into metric for caching. ( #8790 )
2023-02-13 22:15:05 +08:00
Jiaming Yuan
31d3ec07af
Extract device algorithms. ( #8789 )
2023-02-13 20:53:53 +08:00