# Has GPU support changed since Flux 0.10?

**URL:** <https://discourse.julialang.org/t/has-gpu-support-changed-since-flux-0-10/31695>\
**Category:** Machine Learning\
**Tags:** flux\
**Created:** [November 30, 2019, 4:45pm UTC](https://discourse.julialang.org/t/has-gpu-support-changed-since-flux-0-10/31695 "2019-11-30T16:45:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HenriDeh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/henrideh/32/8316_2.png) [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Post date:** [November 30, 2019, 4:45pm UTC](https://discourse.julialang.org/t/has-gpu-support-changed-since-flux-0-10/31695/1 "2019-11-30T16:45:03Z")

</div>

I get an error message related to CuArrays when I import Flux

```julia
julia> using Flux
[ Info: CuArrays.jl failed to initialize and will be unavailable (set JULIA_CUDA_SILENT or JULIA_CUDA_VERBOSE to silence or expand this message)

julia> net = Dense(4,1)
Dense(4, 1)

julia> net = gpu(net)
Dense(4, 1)

julia> net.W
1×4 Array{Float32,2}:
 0.854675 -0.099462 0.313961 0.352113

```

I use Julia 1.3.0, Flux 0.10 and CuArrays 1.5.0. Everything is up to date.

---

<div class="post-metadata">

**Author:** ![vchuravy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vchuravy/32/8_2.png) [@vchuravy](https://discourse.julialang.org/u/vchuravy)\
**Post date:** [November 30, 2019, 7:11pm UTC](https://discourse.julialang.org/t/has-gpu-support-changed-since-flux-0-10/31695/2 "2019-11-30T19:11:31Z")

</div>

Yes the GPU ecosystem has been undergoing stabilisation.  
As the error message says set the environment flag `JULIA_CUDA_VERBOSE=1` to check why it was unable to initialize GPU support.

---

<div class="post-metadata">

**Author:** ![HenriDeh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/henrideh/32/8316_2.png) [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Post date:** [December 2, 2019, 10:40am UTC](https://discourse.julialang.org/t/has-gpu-support-changed-since-flux-0-10/31695/3 "2019-12-02T10:40:21Z")

</div>

I opened an issue about it. [https://github.com/FluxML/Flux.jl/issues/949](https://github.com/FluxML/Flux.jl/issues/949)
