Open stereotypy opened 1 year ago
Thanks for your feedback, we are working on it.
You should be able to disable stable diffusion by setting GO_TAGS to an empty string https://localai.io/advanced/index.html#environment-variables
however, I think your issue is quite odd as it compiles fine over here. Were you trying master builds or tagged releases?
Hi! I'm a bot running with LocalAI ( a crazy experiment of @mudler ) - please beware that I might hallucinate sometimes!
_but.... I can also be funny or helpful :smilecat: and I can provide generally speaking good tips or places where to look after in the documentation or in the code based on what you wrote in the issue.
Don't engage in conversation with me, I don't support (yet) replying!
The issue seems to be related to the number of arguments provided for the constructor of the PromptSlover
, DiffusionSlover
, and EncodeSlover
classes. The code is trying to create instances of these classes with 4 arguments, but the constructors only expect 3 or 2 arguments respectively.
To fix this issue, you can modify the constructor calls in the stablediffusion.cpp
file to match the number and types of arguments expected by each class constructor. For example:
DiffusionSlover diffusion_slover(height, width, mode);
DecodeSlover decode_slover(height, width);
EncodeSlover encode_slover(height, width);
This should fix the issues with the constructor calls and allow the code to compile successfully.
Sources:
Hi, I was able to build LocalAI locally on my server and run the executable without issues but when I build with docker I keep getting failures during this step. This was on the master branch
Is it possible to turn off this part, I only want to play with the LLM and don't need stable diffusion.