# Flux failing on GPU

**URL:** <https://discourse.julialang.org/t/flux-failing-on-gpu/18948>\
**Category:** Machine Learning\
**Created:** [December 23, 2018, 8:34pm UTC](https://discourse.julialang.org/t/flux-failing-on-gpu/18948 "2018-12-23T20:34:17Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![maleadt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maleadt/32/10097_2.png) [@maleadt](https://discourse.julialang.org/u/maleadt)\
**Post date:** [January 5, 2019, 3:26pm UTC](https://discourse.julialang.org/t/flux-failing-on-gpu/18948/12 "2019-01-05T15:26:44Z")

</div>

CUDAapi is responsible for detecting cuDNN, so you can go ahead and open an issue there. Please attach the output of `Pkg.build("CuArrays")` with `JULIA_DEBUG=CUDAapi` in your environment.

As a workaround, you can just hack the `ext.jl` to contain the path to `libcudnn.so` 🙂

---

_[View the full topic](https://discourse.julialang.org/t/flux-failing-on-gpu/18948)._
