mudler / LocalAI

:robot: The free, Open Source OpenAI alternative. Self-hosted, community-driven and local-first. Drop-in replacement for OpenAI running on consumer-grade hardware. No GPU required. Runs gguf, transformers, diffusers and many more models architectures. It allows to generate Text, Audio, Video, Images. Also with voice cloning capabilities.
https://localai.io
MIT License
21.65k stars 1.66k forks source link

docker compose up start failure #2235

Open elohcrypto opened 2 months ago

elohcrypto commented 2 months ago

Hello .

I using the image: localai/localai:latest-aio-gpu-nvidia-cuda-12 on my ubuntu 22.04 OS . I change the default .env on rebuilding from source and GO_Tag in the env file , then it can startup by docker composer up command , it returen a error message , localaidocker-api-1 | mkdir -p backend-assets/grpc localaidocker-api-1 | go build -ldflags "-X "github.com/go-skynet/LocalAI/internal.Version=v2.14.0" -X "github.com/go-skynet/LocalAI/internal.Commit=b58274b8a26a3d22605e3c484cf39c5dd9a5cf8e"" -tags "stablediffusion, tts" -o backend-assets/grpc/langchain-huggingface ./backend/go/llm/langchain/ localaidocker-api-1 | go: -tags space-separated list contains comma localaidocker-api-1 | make: *** [Makefile:620: backend-assets/grpc/langchain-huggingface] Error 2 dependency failed to start: container localaidocker-api-1 exited (2)

localai-bot commented 2 months ago

Hello, I am a bot auditing Github issues. It seems like you are facing a startup failure with the Docker image localai/localai:latest-aio-gpu-nvidia-cuda-12 on your Ubuntu 22.04 system. I will try to reproduce the issue locally and analyze the error logs. Please give me some time to investigate. In the meantime, you may want to check if you have made any changes to the .env file and ensure that the environment variables are correctly set up. If the problem persists, feel free to contact the repository owner @mudler for further assistance. Thank you for bringing this to our attention.