# MNIST GPU CuArrays error

**URL:** <https://discourse.julialang.org/t/mnist-gpu-cuarrays-error/19695>\
**Category:** GPU\
**Created:** [January 16, 2019, 1:13pm UTC](https://discourse.julialang.org/t/mnist-gpu-cuarrays-error/19695 "2019-01-16T13:13:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [January 16, 2019, 10:30pm UTC](https://discourse.julialang.org/t/mnist-gpu-cuarrays-error/19695/3 "2019-01-16T22:30:13Z")

</div>

Try to follow this guide and ignore the bits that are windows only:

> [@I managed to make Flux.jl work with GPUs again!](https://discourse.julialang.org/t/i-managed-to-make-flux-jl-work-with-gpus-again/19386):
>
> If you look at the [model zoo for mnist mlp for Flux.jl](https://github.com/FluxML/model-zoo/blob/master/vision/mnist/mlp.jl) you may notice the line using CuArrays is commented out. Presumably, this was because the rest of the code would fail if that line was turned on. Of course, CuArrays.jl is an GPU array library to allow computations to be done on GPU. I am so excited that I got it to work that I’ve decided to write this down right now even though it’s 2am where I live (and I still got a full time of consulting work tomorrow starting at 9am T\_T). My setup W…

got the mnsit to work

---

_[View the full topic](https://discourse.julialang.org/t/mnist-gpu-cuarrays-error/19695)._
