# In Flux0.10.4 Warning: Zygote does not have CuArrays in its dependencies

**URL:** <https://discourse.julialang.org/t/in-flux0-10-4-warning-zygote-does-not-have-cuarrays-in-its-dependencies/37142>\
**Category:** Machine Learning\
**Created:** [April 7, 2020, 5:05am UTC](https://discourse.julialang.org/t/in-flux0-10-4-warning-zygote-does-not-have-cuarrays-in-its-dependencies/37142 "2020-04-07T05:05:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaynick](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jaynick](https://discourse.julialang.org/u/jaynick)\
**Post date:** [April 7, 2020, 5:05am UTC](https://discourse.julialang.org/t/in-flux0-10-4-warning-zygote-does-not-have-cuarrays-in-its-dependencies/37142/1 "2020-04-07T05:05:29Z")

</div>

from a fresh Julia1.4, adding the new Flux 0.10.4, followed by adding Zygote,  
results in a warning

> Package Zygote does not have CuArrays in its dependencies  
> …you may need to report an issue with Zygote.

Is this something to worry about?

---

<div class="post-metadata">

**Author:** ![jaynick](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jaynick](https://discourse.julialang.org/u/jaynick)\
**Post date:** [April 7, 2020, 6:15am UTC](https://discourse.julialang.org/t/in-flux0-10-4-warning-zygote-does-not-have-cuarrays-in-its-dependencies/37142/2 "2020-04-07T06:15:44Z")

</div>

In fact there is a stacktrace on the mac (which does not use cuda)

```julia
│ ArgumentError: Package Zygote does not have CuArrays in its dependencies:
│ - If you have Zygote checked out for development and have
│ added CuArrays as a dependency but haven't updated your primary
│ environment's manifest file, try `Pkg.resolve()`.
│ - Otherwise you may need to report an issue with Zygote
│ Stacktrace:
│ [1] require(::Module, ::Symbol) at ./loading.jl:905
│ [2] top-level scope at /Users/myuser/.julia/packages/Zygote/wkc82/src/lib/broadcast.jl:183
│ [3] eval at ./boot.jl:331 [inlined]
│ [4] eval at /Users/myuser/.julia/packages/Zygote/wkc82/src/Zygote.jl:1 [inlined]
│ [5] (::Zygote.var"#1769#1773")() at /Users/myuser/.julia/packages/Requires/qy6zC/src/require.jl:85
│ [6] err(::Any, ::Module, ::String) at /Users/myuser/.julia/packages/Requires/qy6zC/src/require.jl:42
│ [7] (::Zygote.var"#1768#1772")() at /Users/myuser/.julia/packages/Requires/qy6zC/src/require.jl:84
│ [8] withpath(::Any, ::String) at /Users/myuser/.julia/packages/Requires/qy6zC/src/require.jl:32
│ [9] (::Zygote.var"#1767#1771")() at /Users/myuser/.julia/packages/Requires/qy6zC/src/require.jl:83
│ [10] #invokelatest#1 at ./essentials.jl:712 [inlined]
│ [11] invokelatest at ./essentials.jl:711 [inlined]
│ [12] foreach at ./abstractarray.jl:1919 [inlined]
│ [13] loadpkg(::Base.PkgId) at /Users/myuser/.julia/packages/Requires/qy6zC/src/require.jl:22
│ [14] #invokelatest#1 at ./essentials.jl:712 [inlined]
│ [15] invokelatest at ./essentials.jl:711 [inlined]
│ [16] _tryrequire_from_serialized(::Base.PkgId, ::UInt64, ::Nothing) at ./loading.jl:715
│ [17] _require_from_serialized(::String) at ./loading.jl:743
│ [18] _require(::Base.PkgId) at ./loading.jl:1039
│ [19] require(::Base.PkgId) at ./loading.jl:927
│ [20] require(::Module, ::Symbol) at ./loading.jl:922
│ [21] eval at ./boot.jl:331 [inlined]
│ [22] repleval(::Module, ::Expr) at /Users/myuser/.julia/packages/Atom/wlPiw/src/repl.jl:209
│ [23] (::Atom.var"#228#230"{Module})() at /Users/myuser/.julia/packages/Atom/wlPiw/src/repl.jl:236
│ [24] with_logstate(::Atom.var"#228#230"{Module}, ::Base.CoreLogging.LogState) at ./logging.jl:398
│ [25] with_logger at ./logging.jl:505 [inlined]
│ [26] evalrepl(::Module, ::String) at /Users/myuser/.julia/packages/Atom/wlPiw/src/repl.jl:227
│ [27] top-level scope at /Users/myuser/.julia/packages/Atom/wlPiw/src/repl.jl:271
│ [28] eval(::Module, ::Any) at ./boot.jl:331
│ [29] eval_user_input(::Any, ::REPL.REPLBackend) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.4/REPL/src/REPL.jl:86
│ [30] macro expansion at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.4/REPL/src/REPL.jl:118 [inlined]
│ [31] (::REPL.var"#26#27"{REPL.REPLBackend})() at ./task.jl:358
└ @ Requires ~/.julia/packages/Requires/qy6zC/src/require.jl:44
```

---

<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:** [April 7, 2020, 8:03am UTC](https://discourse.julialang.org/t/in-flux0-10-4-warning-zygote-does-not-have-cuarrays-in-its-dependencies/37142/3 "2020-04-07T08:03:11Z")

</div>

The best place to go is indeed on [Issues · FluxML/Zygote.jl · GitHub](https://github.com/FluxML/Zygote.jl/issues) and open an issue. CuArrays is for GPU computing, if you don’t need it flux should work as intended for you. I think.
