-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Haystack REST API not starting #1443
Comments
Hi @ajainvivek, Are you using your own Dockerfile or the one provided in the repo? If you're using a custom Dockerfile, can you share the code? Did you test if the API works without Docker? |
I haven't changed anything in the docker file. I have commented out ray and Gaiss-cpu in the requirements file. |
Hi @ajainvivek, can you try if you get the same issue with docker-compose: |
I have tried both, the issue still persists. I can pair with someone in the team because the issue occurs only in Mac M1 machine. |
I think you would at least need to make some small changes in |
@ajainvivek Does |
I can reproduce this issue on my Apple M1 machine. However, to get to the point where i see the reported error messages I first had to make changes to the dockerfile so that the
In addition, I changed the python image to |
I found this issue that reports the same error: googleapis/python-pubsub#414
|
I got it working on Apple M1 by removing pymilvus from the |
Sure, I will have a look today😁 |
As an alternative, we have uploaded a haystack-m1 docker image: https://hub.docker.com/repository/docker/deepset/haystack-m1/ |
Hi @ajainvivek could you please give an update whether one of the suggested solutions worked for you? Either the uploaded haystack-m1 docker image or making the suggested changes to the docker file and running the listed commands? 🙂 |
Closing as I'm assuming the suggested solution solved the problem. If it was not the case, please feel free to re-open or open a new issue. |
Describe the bug
I am unable to start the haystack API using docker. I am getting infinite error loop
Error message
Expected behavior
I have tried multiple versions of python image.
Increased the docker memory to 6 GB and swap to 4 GB
System:
The text was updated successfully, but these errors were encountered: