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

ImportError: /lib64/libc.so.6: version `GLIBC_2.32' not found #10517

Open
devpramod opened this issue Mar 24, 2024 · 4 comments
Open

ImportError: /lib64/libc.so.6: version `GLIBC_2.32' not found #10517

devpramod opened this issue Mar 24, 2024 · 4 comments
Assignees

Comments

@devpramod
Copy link

Following instructions from https://github.com/intel-analytics/BigDL/tree/main/python/llm/example/GPU/LLM-Finetuning/QLoRA/simple-example to set up exaple

Facing the following error:

import linear_q4_0 ImportError: /lib64/libc.so.6: version GLIBC_2.32' not found`

@Fred-cell
Copy link

upgrade the GLIC version

@qiyuangong
Copy link
Contributor

GLIBC_2.32' not found`

Hi @devpramod
This error is caused by glibc out of date. In most cases, it's due to OS out of date.

But don't upgrade glibc because it's OS and kernel-related. It may cause your system.

Please try docker container https://github.com/intel-analytics/BigDL/tree/main/docker/llm/finetune/qlora/xpu/docker. Or install glibc in conda.

@devpramod
Copy link
Author

Thanks @qiyuangong
Is it possible to install glibc through conda only?

@qiyuangong
Copy link
Contributor

Thanks @qiyuangong Is it possible to install glibc through conda only?

Yes. It's possible but still risky (it may also crash your conda env or application).
Please use the docker solution. It's much safer.

You can use this command to check your glibc version.

strings /lib64/libc.so.6 | grep GLIBC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants