julia> using Transformers.Layers
ERROR: UndefVarError: Layers not defined
Stacktrace:
[1] macro expansion
@ ~/.julia/packages/CUDA/BbliS/src/initialization.jl:52 [inlined]
[2] top-level scope
@ ~/.julia/packages/Metal/X47vU/src/initialization.jl:33
I would recommend starting a new thread on this, and make sure you follow the usual structure from
so that people can actually reproduce your issue.
3 Likes
Thank you, I may do that, but my point here is that if even the most simple
examples provided for the most basic package (Transformers.jl) are not working for casual users like myself, it may be indicative of a lack of accessibility for the ‘curious’.
1 Like
Just tried – the same works for me, are you using the latest version?
6 Likes
The following code runs without errors in an empty directory, using Julia 1.9.
using Pkg
Pkg.activate(".")
Pkg.update()
Pkg.add("Transformers")
Pkg.instantiate()
using Transformers.Layers
2 Likes
maybe not
ai and non intrusive detection