Skip to content

Commit

Permalink
Mention gpu_hist in readme (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yard1 authored Feb 22, 2022
1 parent dbf4308 commit fc82d0a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,9 @@ the `num_actors` argument.
### Multi GPU training
XGBoost-Ray enables multi GPU training. The XGBoost core backend
will automatically leverage NCCL2 for cross-device communication.
All you have to do is to start one actor per GPU.
All you have to do is to start one actor per GPU and set XGBoost's
`tree_method` to a GPU-compatible option, eg. `gpu_hist` (see XGBoost
documentation for more details.)

For instance, if you have 2 machines with 4 GPUs each, you will want
to start 8 remote actors, and set `gpus_per_actor=1`. There is usually
Expand Down

0 comments on commit fc82d0a

Please sign in to comment.