# Failed to precompile Flux \[587475ba-b771-5e3f-ad9e-33799f191a9c\] to ~.julia\\compiled\\v1.8\\Flux\\jl\_753A.tmp

**URL:** https://discourse.julialang.org/t/failed-to-precompile-flux-587475ba-b771-5e3f-ad9e-33799f191a9c-to-julia-compiled-v1-8-flux-jl-753a-tmp/98811
**Category:** New to Julia
**Tags:** error-message
**Created:** [May 13, 2023, 7:34pm UTC](https://discourse.julialang.org/t/failed-to-precompile-flux-587475ba-b771-5e3f-ad9e-33799f191a9c-to-julia-compiled-v1-8-flux-jl-753a-tmp/98811 "2023-05-13T19:34:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ATR](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/atr/32/46739_2.png) [@ATR](https://discourse.julialang.org/u/ATR)
#### Post date: [May 13, 2023, 7:34pm UTC](https://discourse.julialang.org/t/failed-to-precompile-flux-587475ba-b771-5e3f-ad9e-33799f191a9c-to-julia-compiled-v1-8-flux-jl-753a-tmp/98811/1 "2023-05-13T19:34:29Z")

</div>

Dear all, I got the following error when trying to compile Flux in jupyter notebook:

[Info: Precompiling Flux [587475ba-b771-5e3f-ad9e-33799f191a9c]  
ERROR: LoadError: InitError: could not load library “~.julia\artifacts\e449caf0e64b6655f74840a507d1b8084d6a2035\bin\cudnn64\_8.dll”  
The specified module could not be found.  
Stacktrace:  
[1] dlopen(s::String, flags::UInt32; throw\_error::Bool)  
@ Base.Libc.Libdl .\libdl.jl:117  
[2] dlopen(s::String, flags::UInt32)  
@ Base.Libc.Libdl .\libdl.jl:116  
[3] macro expansion  
@ ~julia\packages\JLLWrappers\QpMQW\src\products\library\_generators.jl:54 [inlined]  
[4] **init** ()  
@ CUDNN\_jll ~.julia\packages\CUDNN\_jll\npufe\src\wrappers\x86\_64-w64-mingw32-cuda+12.0.jl:15  
[5] \_include\_from\_serialized(pkg::Base.PkgId, path::String, depmods::Vector{Any})  
@ Base .\loading.jl:831  
[6] \_require\_search\_from\_serialized(pkg::Base.PkgId, sourcepath::String, build\_id::UInt64)  
@ Base .\loading.jl:1039  
[7] \_require(pkg::Base.PkgId)  
@ Base .\loading.jl:1315  
[8] \_require\_prelocked(uuidkey::Base.PkgId)  
@ Base .\loading.jl:1200  
[9] macro expansion  
@ .\loading.jl:1180 [inlined]  
[10] macro expansion  
@ .\lock.jl:223 [inlined]  
[11] require(into::Module, mod::Symbol)  
@ Base .\loading.jl:1144  
[12] include  
@ .\Base.jl:419 [inlined]  
[13] include\_package\_for\_output(pkg::Base.PkgId, input::String, depot\_path::Vector{String}, dl\_load\_path::Vector{String}, load\_path::Vector{String}, concrete\_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)  
@ Base .\loading.jl:1554  
[14] top-level scope  
@ stdin:1  
during initialization of module CUDNN\_jll  
in expression starting at ~julia\packages\cuDNN\orKDE\src\cuDNN.jl:1  
in expression starting at stdin:1  
ERROR: LoadError: Failed to precompile cuDNN [02a925ec-e4fe-4b08-9a7e-0d78e3d38ccd] to ~.julia\compiled\v1.8\cuDNN\jl\_9516.tmp.  
Stacktrace:  
[1] error(s::String)  
@ Base .\error.jl:35  
[2] compilecache(pkg::Base.PkgId, path::String, internal\_stderr::IO, internal\_stdout::IO, keep\_loaded\_modules::Bool)  
@ Base .\loading.jl:1707  
[3] compilecache  
@ .\loading.jl:1651 [inlined]  
[4] \_require(pkg::Base.PkgId)  
@ Base .\loading.jl:1337  
[5] \_require\_prelocked(uuidkey::Base.PkgId)  
@ Base .\loading.jl:1200  
[6] macro expansion  
@ .\loading.jl:1180 [inlined]  
[7] macro expansion  
@ .\lock.jl:223 [inlined]  
[8] require(into::Module, mod::Symbol)  
@ Base .\loading.jl:1144  
[9] include  
@ .\Base.jl:419 [inlined]  
[10] include\_package\_for\_output(pkg::Base.PkgId, input::String, depot\_path::Vector{String}, dl\_load\_path::Vector{String}, load\_path::Vector{String}, concrete\_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)  
@ Base .\loading.jl:1554  
[11] top-level scope  
@ stdin:1  
in expression starting at ~julia\packages\Flux\EHgZm\src\Flux.jl:1  
in expression starting at stdin:1  
Failed to precompile Flux [587475ba-b771-5e3f-ad9e-33799f191a9c] to ~.julia\compiled\v1.8\Flux\jl\_753A.tmp.

Stacktrace:  
[1] error(s::String)  
@ Base .\error.jl:35  
[2] compilecache(pkg::Base.PkgId, path::String, internal\_stderr::IO, internal\_stdout::IO, keep\_loaded\_modules::Bool)  
@ Base .\loading.jl:1707  
[3] compilecache  
@ .\loading.jl:1651 [inlined]  
[4] \_require(pkg::Base.PkgId)  
@ Base .\loading.jl:1337  
[5] \_require\_prelocked(uuidkey::Base.PkgId)  
@ Base .\loading.jl:1200  
[6] macro expansion  
@ .\loading.jl:1180 [inlined]  
[7] macro expansion  
@ .\lock.jl:223 [inlined]  
[8] require(into::Module, mod::Symbol)  
@ Base .\loading.jl:1144

But in the VS Code it works fine - I can compile the Flux for me very strange but it seems that it has something to do with Cuda (cudnn64) as per error printout,  
I am afraid that if I mess around with “General” folder in registries that I will mess something up - so was not trying to delete this folder and do the general package update, does anybody has any clue what to do in this case?  
thanks in advance,

BR
