CudaRBMs not defined in CUDAExt
I can't compile CUDAExt. I get this error prompt:
```
Error: Error during loading of extension CUDAExt of RestrictedBoltzmannMachines, use `Base.retry_load_extensions()` to retry.
│ exception =
│ 1-element ExceptionStack:
│ The following 1 direct dependency failed to precompile:
│
│ CUDAExt
│
│ Failed to precompile CUDAExt [80047110-a3cd-5cd7-a6b0-13f245c6c4dc] to "/home/javier/.julia/compiled/v1.11/CUDAExt/jl_seEoBI".
│ ERROR: LoadError: UndefVarError: `CudaRBMs` not defined in `CUDAExt`
│ Stacktrace:
│ [1] top-level scope
│ @ ~/.julia/packages/RestrictedBoltzmannMachines/YwpI2/ext/CUDAExt.jl:46
│ [2] include
│ @ ./Base.jl:557 [inlined]
│ [3] 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, UInt128}}, source::Nothing)
│ @ Base ./loading.jl:2881
│ [4] top-level scope
│ @ stdin:6
│ in expression starting at /home/javier/.julia/packages/RestrictedBoltzmannMachines/YwpI2/ext/CUDAExt.jl:1
│ in expression starting at stdin:
└ @ Base loading.jl:1550
```
Not a blocker for what I'm doing though! Code still runs!
2 条评论