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

Transformers.jl failing to load in Julia 1.8 on Mac M1 #122

Closed
rgreilly opened this issue Dec 12, 2022 · 2 comments
Closed

Transformers.jl failing to load in Julia 1.8 on Mac M1 #122

rgreilly opened this issue Dec 12, 2022 · 2 comments

Comments

@rgreilly
Copy link

Hi,

First, many thanks for all your hardwork in setting up and supporting this repository.

I recently tried to run one of the tutorials and had a problem loading and pre-compiling Transformers.jl.

ERROR: LoadError: could not load symbol "jl_cpuidex":
dlsym(RTLD_DEFAULT, jl_cpuidex): symbol not found
Stacktrace:
  [1] has_bmi2()
    @ DoubleArrayTries ~/.julia/packages/DoubleArrayTries/3dFUo/src/succinct.jl:13
  [2] top-level scope
    @ none:1
  [3] eval(m::Module, e::Any)
    @ Core ./boot.jl:368
  [4] var"@static"(__source__::LineNumberNode, __module__::Module, ex::Any)
    @ Base ./osutils.jl:19
  [5] include(mod::Module, _path::String)
    @ Base ./Base.jl:419
  [6] include(x::String)
    @ DoubleArrayTries ~/.julia/packages/DoubleArrayTries/3dFUo/src/DoubleArrayTries.jl:1
  [7] top-level scope
    @ ~/.julia/packages/DoubleArrayTries/3dFUo/src/DoubleArrayTries.jl:10
  [8] include
    @ ./Base.jl:419 [inlined]
  [9] 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
 [10] top-level scope
    @ stdin:1

I'm using Julia 1.8.2 on a Mac Mini running macOS 13.0.1 on M1 hardware.

Many thanks for your help.

Ronan

@chengchingwen
Copy link
Owner

Hi, I don't have a M1 to test, but the error should be fixed in the new release (v0.1.25). Please update the package and try again.

@rgreilly
Copy link
Author

Hi,

The new version has fixed the problem. Many thanks for the prompt solution.

Ronan

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

2 participants