Closed edbock closed 9 months ago
Hey i ran in the same problem. Try running khoj with the --disable-chat-on-gpu option
khoj --anonymous-mode --disable-chat-on-gpu
That worked! Thank you very much 🙏️
@edbock thanks for raising this issue and @chrisBinder thanks for providing the mitigation! I've also pushed a fix for the issue in #611, so it doesn't fail where it did for @edbock. This was due to a change in the signature of the GPT4All.list_gpu
in the latest release of that dependency. But you'd still need to pass --disable-chat-on-gpu
if you're running on a machine without GPU
I'm trying out the local option of Khoj. I got python packages, postgres, and pgvector all installed and working correctly. Both the web and desktop interfaces work. When I query Khoj it successfully downloads the gpt4all model I chose. However, after that Khoj gives me the error:
LLModel.list_gpu() missing 1 required positional argument: 'n_ctx'
I don't have GPU on this machine. Could that have something to do with it?