tweaks
This commit is contained in:
parent
aa8f79f10c
commit
1490d87d83
@ -6,8 +6,6 @@
|
|||||||
|
|
||||||
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.
|
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
|
||||||
julia> Pkg.add("Flux")
|
julia> Pkg.add("Flux")
|
||||||
```
|
```
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
# GPU Support
|
# 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.
|
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.
|
For example, we can use `CuArrays` (with the `cu` converter) to run our [basic example](models/basics.md) on an NVIDIA GPU.
|
||||||
|
|
||||||
|
(Note that you need to build Julia 0.6 from source and have CUDA available to use CuArrays – please see the [CUDAnative.jl](https://github.com/JuliaGPU/CUDAnative.jl) instructions for more details.)
|
||||||
|
|
||||||
```julia
|
```julia
|
||||||
using CuArrays
|
using CuArrays
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user