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

OSError: /lib64/libm.so.6: version `GLIBC_2.29' not found #41

Open
Karthik1611 opened this issue Jun 28, 2023 · 2 comments
Open

OSError: /lib64/libm.so.6: version `GLIBC_2.29' not found #41

Karthik1611 opened this issue Jun 28, 2023 · 2 comments

Comments

@Karthik1611
Copy link

Hi

I am trying to use ctransformers to load the falcon-40b ggml model and I get the following error

OSError: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /home/ec2-user/anaconda3/envs/amazonei_pytorch_latest_p37/lib/python3.7/site-packages/ctransformers/lib/avx2/libctransformers.so)

I am using an AWS Sagemaker notebook. I am new to this, please help in resolving this issue

@Ananderz
Copy link

Ananderz commented Jul 8, 2023

I believe you still have the model parameter set to Llama instead of falcon in your configuration file. I recognize this error and I believe I fixed it in that way!

@marella
Copy link
Owner

marella commented Jul 29, 2023

This looks related to #58 (comment)
I'm guessing AWS Sagemaker notebook instance is using Amazon Linux 2 which uses old glibc version. You can try building it from source:

pip uninstall ctransformers --yes # uninstall if already installed
pip install ctransformers --no-binary ctransformers

If you need GPU support install using:

CT_CUBLAS=1 pip install ctransformers --no-binary ctransformers

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

3 participants