ctransformers: GLIBC_2.29' not found
I am using the Linux system with GPU and installed ctransformers-0.2.14 using pip. It installed all fine. But now when I try to run the GGML model quantized by @TheBloke (TheBloke/upstage-llama-30b-instruct-2048-GGML), I am getting the following error.
In fact, I run any model, I get the following error. I have CUDA 12.2.
from ctransformers import AutoModelForCausalLM
llm = AutoModelForCausalLM.from_pretrained('TheBloke/upstage-llama-30b-instruct-2048-GGML', model_type='llama')
print(llm('AI is going to'))
ERROR:
OSError: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /home/ec2-user/.conda/envs/summr/lib/python3.10/site-packages/ctransformers/lib/cuda/libctransformers.so)
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 12
- Comments: 22 (1 by maintainers)
I did actually, just rn
` # glibc error
`
Can you please share the OS version. Also please run the following command and share its output:
If you are running it on an EC2 instance, please share the instance type and AMI name. It looks related to https://repost.aws/questions/QUrXOioL46RcCnFGyELJWKLw/glibc-2-27-on-amazon-linux-2 where Amazon Linux 2 instances use older glibc versions. Based on the answers in above post, using Amazon Linux 2023 should solve this issue. If you would like to use it on your current system, you can try building it from source:
@thistleknot I am getting the same error - were you able to resolve this issue?
@vishnua2j Try with this command “pip install ctransformers --no-binary ctransformers --no-cache-dir” it may solve your problem.
I’m not the maintainer, I was merely trying to help.
On Mon, Oct 2, 2023 at 5:55 PM Adam Klein @.***> wrote:
I am facing the same error