EmbedAnything on AWS EC2 #138
Replies: 4 comments
-
Hi, We have run it on an aws instance on Ubuntu, you need to install embed-anything with Python 10, because the build is available only on Python 10, When you install it, it should show something like this: It should show it's installing package from manylinux build. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thank you for the answer. I am using python3.10 and I created the test.py file, which is a single-line Python file containing the line: It can be seen from:
|
Beta Was this translation helpful? Give feedback.
-
I created a new instance with @sonam-pankaj95 mentioned that pip should install from the |
Beta Was this translation helpful? Give feedback.
-
Hi,
Firstly, thank you for the tool.
I have installed EmbedAnything with
pip install embed_anything
. Then I tried to runimport embed_anything
and faced this error:ImportError: /usr/local/lib/python3.10/site-packages/embed_anything/embed_anything.cpython-310-x86_64-linux-gnu.so: undefined symbol: hgemm_
I tried it with Python versions 3.10.14 and 3.11.4.
Could you help me with it?
This is my full log for it:
root@x:/home/cavit/dev/EmbedAnything# python --version
Python 3.10.14
root@x:/home/cavit/dev/EmbedAnything# pip --version
pip 24.1.1 from /usr/local/lib/python3.10/site-packages/pip (python 3.10)
root@x:/home/cavit/dev/EmbedAnything# pip freeze
embed_anything==0.1.18
intel-cmplr-lib-ur==2024.2.0
intel-openmp==2024.2.0
mkl==2024.2.0
tbb==2021.13.0
root@x:/home/cavit/dev/EmbedAnything# cat test.py
import embed_anything
root@x:/home/cavit/dev/EmbedAnything# python test.py
Traceback (most recent call last):
File "/home/cavit/dev/EmbedAnything/test.py", line 1, in
import embed_anything
File "/usr/local/lib/python3.10/site-packages/embed_anything/init.py", line 2, in
from .embed_anything import *
ImportError: /usr/local/lib/python3.10/site-packages/embed_anything/embed_anything.cpython-310-x86_64-linux-gnu.so: undefined symbol: hgemm_
Beta Was this translation helpful? Give feedback.
All reactions