-
Notifications
You must be signed in to change notification settings - Fork 141
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
basic lib doesn't work with Ampere ARM processors #11
Comments
Hi, for ARM processors it has to be built from source as precompiled libs are not available #9 (comment): git clone --recurse-submodules https://github.com/marella/ctransformers
cd ctransformers
./scripts/build.sh The compiled binary will be located at llm = AutoModelForCausalLM.from_pretrained(..., lib='/path/to/ctransformers/build/lib/libctransformers.so') |
It worked! Thanks for the help ^^ |
Thanks it's working |
I'm using GitHub Actions to build binaries but it doesn't support ARM processors currently. pip install ctransformers --no-binary ctransformers |
@marella thanks |
Hi, just stumbled on this thread trying to get ctransformers to work on an RPi4. Quick notes:
Overall love the library! 👍 |
As the title suggest, if I try to set lib='basic' I get the following error:
/home/ubuntu/.local/lib/python3.10/site-packages/ctransformers/lib/basic/libctransformers.so: cannot open shared object file: No such file or directory
If I try to directly run libctransformers.so I get this error:
cannot execute binary file: Exec format error
The text was updated successfully, but these errors were encountered: