Failing dependencies in example endpoints/model for image generation #2420
Replies: 2 comments
-
@PrimeTimeTran to have support for python-based backend you need to change the Line 15 in e9c28a1 |
Beta Was this translation helpful? Give feedback.
-
I have the same issue. It seems like LocalAI requires a specific version of the protobuf library, that is not installed with Brew. The problem could be with brew not correctly linking the library or with the LocalAI hardcoded version of the library. But the general problem with macOS & LocalAI is its constantly misaligned library required by localai with the library available on mac, hope that part can be improved in localai. |
Beta Was this translation helpful? Give feedback.
-
LocalAI version:
Not sure where to find. Please specify and I'll update
Environment, CPU architecture, OS, and Version:
Describe the bug
After running the project with Docker from the AIO image & installing the dreamshaper model I cannot generate images.
To Reproduce
Clone repo
Run docker compose build
Run docker compose up
Open web app & install the image generation model
Test model/endpoint
Expected behavior
I'm expecting it to succeed like the image generation for the "standard" model does...? Apologize if that's not the architecture/name. I'm new to AI/ML. Long story short the one image generation succeeds but the installed model fails.
Logs
The error is that the env doesn't seem to recognize the requirements.txt. I troubleshot it for a while but couldn't get to the bottom of it. I tried to go into the directory
./backend/python/diffusers/backend.py
and installing them locally then savings to requirements.txt but this didn't work after rebuilding the image.Additional context
The error is that the env doesn't seem to recognize the requirements.txt. I troubleshot it for a while but couldn't get to the bottom of it. I tried to go into the directory
./backend/python/diffusers/backend.py
and installing them locally then savings to requirements.txt but this didn't work after rebuilding the image.I then tried to run the project locally skipping Docker altogether but ran into the issue mentioned here
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions