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

Lora: ImportError after installing #288

Closed
samwoods888 opened this issue Jan 10, 2024 · 1 comment
Closed

Lora: ImportError after installing #288

samwoods888 opened this issue Jan 10, 2024 · 1 comment

Comments

@samwoods888
Copy link

After running pip install -r requirements.txt for lora, every command, for exampe python lora.py --help, returns:

Traceback (most recent call last):
  File "FULL PATH REMOVED/mlx-examples/lora/lora.py", line 9, in <module>
    import mlx.core as mx
ImportError: dlopen(/FULL PATH REMOVED/.pyenv/versions/3.11.4/lib/python3.11/site-packages/mlx/core.cpython-311-darwin.so, 0x0002): Symbol not found: _cblas_sgemm$NEWLAPACK
  Referenced from: <8AC9CE5F-E0BC-32A1-A743-E6729024D190> /FULL PATH REMOVED/.pyenv/versions/3.11.4/lib/python3.11/site-packages/mlx/lib/libmlx.dylib (built for macOS 13.3 which is newer than running OS)
  Expected in:     <0494A450-9778-31EB-84F6-88A045586FBF> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
@awni
Copy link
Member

awni commented Jan 10, 2024

It looks like you're using an unsupported macOS (<13.5). Check ml-explore/mlx#200

I would update your OS and reinstall mlx pip install -U mlx.

@awni awni closed this as completed Jan 10, 2024
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