Skip to content

Commit

Permalink
Add note about loading CUDA.jl to the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion committed Oct 5, 2023
1 parent 8a42cef commit 3a3fc7f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ m = fit_evotree(config, dtrain; target_name="y", fnames=["x1", "x3"]);

### GPU Acceleration

EvoTrees supports training and inference on Nvidia GPU's with [CUDA.jl](https://github.com/JuliaGPU/CUDA.jl).
Note that on Julia ≥ 1.9 CUDA support is only enabled when CUDA.jl is installed and loaded, by another package or explicitly with e.g.
```julia
using CUDA
```

If running on a CUDA enabled machine, training and inference on GPU can be triggered through the `device` kwarg:

```julia
Expand Down

0 comments on commit 3a3fc7f

Please sign in to comment.