Closed DavidGOrtega closed 6 months ago
it seems to be a lack of memory, if you provide more information, maybe you could get help, also it seems that you have not compiled grpc backend. https://localai.io/basics/build/.
to install golang in the local app root folder you can use asdf,
https://asdf-vm.com/guide/getting-started.html
then
asdf install golang 1.21.7
asdf local golang 1.21.7
then compile the backend before to run the model, it is possible that you also need other dependencies, it depends on your system and probably update docker to the latest version
@olariuromeo thanks for the reply.
Does this helps to bring some light?
I understand that you're experiencing issues with the LocalAI docker image in your local environment. From the information you've provided, it seems like the main error you're encountering is related to an "Illegal instruction" signal 4, which indicates a problem with the CPU instruction set not being supported. This is more likely to happen on ARM-based systems, like the M1 chip you mentioned.
Here are a few things you can try to resolve the issue:
If none of the above steps resolve the issue, please provide more details about the specific model you're trying to use and any additional error messages you encounter. This will help in further troubleshooting the problem.
Remember that this is an experiment by @mudler, and though I'm designed to provide assistance, I may not always have the perfect solution. In such cases, please open an issue on the LocalAI GitHub repository for further assistance.
LocalAI version: docker image latest-aio-cpu I assume v2.11.0
Environment, CPU architecture, OS, and Version: Macos 13.3.6 M1
Describe the bug Not a single api works. Always throw the error
Reproduce
Logs In logs I can see also a possible error