Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LoadError: Failed to precompile Knet [1902f260-5fb4-5aff-8c31-6271790ab950] to my julia directory #665

Open
JuanVargas opened this issue Aug 11, 2021 · 3 comments

Comments

@JuanVargas
Copy link

Hi, I am starting to use Knet in Julia version 1.6.2. After starting Julia, I enter:

Pkg.add("Knet"); using Knet

I get

✗ Knet
2 dependencies successfully precompiled in 16 seconds (243 already precompiled)
1 dependency errored. To see a full report either run import Pkg; Pkg.precompile() or load the package

LoadError: LoadError: LoadError: UndefVarError: cudnnRNNTempSpaceSizes not defined

Is there a fix to this problem??

@denizyuret
Copy link
Owner

denizyuret commented Aug 12, 2021 via email

@hiiroo
Copy link

hiiroo commented Aug 23, 2021

I am getting a similar error. I am using macOS 11.5.1 with no Nvidia gpus.

WARNING: could not import CUDNN.cudnnTensorDescriptor into CUDNN
WARNING: could not import CUDNN.cudnnFilterDescriptor into CUDNN
WARNING: could not import CUDNN.cudnnActivationForwardAD into CUDNN
WARNING: could not import CUDNN.cudnnSoftmaxForwardAD into CUDNN
WARNING: could not import CUDNN.cudnnPoolingForwardAD into CUDNN
WARNING: could not import CUDNN.cudnnDropoutForwardAD into CUDNN
WARNING: could not import CUDNN.cudnnRNNForwardAD into CUDNN
ERROR: LoadError: LoadError: LoadError: UndefVarError: cudnnRNNTempSpaceSizes not defined
Stacktrace:
  [1] include(mod::Module, _path::String)
    @ Base ./Base.jl:386
  [2] include(x::String)
    @ Knet.CUDNN ~/.julia/packages/Knet/59nH1/src/cudnn/CUDNN.jl:1
  [3] top-level scope
    @ ~/.julia/packages/Knet/59nH1/src/cudnn/CUDNN.jl:10
  [4] include(mod::Module, _path::String)
    @ Base ./Base.jl:386
  [5] include(x::String)
    @ Knet ~/.julia/packages/Knet/59nH1/src/Knet.jl:1
  [6] top-level scope
    @ ~/.julia/packages/Knet/59nH1/src/Knet.jl:18
  [7] include
    @ ./Base.jl:386 [inlined]
  [8] 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:1213
  [9] top-level scope
    @ none:1
 [10] eval
    @ ./boot.jl:360 [inlined]
 [11] eval(x::Expr)
    @ Base.MainInclude ./client.jl:446
 [12] top-level scope
    @ none:1
in expression starting at /Users/x/.julia/packages/Knet/59nH1/src/cudnn/rnn.jl:4
in expression starting at /Users/x/.julia/packages/Knet/59nH1/src/cudnn/CUDNN.jl:1
in expression starting at /Users/x/.julia/packages/Knet/59nH1/src/Knet.jl:1
ERROR: Failed to precompile Knet [1902f260-5fb4-5aff-8c31-6271790ab950] to /Users/x/.julia/compiled/v1.6/Knet/jl_1gOztB.
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:33
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY)
   @ Base ./loading.jl:1360
 [3] compilecache(pkg::Base.PkgId, path::String)
   @ Base ./loading.jl:1306
 [4] _require(pkg::Base.PkgId)
   @ Base ./loading.jl:1021
 [5] require(uuidkey::Base.PkgId)
   @ Base ./loading.jl:914
 [6] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:901```

@denizyuret
Copy link
Owner

denizyuret commented Sep 1, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants