qdrant / fastembed

Fast, Accurate, Lightweight Python library to make State of the Art Embedding
https://qdrant.github.io/fastembed/
Apache License 2.0
1.53k stars 110 forks source link

In AWS Lambda "Unable to import module 'app': /lib64/libm.so.6: version `GLIBC_2.27' not found" #314

Open Karthickrajan-L opened 3 months ago

Karthickrajan-L commented 3 months ago

I created a python package from a ubuntu machine with "ldd (Ubuntu GLIBC 2.27-3ubuntu1.5) 2.27" and created a layer in AWS Lambda and attached the same with Lambda function with runtime python 3.10. When I try to trigger a request I'm getting below issue.

"errorMessage": "Unable to import module 'controller.app': /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /opt/python/lib/python3.10/site-packages/onnxruntime/capi/onnxruntime_pybind11_state.cpython-310-x86_64-linux-gnu.so)"