Mention CUDAnative.jl's install instructions

This commit is contained in:
Kade 2018-04-19 07:48:30 -05:00 committed by Mike J Innes
parent 5faf5da171
commit aa8f79f10c
3 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,8 @@
Flux is an elegant approach to machine learning. It's a 100% pure-Julia stack, and provides lightweight abstractions on top of Julia's native GPU and AD support. Flux makes the easy things easy while remaining fully hackable.
You need to build Julia 0.6 from source and have CUDA available to use Flux with GPUs please see the [CUDAnative.jl](https://github.com/JuliaGPU/CUDAnative.jl) instructions for more details.
```julia
julia> Pkg.add("Flux")
```

View File

@ -1,5 +1,7 @@
# GPU Support
You need to build Julia 0.6 from source and have CUDA available to use Flux with GPUs please see the [CUDAnative.jl](https://github.com/JuliaGPU/CUDAnative.jl) instructions for more details.
Support for array operations on other hardware backends, like GPUs, is provided by external packages like [CuArrays](https://github.com/JuliaGPU/CuArrays.jl). Flux is agnostic to array types, so we simply need to move model weights and data to the GPU and Flux will handle it.
For example, we can use `CuArrays` (with the `cu` converter) to run our [basic example](models/basics.md) on an NVIDIA GPU.

View File

@ -14,3 +14,5 @@ Pkg.test("Flux") # Check things installed correctly
```
Start with the [basics](models/basics.md). The [model zoo](https://github.com/FluxML/model-zoo/) is also a good starting point for many common kinds of models.
See [GPU support](gpu.md) for more details on installing and using Flux with GPUs.